org.mobicents.protocols.ss7.map.dialog
Class AddressStringImpl

java.lang.Object
  extended by org.mobicents.protocols.ss7.map.dialog.AddressStringImpl
All Implemented Interfaces:
org.mobicents.protocols.ss7.map.api.dialog.AddressString

public class AddressStringImpl
extends java.lang.Object
implements org.mobicents.protocols.ss7.map.api.dialog.AddressString

Author:
amit bhayani

Field Summary
protected  int NATURE_OF_ADD_IND_MASK
           
protected  int NO_EXTENSION_MASK
           
protected  int NUMBERING_PLAN_IND_MASK
           
 
Constructor Summary
AddressStringImpl()
           
AddressStringImpl(org.mobicents.protocols.ss7.map.api.dialog.AddressNature addressNature, org.mobicents.protocols.ss7.map.api.dialog.NumberingPlan numberingPlan, java.lang.String address)
           
 
Method Summary
 void decode(org.mobicents.protocols.asn.AsnInputStream ansIS)
           
 void encode(org.mobicents.protocols.asn.AsnOutputStream asnOs)
           
 java.lang.String getAddress()
           
 org.mobicents.protocols.ss7.map.api.dialog.AddressNature getAddressNature()
           
 org.mobicents.protocols.ss7.map.api.dialog.NumberingPlan getNumberingPlan()
           
 boolean isExtension()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_EXTENSION_MASK

protected int NO_EXTENSION_MASK

NATURE_OF_ADD_IND_MASK

protected int NATURE_OF_ADD_IND_MASK

NUMBERING_PLAN_IND_MASK

protected int NUMBERING_PLAN_IND_MASK
Constructor Detail

AddressStringImpl

public AddressStringImpl()

AddressStringImpl

public AddressStringImpl(org.mobicents.protocols.ss7.map.api.dialog.AddressNature addressNature,
                         org.mobicents.protocols.ss7.map.api.dialog.NumberingPlan numberingPlan,
                         java.lang.String address)
Method Detail

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface org.mobicents.protocols.ss7.map.api.dialog.AddressString

getAddressNature

public org.mobicents.protocols.ss7.map.api.dialog.AddressNature getAddressNature()
Specified by:
getAddressNature in interface org.mobicents.protocols.ss7.map.api.dialog.AddressString

getNumberingPlan

public org.mobicents.protocols.ss7.map.api.dialog.NumberingPlan getNumberingPlan()
Specified by:
getNumberingPlan in interface org.mobicents.protocols.ss7.map.api.dialog.AddressString

isExtension

public boolean isExtension()

decode

public void decode(org.mobicents.protocols.asn.AsnInputStream ansIS)
            throws org.mobicents.protocols.ss7.map.api.MAPException,
                   java.io.IOException
Throws:
org.mobicents.protocols.ss7.map.api.MAPException
java.io.IOException

encode

public void encode(org.mobicents.protocols.asn.AsnOutputStream asnOs)
            throws org.mobicents.protocols.ss7.map.api.MAPException
Throws:
org.mobicents.protocols.ss7.map.api.MAPException


Copyright © 2010. All Rights Reserved.