public class SubscriberStateImpl extends Object implements SubscriberState, MAPAsnPrimitive
| Modifier and Type | Field and Description |
|---|---|
static int |
_ID_assumedIdle |
static int |
_ID_camelBusy |
static int |
_ID_notProvidedFromVLR |
static String |
_PrimitiveName |
protected static javolution.xml.XMLFormat<SubscriberStateImpl> |
SUBSCRIBER_STATE_XML
XML Serialization/Deserialization
|
| Constructor and Description |
|---|
SubscriberStateImpl() |
SubscriberStateImpl(SubscriberStateChoice subscriberStateChoice,
NotReachableReason notReachableReason) |
| Modifier and Type | Method and Description |
|---|---|
void |
decodeAll(org.mobicents.protocols.asn.AsnInputStream ansIS)
Decoding the length and the content of the primitive (the tag has already read)
|
void |
decodeData(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length)
Decoding the content of the primitive (the tag and the length have already read)
|
void |
encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs)
Encoding the tag, the length and the content.
|
void |
encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs,
int tagClass,
int tag)
Encoding the tag, the length and the content.
|
void |
encodeData(org.mobicents.protocols.asn.AsnOutputStream asnOs)
Encoding the content.
|
boolean |
getIsPrimitive() |
NotReachableReason |
getNotReachableReason() |
SubscriberStateChoice |
getSubscriberStateChoice() |
int |
getTag() |
int |
getTagClass() |
void |
setData(SubscriberStateChoice subscriberStateChoice,
NotReachableReason notReachableReason) |
String |
toString() |
public static final int _ID_assumedIdle
public static final int _ID_camelBusy
public static final int _ID_notProvidedFromVLR
public static final String _PrimitiveName
protected static final javolution.xml.XMLFormat<SubscriberStateImpl> SUBSCRIBER_STATE_XML
public SubscriberStateImpl()
public SubscriberStateImpl(SubscriberStateChoice subscriberStateChoice, NotReachableReason notReachableReason)
public void setData(SubscriberStateChoice subscriberStateChoice, NotReachableReason notReachableReason)
public SubscriberStateChoice getSubscriberStateChoice()
getSubscriberStateChoice in interface SubscriberStatepublic NotReachableReason getNotReachableReason()
getNotReachableReason in interface SubscriberStatepublic int getTag()
throws MAPException
getTag in interface MAPAsnPrimitiveMAPExceptionpublic int getTagClass()
getTagClass in interface MAPAsnPrimitivepublic boolean getIsPrimitive()
getIsPrimitive in interface MAPAsnPrimitivepublic void decodeAll(org.mobicents.protocols.asn.AsnInputStream ansIS)
throws MAPParsingComponentException
MAPAsnPrimitivedecodeAll in interface MAPAsnPrimitiveansIS - The AsnInputStream that contains the length and the content of the primitiveMAPParsingComponentExceptionpublic void decodeData(org.mobicents.protocols.asn.AsnInputStream ansIS,
int length)
throws MAPParsingComponentException
MAPAsnPrimitivedecodeData in interface MAPAsnPrimitiveansIS - The AsnInputStream that contains the content of the primitivelength - The length of the contentMAPParsingComponentExceptionpublic void encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs)
throws MAPException
MAPAsnPrimitiveencodeAll in interface MAPAsnPrimitiveMAPExceptionpublic void encodeAll(org.mobicents.protocols.asn.AsnOutputStream asnOs,
int tagClass,
int tag)
throws MAPException
MAPAsnPrimitiveencodeAll in interface MAPAsnPrimitiveMAPExceptionpublic void encodeData(org.mobicents.protocols.asn.AsnOutputStream asnOs)
throws MAPException
MAPAsnPrimitiveencodeData in interface MAPAsnPrimitiveMAPExceptionCopyright © 2016. All Rights Reserved.