cgl.narada.jms
Class JmsDestination

java.lang.Object
  extended by cgl.narada.jms.JmsDestination
All Implemented Interfaces:
JmsDebugFlags, Destination

public class JmsDestination
extends Object
implements Destination, JmsDebugFlags


Field Summary
 
Fields inherited from interface cgl.narada.jms.JmsDebugFlags
JmsConnection_Debug, JmsDestination_Debug, JmsHeader_Debug, JmsLogger_Debug, JmsMessage_Debug, JmsObjectMessage_Debug, JmsProperties_Debug, JmsTextMessage_Debug, JmsTopic_Debug, JmsTopicAndSelectorVerifier_Debug, JmsTopicConnection_Debug, JmsTopicConnectionFactory_Debug, JmsTopicPublisher_Debug, JmsTopicSession_Debug, JmsTopicSubscriber_Debug
 
Constructor Summary
JmsDestination(byte[] jmsDestinationBytes)
           
JmsDestination(Destinations serverDestination, int clientDestOnServer)
           
 
Method Summary
 boolean equals(Object obj)
          Compares two objects for equality.
 byte[] getBytes()
           
 int getClientDestinationOnServer()
           
 Destinations getServerDestination()
           
 int hashCode()
          Generates a hash code for the receiver.
static void main(String[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmsDestination

public JmsDestination(Destinations serverDestination,
                      int clientDestOnServer)

JmsDestination

public JmsDestination(byte[] jmsDestinationBytes)
Method Detail

getBytes

public byte[] getBytes()

getServerDestination

public Destinations getServerDestination()

getClientDestinationOnServer

public int getClientDestinationOnServer()

equals

public boolean equals(Object obj)
Compares two objects for equality. Returns a boolean that indicates whether this object is equivalent to the specified object. This method is used when an object is stored in a hashtable.

Overrides:
equals in class Object
Parameters:
obj - the Object to compare with
Returns:
true if these Objects are equal; false otherwise.
See Also:
Hashtable

hashCode

public int hashCode()
Generates a hash code for the receiver. This method is supported primarily for hash tables, such as those provided in java.util. If two objects are equal (equals(Object) returns true) they must have the same hash code

Overrides:
hashCode in class Object
Returns:
an integer hash code for the receiver

toString

public String toString()
Overrides:
toString in class Object

main

public static void main(String[] args)


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