public interface Subscription
<subscription/> element, which is used in 'pubsub', 'pubsub#event' and 'pubsub#owner' namespace.| Modifier and Type | Method and Description |
|---|---|
Instant |
getExpiry()
Gets the expiry of the subscription.
|
rocks.xmpp.addr.Jid |
getJid()
Gets the subscriber.
|
String |
getNode()
Gets the node.
|
String |
getSubId()
Gets the subscription id, which is used to differentiate between multiple subscriptions for the same entity.
|
SubscriptionState |
getSubscriptionState()
Gets the subscription state to a node.
|
boolean |
isConfigurationRequired()
Indicates if subscription configuration is required.
|
boolean |
isConfigurationSupported()
Indicates if subscription options are supported (but not necessarily required).
|
rocks.xmpp.addr.Jid getJid()
String getNode()
String getSubId()
SubscriptionState getSubscriptionState()
Instant getExpiry()
boolean isConfigurationRequired()
boolean isConfigurationSupported()
Copyright © 2014–2017 XMPP.rocks. All rights reserved.