org.jsmpp.bean
Enum OptionalParameter.Tag

java.lang.Object
  extended by java.lang.Enum<OptionalParameter.Tag>
      extended by org.jsmpp.bean.OptionalParameter.Tag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OptionalParameter.Tag>
Enclosing class:
OptionalParameter

public static enum OptionalParameter.Tag
extends java.lang.Enum<OptionalParameter.Tag>

Is all the defined SMPP Optional Parameters.

Author:
mikko.koponen, uudashr

Enum Constant Summary
ADDITIONAL_STATUS_INFO_TEXT
           
ALERT_ON_MESSAGE_DELIVERY
           
CALLBACK_NUM
           
CALLBACK_NUM_ATAG
           
CALLBACK_NUM_PRES_IND
           
DELIVERY_FAILURE_REASON
           
DEST_ADDR_SUBUNIT
           
DEST_BEARER_TYPE
           
DEST_NETWORK_TYPE
           
DEST_SUBADDRESS
           
DEST_TELEMATICS_ID
           
DESTINATION_PORT
           
DISPLAY_TIME
           
DPF_RESULT
           
ITS_REPLY_TYPE
           
ITS_SESSION_INFO
           
LANGUAGE_INDICATOR
           
MESSAGE_PAYLOAD
           
MESSAGE_STATE
           
MORE_MESSAGES_TO_SEND
           
MS_AVAILABILITY_STATUS
           
MS_MSG_WAIT_FACILITIES
           
MS_VALIDITY
           
NETWORK_ERROR_CODE
           
NUMBER_OF_MESSAGES
           
PAYLOAD_TYPE
           
PRIVACY_INDICATOR
           
QOS_TIME_TO_LIVE
           
RECEIPTED_MESSAGE_ID
           
SAR_MSG_REF_NUM
           
SAR_SEGMENT_SEQNUM
           
SAR_TOTAL_SEGMENTS
           
SC_INTERFACE_VERSION
           
SET_DPF
           
SMS_SIGNAL
           
SOURCE_ADDR_SUBUNIT
           
SOURCE_BEARER_TYPE
           
SOURCE_NETWORK_TYPE
           
SOURCE_PORT
           
SOURCE_SUBADDRESS
           
SOURCE_TELEMATICS_ID
           
USER_MESSAGE_REFERENCE
           
USER_RESPONSE_CODE
           
USSD_SERVICE_OP
           
 
Method Summary
 short code()
          Get the tag code of the OptionalParameter.Tag.
 short value()
          Deprecated. use code()
static OptionalParameter.Tag valueOf(short code)
           
