Version

UnsucessfulSME

public class UnsucessfulSME
Extends: java.lang.Object
UnsucessfulSME represents an unsuccessful short message entity (SME) destination used in SubmitMultiResp. It contains details about a destination address that failed message delivery and the associated SMPP error status code.
This class is used when adding entries to the list of failed destinations in SubmitMultiResp.

Constructor:

public UnsucessfulSME()
Creates an empty UnsucessfulSME instance. Fields can be filled later using setters.

public UnsucessfulSME(int errorStatusCode, Address address)
    errorStatusCode – SMPP error code associated with the delivery failure.
    address – The Address object representing the failed SME.
Creates a new UnsucessfulSME with the specified error code and destination address.

Methods:

int getErrorStatusCode() Returns the SMPP error code indicating why delivery failed.
void setErrorStatusCode(int errorStatusCode) Sets the error status code.
Address getAddress() Returns the destination SME address.
void setAddress(Address address) Sets the SME address.
void read(ByteBuf buffer)

Reads the object from binary format using a Netty buffer.

Throws UnrecoverablePduException or RecoverablePduException.

void write(ByteBuf buffer)

Serializes the object to binary format.

Throws UnrecoverablePduException or RecoverablePduException.

String toString() Returns a string representation of the object. Overrides Object.toString().

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com