public class SubscriptionInfo extends 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(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) |
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 DataStructure
public 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 DataStructure
public 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 © 2011–2014 Red Hat. All rights reserved.