public abstract class BaseSm<R extends PduResponse> extends PduRequest<R>
| Modifier and Type | Field and Description |
|---|---|
protected byte |
dataCoding |
protected Address |
destAddress |
protected byte |
esmClass |
protected byte |
registeredDelivery |
protected String |
serviceType |
protected Address |
sourceAddress |
createGenericNack, createResponse, getResponseClassaddOptionalParameter, appendOptionalParameterToString, calculateAndSetCommandLength, calculateByteSizeOfOptionalParameters, findOptionalParameter, getCommandId, getCommandLength, getCommandStatus, getName, getOptionalParameter, getOptionalParameterCount, getOptionalParameters, getReferenceObject, getSequenceNumber, hasCommandLengthCalculated, hasOptionalParameter, hasSequenceNumberAssigned, isRequest, isResponse, readOptionalParameters, removeCommandLength, removeOptionalParameter, removeSequenceNumber, setCommandLength, setCommandStatus, setOptionalParameter, setReferenceObject, setSequenceNumber, toString, writeOptionalParametersprotected String serviceType
protected Address sourceAddress
protected Address destAddress
protected byte esmClass
protected byte registeredDelivery
protected byte dataCoding
public BaseSm(int commandId,
String name)
public int getShortMessageLength()
public byte[] getShortMessage()
public void setShortMessage(byte[] value)
throws SmppInvalidArgumentException
SmppInvalidArgumentExceptionpublic byte getReplaceIfPresent()
public void setReplaceIfPresent(byte value)
public byte getDataCoding()
public void setDataCoding(byte value)
public byte getDefaultMsgId()
public void setDefaultMsgId(byte value)
public byte getRegisteredDelivery()
public void setRegisteredDelivery(byte value)
public String getValidityPeriod()
public void setValidityPeriod(String value)
public String getScheduleDeliveryTime()
public void setScheduleDeliveryTime(String value)
public byte getPriority()
public void setPriority(byte value)
public byte getEsmClass()
public void setEsmClass(byte value)
public byte getProtocolId()
public void setProtocolId(byte value)
public String getServiceType()
public void setServiceType(String value)
public Address getSourceAddress()
public void setSourceAddress(Address value)
public Address getDestAddress()
public void setDestAddress(Address value)
public void readBody(org.jboss.netty.buffer.ChannelBuffer buffer)
throws UnrecoverablePduException,
RecoverablePduException
readBody in class PduUnrecoverablePduExceptionRecoverablePduExceptionpublic int calculateByteSizeOfBody()
calculateByteSizeOfBody in class Pdupublic void writeBody(org.jboss.netty.buffer.ChannelBuffer buffer)
throws UnrecoverablePduException,
RecoverablePduException
writeBody in class PduUnrecoverablePduExceptionRecoverablePduExceptionpublic void appendBodyToString(StringBuilder buffer)
appendBodyToString in class PduCopyright © 2009-2014 Cloudhopper by Twitter. All Rights Reserved.