|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.activemq.command.SubscriptionInfo
public class SubscriptionInfo
Used to represent a durable subscription.
| Field Summary | |
|---|---|
protected String |
clientId
|
static byte |
DATA_STRUCTURE_TYPE
|
protected ActiveMQDestination |
destination
|
protected String |
selector
|
protected ActiveMQDestination |
subscribedDestination
|
protected String |
subscriptionName
|
| Constructor Summary | |
|---|---|
SubscriptionInfo()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getClientId()
|
byte |
getDataStructureType()
|
ActiveMQDestination |
getDestination()
This is the a resolved destination that the subscription is receiving messages from. |
String |
getSelector()
|
String |
getSubcriptionName()
Deprecated. |
ActiveMQDestination |
getSubscribedDestination()
The destination the client originally subscribed to.. |
String |
getSubscriptionName()
|
int |
hashCode()
|
boolean |
isMarshallAware()
|
void |
setClientId(String clientId)
|
void |
setDestination(ActiveMQDestination destination)
|
void |
setSelector(String selector)
|
void |
setSubcriptionName(String subscriptionName)
Deprecated. |
void |
setSubscribedDestination(ActiveMQDestination subscribedDestination)
|
void |
setSubscriptionName(String subscriptionName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final byte DATA_STRUCTURE_TYPE
protected ActiveMQDestination subscribedDestination
protected ActiveMQDestination destination
protected String clientId
protected String subscriptionName
protected String selector
| Constructor Detail |
|---|
public SubscriptionInfo()
| Method Detail |
|---|
public byte getDataStructureType()
getDataStructureType in interface DataStructurepublic String getClientId()
public void setClientId(String clientId)
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public String getSelector()
public void setSelector(String selector)
public String getSubcriptionName()
public void setSubcriptionName(String subscriptionName)
subscriptionName - *public String getSubscriptionName()
public void setSubscriptionName(String subscriptionName)
public boolean isMarshallAware()
isMarshallAware in interface DataStructurepublic String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic ActiveMQDestination getSubscribedDestination()
getDestination method if the subscribed destination uses
patterns or composites.
If the subscribed destinationis not set, this just ruturns the
desitination.
public void setSubscribedDestination(ActiveMQDestination subscribedDestination)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||