org.apache.activemq.command
Class ConnectionId

java.lang.Object
  extended by org.apache.activemq.command.ConnectionId
All Implemented Interfaces:
Comparable<ConnectionId>, DataStructure

public class ConnectionId
extends Object
implements DataStructure, Comparable<ConnectionId>


Field Summary
static byte DATA_STRUCTURE_TYPE
           
protected  String value
           
 
Constructor Summary
ConnectionId()
           
ConnectionId(ConnectionId id)
           
ConnectionId(ConsumerId id)
           
ConnectionId(ProducerId id)
           
ConnectionId(SessionId id)
           
ConnectionId(String connectionId)
           
 
Method Summary
 int compareTo(ConnectionId o)
           
 boolean equals(Object o)
           
 byte getDataStructureType()
           
 String getValue()
           
 int hashCode()
           
 boolean isMarshallAware()
           
 void setValue(String connectionId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DATA_STRUCTURE_TYPE

public static final byte DATA_STRUCTURE_TYPE
See Also:
Constant Field Values

value

protected String value
Constructor Detail

ConnectionId

public ConnectionId()

ConnectionId

public ConnectionId(String connectionId)

ConnectionId

public ConnectionId(ConnectionId id)

ConnectionId

public ConnectionId(SessionId id)

ConnectionId

public ConnectionId(ProducerId id)

ConnectionId

public ConnectionId(ConsumerId id)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getDataStructureType

public byte getDataStructureType()
Specified by:
getDataStructureType in interface DataStructure
Returns:
The type of the data structure

toString

public String toString()
Overrides:
toString in class Object

getValue

public String getValue()

setValue

public void setValue(String connectionId)

isMarshallAware

public boolean isMarshallAware()
Specified by:
isMarshallAware in interface DataStructure

compareTo

public int compareTo(ConnectionId o)
Specified by:
compareTo in interface Comparable<ConnectionId>


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.