org.mobicents.protocols.ss7.map.primitives
public class MAPExtensionContainerImpl extends java.lang.Object implements MAPExtensionContainer, MAPAsnPrimitive
| Modifier and Type | Field and Description |
|---|---|
protected static int |
PRIVATEEXTENSIONLIST_REF_TAG |
protected static int |
PSCEXTENSIONS_REF_TAG |
| Constructor and Description |
|---|
MAPExtensionContainerImpl() |
MAPExtensionContainerImpl(java.util.ArrayList<MAPPrivateExtension> privateExtensionList,
byte[] pcsExtensions) |
| 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() |
byte[] |
getPcsExtensions() |
java.util.ArrayList<MAPPrivateExtension> |
getPrivateExtensionList() |
int |
getTag() |
int |
getTagClass() |
void |
setPcsExtensions(byte[] pcsExtensions) |
void |
setPrivateExtensionList(java.util.ArrayList<MAPPrivateExtension> privateExtensionList) |
java.lang.String |
toString() |
protected static final int PRIVATEEXTENSIONLIST_REF_TAG
protected static final int PSCEXTENSIONS_REF_TAG
public MAPExtensionContainerImpl()
public MAPExtensionContainerImpl(java.util.ArrayList<MAPPrivateExtension> privateExtensionList, byte[] pcsExtensions)
public java.util.ArrayList<MAPPrivateExtension> getPrivateExtensionList()
getPrivateExtensionList in interface MAPExtensionContainerpublic void setPrivateExtensionList(java.util.ArrayList<MAPPrivateExtension> privateExtensionList)
setPrivateExtensionList in interface MAPExtensionContainerpublic byte[] getPcsExtensions()
getPcsExtensions in interface MAPExtensionContainerpublic void setPcsExtensions(byte[] pcsExtensions)
setPcsExtensions in interface MAPExtensionContainerpublic 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 MAPAsnPrimitiveMAPExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2012. All Rights Reserved.