public interface Subscription
Represents the <subscription/>
element, which is used in ‘pubsub’, ‘pubsub#event’ and ‘pubsub#owner’ namespace.
Modifier and Type | Method and Description |
---|---|
java.time.Instant |
getExpiry()
Gets the expiry of the subscription.
|
Jid |
getJid()
Gets the subscriber.
|
java.lang.String |
getNode()
Gets the node.
|
java.lang.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).
|
Jid getJid()
Gets the subscriber.
java.lang.String getNode()
Gets the node.
java.lang.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.
java.time.Instant getExpiry()
Gets the expiry of the subscription.
boolean isConfigurationRequired()
Indicates if subscription configuration is required.
boolean isConfigurationSupported()
Indicates if subscription options are supported (but not necessarily required).
Copyright © 2014–2019 XMPP.rocks. All rights reserved.