Package | Description |
---|---|
org.jivesoftware.smackx.pubsub |
Smack's API for XEP-0060: Publish-Subscribe.
|
Modifier and Type | Field and Description |
---|---|
protected Subscription.State |
Subscription.state |
Modifier and Type | Method and Description |
---|---|
Subscription.State |
Subscription.getState()
Gets the current subscription state.
|
static Subscription.State |
Subscription.State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Subscription.State[] |
Subscription.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Subscription(Jid jid,
String nodeId,
String subscriptionId,
Subscription.State state)
Constructs a representation of a subscription reply to the specified node
and JID.
|
Subscription(Jid jid,
String nodeId,
String subscriptionId,
Subscription.State state,
boolean configRequired)
Constructs a representation of a subscription reply to the specified node
and JID.
|
Subscription(Jid subscriptionJid,
Subscription.State state)
Construct a subscription change request to the specified state.
|