cgl.narada.jms
Class JmsDestination
java.lang.Object
cgl.narada.jms.JmsDestination
- All Implemented Interfaces:
- JmsDebugFlags, Destination
public class JmsDestination
- extends Object
- implements Destination, JmsDebugFlags
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 |
JmsDestination
public JmsDestination(Destinations serverDestination,
int clientDestOnServer)
JmsDestination
public JmsDestination(byte[] jmsDestinationBytes)
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