cgl.narada.protocol
Class DispatchUnit

java.lang.Object
  extended by cgl.narada.protocol.DispatchUnit

public class DispatchUnit
extends Object

This class encapsulates a unit of dispatching work.


Constructor Summary
DispatchUnit(byte[] payload, ArrayList arrayListDestinations, int ignoreDestination)
           
DispatchUnit(byte[] payload, Hashtable hashtableDestinations, int ignoreDestination)
           
 
Method Summary
 ArrayList getArrayListDestinations()
           
 Hashtable getHashtableDestinations()
           
 int getIgnoreDestination()
           
 byte[] getPayload()
           
 boolean hasArrayListDestinations()
           
 boolean hasHashtableDestinations()
           
 boolean hasIgnoreDestination()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatchUnit

public DispatchUnit(byte[] payload,
                    ArrayList arrayListDestinations,
                    int ignoreDestination)

DispatchUnit

public DispatchUnit(byte[] payload,
                    Hashtable hashtableDestinations,
                    int ignoreDestination)
Method Detail

getPayload

public byte[] getPayload()

hasHashtableDestinations

public boolean hasHashtableDestinations()

getHashtableDestinations

public Hashtable getHashtableDestinations()

hasArrayListDestinations

public boolean hasArrayListDestinations()

getArrayListDestinations

public ArrayList getArrayListDestinations()

hasIgnoreDestination

public boolean hasIgnoreDestination()

getIgnoreDestination

public int getIgnoreDestination()


For comments and suggestions please send e-mail to The NaradaBrokering Project