public class Subscription extends Object implements Serializable
| Constructor and Description |
|---|
Subscription(Channel channel,
String destination,
String subTopicId,
String subscriptionId,
boolean noLocal) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deliver(Channel fromClient,
AsyncMessage message) |
boolean |
equals(Object o) |
Channel |
getChannel() |
String |
getSubscriptionId() |
String |
getSubTopicId() |
Message |
getUnsubscribeMessage() |
void |
setSelector(String selector) |
String |
toString() |
public Subscription(Channel channel, String destination, String subTopicId, String subscriptionId, boolean noLocal)
public Channel getChannel()
public String getSubTopicId()
public String getSubscriptionId()
public void setSelector(String selector)
public boolean deliver(Channel fromClient, AsyncMessage message)
public Message getUnsubscribeMessage()