public class SubscriptionInfo extends java.lang.Object implements DataStructure
| Modifier and Type | Field and Description |
|---|---|
protected org.fusesource.hawtbuf.UTF8Buffer |
clientId |
static byte |
DATA_STRUCTURE_TYPE |
protected ActiveMQDestination |
destination |
protected org.fusesource.hawtbuf.UTF8Buffer |
selector |
protected ActiveMQDestination |
subscribedDestination |
protected org.fusesource.hawtbuf.UTF8Buffer |
subscriptionName |
| Constructor and Description |
|---|
SubscriptionInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
org.fusesource.hawtbuf.UTF8Buffer |
getClientId() |
byte |
getDataStructureType() |
ActiveMQDestination |
getDestination()
This is the a resolved destination that the subscription is receiving
messages from.
|
org.fusesource.hawtbuf.UTF8Buffer |
getSelector() |
ActiveMQDestination |
getSubscribedDestination()
The destination the client originally subscribed to..
|
org.fusesource.hawtbuf.UTF8Buffer |
getSubscriptionName() |
int |
hashCode() |
boolean |
isMarshallAware() |
void |
setClientId(org.fusesource.hawtbuf.UTF8Buffer clientId) |
void |
setDestination(ActiveMQDestination destination) |
void |
setSelector(org.fusesource.hawtbuf.UTF8Buffer selector) |
void |
setSubscribedDestination(ActiveMQDestination subscribedDestination) |
void |
setSubscriptionName(org.fusesource.hawtbuf.UTF8Buffer subscriptionName) |
java.lang.String |
toString() |
public static final byte DATA_STRUCTURE_TYPE
protected ActiveMQDestination subscribedDestination
protected ActiveMQDestination destination
protected org.fusesource.hawtbuf.UTF8Buffer clientId
protected org.fusesource.hawtbuf.UTF8Buffer subscriptionName
protected org.fusesource.hawtbuf.UTF8Buffer selector
public byte getDataStructureType()
getDataStructureType in interface DataStructurepublic org.fusesource.hawtbuf.UTF8Buffer getClientId()
public void setClientId(org.fusesource.hawtbuf.UTF8Buffer clientId)
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public org.fusesource.hawtbuf.UTF8Buffer getSelector()
public void setSelector(org.fusesource.hawtbuf.UTF8Buffer selector)
public org.fusesource.hawtbuf.UTF8Buffer getSubscriptionName()
public void setSubscriptionName(org.fusesource.hawtbuf.UTF8Buffer subscriptionName)
public boolean isMarshallAware()
isMarshallAware in interface DataStructurepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.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)
Copyright © 2014 Red Hat. All Rights Reserved.