Class Unbind
- java.lang.Object
-
- com.opencloud.slee.resources.smpp.pdu.ByteData
-
- com.opencloud.slee.resources.smpp.pdu.PDU
-
- com.opencloud.slee.resources.smpp.pdu.Request
-
- com.opencloud.slee.resources.smpp.pdu.Unbind
-
- All Implemented Interfaces:
com.opencloud.util.FastSerializable
,Externalizable
,Serializable
public class Unbind extends Request
Represents UNBIND request PDU- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.resources.smpp.pdu.PDU
commandID, commandStatus, MIN_SIZE, sequenceNumber
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
createResponse(int status)
Create a response of the appropriate type.-
Methods inherited from class com.opencloud.slee.resources.smpp.pdu.PDU
addTLV, bodyEquals, bodyFromBuffer, bodyHashCode, bodySize, bodyToBuffer, bodyToString, equals, fromBuffer, fromStream, getAllTLVs, getCommandID, getCommandLength, getCommandStatus, getSequenceNumber, getTLV, hashCode, hasTLV, headerEquals, headerFromBuffer, headerHashCode, headerSize, headerToBuffer, headerToString, readExternal, setCommandID, setCommandStatus, setSequenceNumber, size, tlvEquals, tlvFromBuffer, tlvHashCode, tlvSize, tlvToBuffer, tlvToString, toBuffer, toStream, toString, writeExternal
-
Methods inherited from class com.opencloud.slee.resources.smpp.pdu.ByteData
checkCString, checkCString, checkDate, decodeUnsigned, encodeUnsigned, equalCStrings, getCString, getCString, getCStringByteArray, getCStringHashCode, isNullOrEmptyCString, printAsHex, putCString
-
-
-
-
Constructor Detail
-
Unbind
public Unbind()
-
Unbind
public Unbind(DataInput in) throws IOException
- Throws:
IOException
-
-
Method Detail
-
createResponse
public Response createResponse(int status)
Description copied from class:Request
Create a response of the appropriate type. Subclasses override to return correct type. Implementations MUST set the response sequence number to be the same as the request sequence number.- Specified by:
createResponse
in classRequest
- Parameters:
status
- the value for the responses' command_status field- Returns:
- the response corresponding to this request, or null if there is no appropriate response type (eg. outbind, alert_notification).
-
-