public class SmsState extends IMCMessage
Modifier and Type | Class and Description |
---|---|
static class |
SmsState.STATE |
Modifier and Type | Field and Description |
---|---|
static int |
ID_STATIC |
DEFAULT_ENTITY_ID, DEFAULT_SYSTEM_ID
Constructor and Description |
---|
SmsState() |
SmsState(IMCDefinition defs) |
SmsState(IMCMessage msg) |
SmsState(long seq,
SmsState.STATE state,
java.lang.String error) |
Modifier and Type | Method and Description |
---|---|
static SmsState |
clone(IMCMessage msg) |
static SmsState |
create(java.lang.Object... values) |
java.lang.String |
getError() |
long |
getSeq() |
SmsState.STATE |
getState() |
java.lang.String |
getStateStr() |
short |
getStateVal() |
SmsState |
setError(java.lang.String error) |
SmsState |
setSeq(long seq) |
SmsState |
setState(SmsState.STATE state) |
SmsState |
setStateStr(java.lang.String state) |
SmsState |
setStateVal(short state) |
asJSON, asJSON, asMap, asXml, asXmlStripped, cloneMessage, cloneMessage, compareTo, copyFrom, decodeTupleList, dump, encodeTupleList, get, getAbbrev, getAgeInSeconds, getAsNumber, getAsString, getBitmask, getDate, getDouble, getDst, getDstEnt, getEntityName, getFieldNames, getFloat, getHeader, getHeaderValue, getInteger, getLong, getLongFieldName, getLongName, getMessage, getMessage, getMessageInfo, getMessageList, getMessageList, getMessageType, getMgid, getPayloadSize, getProtocolFactory, getRawData, getSize, getSourceName, getSrc, getSrcEnt, getString, getString, getTimestamp, getTimestampMillis, getTupleList, getTypeOf, getUnitsOf, getValue, getValues, hasFlag, hexdump, isNull, isPeriodic, main, makeImmutable, parseJson, parseXml, payloadMD5, serialize, serialize, serialize, serializePayload, setBitMask, setDst, setDstEnt, setHeader, setMessageInfo, setMessageList, setSrc, setSrcEnt, setTimestamp, setTimestampMillis, setType, setValue, setValues, toString, validate
public static final int ID_STATIC
public SmsState()
public SmsState(IMCMessage msg)
public SmsState(IMCDefinition defs)
public SmsState(long seq, SmsState.STATE state, java.lang.String error)
public static SmsState create(java.lang.Object... values)
public static SmsState clone(IMCMessage msg) throws java.lang.Exception
java.lang.Exception
public long getSeq()
public SmsState setSeq(long seq)
seq
- Sequence Numberpublic SmsState.STATE getState()
public java.lang.String getStateStr()
public short getStateVal()
public SmsState setState(SmsState.STATE state)
state
- State (enumerated)public SmsState setStateStr(java.lang.String state)
state
- State (as a String)public SmsState setStateVal(short state)
state
- State (integer value)public java.lang.String getError()
public SmsState setError(java.lang.String error)
error
- Error Message