org.mobicents.slee.resources.smpp.pdu
Class AddressImpl

java.lang.Object
  extended by org.mobicents.slee.resources.smpp.pdu.AddressImpl
All Implemented Interfaces:
Address
Direct Known Subclasses:
ErrorAddressImpl

public class AddressImpl
extends java.lang.Object
implements Address

Author:
amit bhayani

Field Summary
protected  org.mobicents.protocols.smpp.Address protoAddress
           
 
Fields inherited from interface net.java.slee.resources.smpp.pdu.Address
NPI_DATA, NPI_ERMES, NPI_INTERNET, NPI_ISDN, NPI_LAND_MOBILE, NPI_NATIONAL, NPI_PRIAVTE, NPI_TELEX, NPI_UNKNOWN, NPI_WAP, TON_ABBREVIATED, TON_ALPHANUMERIC, TON_INTERNATIONAL, TON_NATIONAL, TON_NETWORK_SPECIFIC, TON_SUBSCRIBER_NUMBER, TON_UNKNOWN
 
Constructor Summary
protected AddressImpl()
           
  AddressImpl(org.mobicents.protocols.smpp.Address protoAddress)
           
  AddressImpl(int ton, int npi, java.lang.String address)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAddress()
           
 int getAddressNpi()
           
 int getAddressTon()
           
 org.mobicents.protocols.smpp.Address getProtoAddress()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protoAddress

protected org.mobicents.protocols.smpp.Address protoAddress
Constructor Detail

AddressImpl

protected AddressImpl()

AddressImpl

public AddressImpl(org.mobicents.protocols.smpp.Address protoAddress)

AddressImpl

public AddressImpl(int ton,
                   int npi,
                   java.lang.String address)
Method Detail

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface Address

getAddressNpi

public int getAddressNpi()
Specified by:
getAddressNpi in interface Address

getAddressTon

public int getAddressTon()
Specified by:
getAddressTon in interface Address

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getProtoAddress

public org.mobicents.protocols.smpp.Address getProtoAddress()


Copyright © 2011. All Rights Reserved.