Package org.apache.qpid.jms.meta
Class JmsProducerId
- java.lang.Object
-
- org.apache.qpid.jms.meta.JmsAbstractResourceId
-
- org.apache.qpid.jms.meta.JmsProducerId
-
- All Implemented Interfaces:
Comparable<JmsProducerId>,JmsResourceId
public final class JmsProducerId extends JmsAbstractResourceId implements Comparable<JmsProducerId>
-
-
Field Summary
-
Fields inherited from class org.apache.qpid.jms.meta.JmsAbstractResourceId
hashCode, providerContext, providerHint
-
-
Constructor Summary
Constructors Constructor Description JmsProducerId(String producerKey)JmsProducerId(String connectionId, long sessionId, long producerId)JmsProducerId(JmsProducerId id)JmsProducerId(JmsSessionId sessionId, long producerId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(JmsProducerId other)booleanequals(Object o)StringgetConnectionId()JmsSessionIdgetParentId()longgetSessionId()longgetValue()inthashCode()StringtoString()-
Methods inherited from class org.apache.qpid.jms.meta.JmsAbstractResourceId
getProviderContext, getProviderHint, setProviderContext, setProviderHint
-
-
-
-
Constructor Detail
-
JmsProducerId
public JmsProducerId(JmsSessionId sessionId, long producerId)
-
JmsProducerId
public JmsProducerId(JmsProducerId id)
-
JmsProducerId
public JmsProducerId(String connectionId, long sessionId, long producerId)
-
JmsProducerId
public JmsProducerId(String producerKey)
-
-
Method Detail
-
getParentId
public JmsSessionId getParentId()
-
getConnectionId
public String getConnectionId()
-
getValue
public long getValue()
-
getSessionId
public long getSessionId()
-
compareTo
public int compareTo(JmsProducerId other)
- Specified by:
compareToin interfaceComparable<JmsProducerId>
-
-