org.apache.activemq.command
Class ProducerId
java.lang.Object
org.apache.activemq.command.ProducerId
- All Implemented Interfaces:
- DataStructure
public class ProducerId
- extends java.lang.Object
- implements DataStructure
- Version:
- $Revision$
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
connectionId
protected java.lang.String connectionId
sessionId
protected long sessionId
value
protected long value
hashCode
protected transient int hashCode
key
protected transient java.lang.String key
parentId
protected transient SessionId parentId
ProducerId
public ProducerId()
ProducerId
public ProducerId(SessionId sessionId,
long producerId)
ProducerId
public ProducerId(ProducerId id)
ProducerId
public ProducerId(java.lang.String producerKey)
getParentId
public SessionId getParentId()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getDataStructureType
public byte getDataStructureType()
- Specified by:
getDataStructureType
in interface DataStructure
- Returns:
- The type of the data structure
getConnectionId
public java.lang.String getConnectionId()
setConnectionId
public void setConnectionId(java.lang.String connectionId)
getValue
public long getValue()
setValue
public void setValue(long producerId)
getSessionId
public long getSessionId()
setSessionId
public void setSessionId(long sessionId)
isMarshallAware
public boolean isMarshallAware()
- Specified by:
isMarshallAware
in interface DataStructure
Copyright © 2009 Apache Software Foundation. All Rights Reserved.