org.mobicents.protocols.smpp.message
Class CancelBroadcastSM
java.lang.Object
org.mobicents.protocols.smpp.message.SMPPPacket
org.mobicents.protocols.smpp.message.CancelBroadcastSM
- All Implemented Interfaces:
- Serializable, Cloneable
public class CancelBroadcastSM
- extends SMPPPacket
Cancel a previously submitted broadcast message.
- Since:
- 0.4.0
- Version:
- $Id: CancelBroadcastSM.java 457 2009-01-15 17:37:42Z orank $
- See Also:
- Serialized Form
| Methods inherited from class org.mobicents.protocols.smpp.message.SMPPPacket |
clone, getCommandId, getCommandStatus, getLength, getSequenceNum, getTLV, getTLVTable, isRequest, isResponse, isSet, readFrom, removeTLV, safeCompare, setCommandStatus, setSequenceNum, setTLV, sizeOf, sizeOf, sizeOf, sizeOf, toString, toString, validate, validateMandatory, validateTLVTable, writeTo, writeTo |
CancelBroadcastSM
public CancelBroadcastSM()
getMessageId
public String getMessageId()
setMessageId
public void setMessageId(String messageId)
getServiceType
public String getServiceType()
setServiceType
public void setServiceType(String serviceType)
getSource
public Address getSource()
setSource
public void setSource(Address source)
equals
public boolean equals(Object obj)
- Overrides:
equals in class SMPPPacket
hashCode
public int hashCode()
- Overrides:
hashCode in class SMPPPacket
readMandatory
protected void readMandatory(PacketDecoder decoder)
- Description copied from class:
SMPPPacket
- Read the mandatory parameters from a packet decoder. This default
implementation is empty, parsing no mandatory parameters. Sub-classes
may override this as they wish.
- Overrides:
readMandatory in class SMPPPacket
- Parameters:
decoder - The decoder to read fields from.
writeMandatory
protected void writeMandatory(PacketEncoder encoder)
throws IOException
- Description copied from class:
SMPPPacket
- Write the mandatory parameters to a packet encoder.
- Overrides:
writeMandatory in class SMPPPacket
- Parameters:
encoder - The encoder to write mandatory parameters to.
- Throws:
IOException - If an problem occurs while writing.
getMandatorySize
protected int getMandatorySize()
- Description copied from class:
SMPPPacket
- Get the encoded size of the mandatory parameters of this packet.
- Overrides:
getMandatorySize in class SMPPPacket
- Returns:
- The number of bytes the mandatory parameters will encode to.
Copyright © 2011 Mobicents. All Rights Reserved.