static OptionalParameter.Tag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OptionalParameter.Tag[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEST_ADDR_SUBUNIT

public static final OptionalParameter.Tag DEST_ADDR_SUBUNIT

DEST_NETWORK_TYPE

public static final OptionalParameter.Tag DEST_NETWORK_TYPE

DEST_BEARER_TYPE

public static final OptionalParameter.Tag DEST_BEARER_TYPE

DEST_TELEMATICS_ID

public static final OptionalParameter.Tag DEST_TELEMATICS_ID

SOURCE_ADDR_SUBUNIT

public static final OptionalParameter.Tag SOURCE_ADDR_SUBUNIT

SOURCE_NETWORK_TYPE

public static final OptionalParameter.Tag SOURCE_NETWORK_TYPE

SOURCE_BEARER_TYPE

public static final OptionalParameter.Tag SOURCE_BEARER_TYPE

SOURCE_TELEMATICS_ID

public static final OptionalParameter.Tag SOURCE_TELEMATICS_ID

QOS_TIME_TO_LIVE

public static final OptionalParameter.Tag QOS_TIME_TO_LIVE

PAYLOAD_TYPE

public static final OptionalParameter.Tag PAYLOAD_TYPE

ADDITIONAL_STATUS_INFO_TEXT

public static final OptionalParameter.Tag ADDITIONAL_STATUS_INFO_TEXT

RECEIPTED_MESSAGE_ID

public static final OptionalParameter.Tag RECEIPTED_MESSAGE_ID

MS_MSG_WAIT_FACILITIES

public static final OptionalParameter.Tag MS_MSG_WAIT_FACILITIES

PRIVACY_INDICATOR

public static final OptionalParameter.Tag PRIVACY_INDICATOR

SOURCE_SUBADDRESS

public static final OptionalParameter.Tag SOURCE_SUBADDRESS

DEST_SUBADDRESS

public static final OptionalParameter.Tag DEST_SUBADDRESS

USER_MESSAGE_REFERENCE

public static final OptionalParameter.Tag USER_MESSAGE_REFERENCE

USER_RESPONSE_CODE

public static final OptionalParameter.Tag USER_RESPONSE_CODE

SOURCE_PORT

public static final OptionalParameter.Tag SOURCE_PORT

DESTINATION_PORT

public static final OptionalParameter.Tag DESTINATION_PORT

SAR_MSG_REF_NUM

public static final OptionalParameter.Tag SAR_MSG_REF_NUM

LANGUAGE_INDICATOR

public static final OptionalParameter.Tag LANGUAGE_INDICATOR

SAR_TOTAL_SEGMENTS

public static final OptionalParameter.Tag SAR_TOTAL_SEGMENTS

SAR_SEGMENT_SEQNUM

public static final OptionalParameter.Tag SAR_SEGMENT_SEQNUM

SC_INTERFACE_VERSION

public static final OptionalParameter.Tag SC_INTERFACE_VERSION

CALLBACK_NUM_PRES_IND

public static final OptionalParameter.Tag CALLBACK_NUM_PRES_IND

CALLBACK_NUM_ATAG

public static final OptionalParameter.Tag CALLBACK_NUM_ATAG

NUMBER_OF_MESSAGES

public static final OptionalParameter.Tag NUMBER_OF_MESSAGES

CALLBACK_NUM

public static final OptionalParameter.Tag CALLBACK_NUM

DPF_RESULT

public static final OptionalParameter.Tag DPF_RESULT

SET_DPF

public static final OptionalParameter.Tag SET_DPF

MS_AVAILABILITY_STATUS

public static final OptionalParameter.Tag MS_AVAILABILITY_STATUS

NETWORK_ERROR_CODE

public static final OptionalParameter.Tag NETWORK_ERROR_CODE

MESSAGE_PAYLOAD

public static final OptionalParameter.Tag MESSAGE_PAYLOAD

DELIVERY_FAILURE_REASON

public static final OptionalParameter.Tag DELIVERY_FAILURE_REASON

MORE_MESSAGES_TO_SEND

public static final OptionalParameter.Tag MORE_MESSAGES_TO_SEND

MESSAGE_STATE

public static final OptionalParameter.Tag MESSAGE_STATE

USSD_SERVICE_OP

public static final OptionalParameter.Tag USSD_SERVICE_OP

DISPLAY_TIME

public static final OptionalParameter.Tag DISPLAY_TIME

SMS_SIGNAL

public static final OptionalParameter.Tag SMS_SIGNAL

MS_VALIDITY

public static final OptionalParameter.Tag MS_VALIDITY

ALERT_ON_MESSAGE_DELIVERY

public static final OptionalParameter.Tag ALERT_ON_MESSAGE_DELIVERY

ITS_REPLY_TYPE

public static final OptionalParameter.Tag ITS_REPLY_TYPE

ITS_SESSION_INFO

public static final OptionalParameter.Tag ITS_SESSION_INFO
Method Detail

values

public static OptionalParameter.Tag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OptionalParameter.Tag c : OptionalParameter.Tag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OptionalParameter.Tag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

@Deprecated
public short value()
Deprecated. use code()

Get the tag code of the OptionalParameter.Tag.


code

public short code()
Get the tag code of the OptionalParameter.Tag.


valueOf

public static OptionalParameter.Tag valueOf(short code)