public class ServingNodeAddressImpl extends Object implements ServingNodeAddress, MAPAsnPrimitive
| Modifier and Type | Field and Description |
|---|---|
static String |
_PrimitiveName |
static int |
_TAG_mmeNumber |
static int |
_TAG_mscNumber |
static int |
_TAG_sgsnNumber |
| Constructor and Description |
|---|
ServingNodeAddressImpl() |
ServingNodeAddressImpl(DiameterIdentity mmeNumber) |
ServingNodeAddressImpl(ISDNAddressString isdnNumber,
boolean isMsc) |
| 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() |
DiameterIdentity |
getMmeNumber() |
ISDNAddressString |
getMscNumber() |
ISDNAddressString |
getSgsnNumber() |
int |
getTag() |
int |
getTagClass() |
String |
toString() |
public static final int _TAG_mscNumber
public static final int _TAG_sgsnNumber
public static final int _TAG_mmeNumber
public static final String _PrimitiveName
public ServingNodeAddressImpl()
public ServingNodeAddressImpl(ISDNAddressString isdnNumber, boolean isMsc)
public ServingNodeAddressImpl(DiameterIdentity mmeNumber)
public ISDNAddressString getMscNumber()
getMscNumber in interface ServingNodeAddresspublic ISDNAddressString getSgsnNumber()
getSgsnNumber in interface ServingNodeAddresspublic DiameterIdentity getMmeNumber()
getMmeNumber in interface ServingNodeAddresspublic 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.