public interface ImaSubscription
Modifier and Type | Field and Description |
---|---|
static String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close a subscription.
|
ImaConnection |
getConnection()
Returns the connection of the subscription
|
String |
getDestination()
Returns the destination of the subscription
|
ImaDestinationType |
getDestinationType()
Returns the destination type.
|
String |
getName()
Returns the name of the subscription.
|
boolean |
getNoLocal()
Returns the nolocal setting of the subscription.
|
ImaReliability |
getReliability()
Returns the reliability setting of the subscription
|
ImaSubscriptionType |
getSubscriptionType()
Returns the subscription type.
|
Object |
getUserData()
Returns the user data
|
boolean |
isSubscribed()
Returns whether the subscription is currently active.
|
void |
setReliability(ImaReliability qos)
Sets the reliability setting of the subscription
|
void |
setUserData(Object userData)
Sets the user data
|
void |
subscribe()
Make the subscription.
|
void |
subscribeNoAck()
Make the subscription without waiting for an ACK.
|
static final String COPYRIGHT
void subscribe()
After the subscribe(), another subscribe cannot be done until after a close() is done.
void subscribeNoAck()
After the subscribe(), another subscribe cannot be done until after a close() is done.
ImaPluginException
- if an error occurs while subscribingvoid close()
ImaPluginException
- if an error occurs while closing a subscription.ImaConnection getConnection()
String getDestination()
ImaDestinationType getDestinationType()
String getName()
boolean getNoLocal()
ImaReliability getReliability()
void setReliability(ImaReliability qos)
ImaSubscriptionType getSubscriptionType()
boolean isSubscribed()
Object getUserData()
void setUserData(Object userData)
Copyright © Contributors to the Eclipse Foundation 2014-2021