|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.objectxp.msg.SmppOptionalParameter
public class SmppOptionalParameter
This class represents a SMPP TLV field. TLV's are used for providing additional parameters to SMPP PDU's.
Have a look at the SMPP Specification (available at www.smsforum.org) for more information about TLV.
| Constructor Summary | |
|---|---|
SmppOptionalParameter(int tag,
byte[] value)
Construct a new TLV. |
|
SmppOptionalParameter(int tag,
int value,
int size)
Construct a TLV using an unsigned integer value, which can be 1, 2 or 4 octets in size. |
|
SmppOptionalParameter(int tag,
java.lang.String value)
Construct a TLV using a String. |
|
| Method Summary | |
|---|---|
int |
getLength()
Returns the length of the TLV data |
int |
getTag()
Returns the Tag. |
byte[] |
getValue()
Returns the TLV value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TAG_DEST_ADDR_SUBUNIT
public static final int TAG_DEST_NETWORK_TYPE
public static final int TAG_DEST_BEARER_TYPE
public static final int TAG_DEST_TELEMATICS_ID
public static final int TAG_SOURCE_ADDR_SUBUNIT
public static final int TAG_SOURCE_NETWORK_TYPE
public static final int TAG_SOURCE_BEARER_TYPE
public static final int TAG_SOURCE_TELEMATICS_ID
public static final int TAG_QOS_TIME_TO_LIVE
public static final int TAG_PAYLOAD_TYPE
public static final int TAG_ADDITIONAL_STATUS_INFO_TEXT
public static final int TAG_RECEIPTED_MESSAGE_ID
public static final int TAG_MS_MSG_WAIT_FACILITIES
public static final int TAG_PRIVACY_INDICATOR
public static final int TAG_SOURCE_SUBADDRESS
public static final int TAG_DEST_SUBADDRESS
public static final int TAG_USER_MESSAGE_REFERENCE
public static final int TAG_USER_RESPONSE_CODE
public static final int TAG_SOURCE_PORT
public static final int TAG_DESTINATION_PORT
public static final int TAG_SAR_MSG_REF_NUM
public static final int TAG_LANGUAGE_INDICATOR
public static final int TAG_SAR_TOTAL_SEGMENTS
public static final int TAG_SAR_SEGMENT_SEQNUM
public static final int TAG_SC_INTERFACE_VERSION
public static final int TAG_CALLBACK_NUM_PRES_IND
public static final int TAG_CALLBACK_NUM_ATAG
public static final int TAG_NUMBER_OF_MESSAGES
public static final int TAG_CALLBACK_NUM
public static final int TAG_DPF_RESULT
public static final int TAG_SET_DPF
public static final int TAG_MS_AVAILABILITY_STATUS
public static final int TAG_NETWORK_ERROR_CODE
public static final int TAG_MESSAGE_PAYLOAD
public static final int TAG_DELIVERY_FAILURE_REASON
public static final int TAG_MORE_MESSAGES_TO_SEND
public static final int TAG_MESSAGE_STATE
public static final int TAG_USSD_SERVICE_OP
public static final int TAG_DISPLAY_TIME
public static final int TAG_SMS_SIGNAL
public static final int TAG_MS_VALIDITY
public static final int TAG_ALERT_ON_MESSAGE_DELIVERY
public static final int TAG_ITS_REPLY_TYPE
public static final int TAG_ITS_SESSION_INFO
| Constructor Detail |
|---|
public SmppOptionalParameter(int tag,
byte[] value)
tag - the Tagvalue - the value
public SmppOptionalParameter(int tag,
int value,
int size)
tag - the Tagvalue - the Integer value.size - the size of the integer in octets (1, 2, 4)
public SmppOptionalParameter(int tag,
java.lang.String value)
tag - the Tagvalue - the Value| Method Detail |
|---|
public int getLength()
public int getTag()
public byte[] getValue()
public java.lang.String toString()
toString in class java.lang.Object
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||