org.mobicents.protocols.smpp.message
Class DestinationTable

java.lang.Object
  extended by org.mobicents.protocols.smpp.message.DestinationTable
All Implemented Interfaces:
Serializable

public class DestinationTable
extends Object
implements Serializable

A table of destinations, primarily used in SubmitMulti.

Version:
$Id: DestinationTable.java 457 2009-01-15 17:37:42Z orank $
See Also:
Serialized Form

Constructor Summary
DestinationTable()
           
 
Method Summary
 void add(Address addr)
           
 void add(String distributionList)
           
 boolean equals(Object obj)
           
 Collection<Address> getAddresses()
           
 Collection<String> getDistributionLists()
           
 int getLength()
           
 int hashCode()
           
 void readFrom(PacketDecoder decoder, int count)
           
 void remove(Address addr)
           
 void remove(String distributionList)
           
 int size()
           
 String toString()
           
 void writeTo(PacketEncoder encoder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DestinationTable

public DestinationTable()
Method Detail

add

public void add(Address addr)

add

public void add(String distributionList)

remove

public void remove(Address addr)

remove

public void remove(String distributionList)

getLength

public int getLength()

size

public int size()

getAddresses

public Collection<Address> getAddresses()

getDistributionLists

public Collection<String> getDistributionLists()

writeTo

public void writeTo(PacketEncoder encoder)
             throws IOException
Throws:
IOException

readFrom

public void readFrom(PacketDecoder decoder,
                     int count)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 Mobicents. All Rights Reserved.