public interface XMPPSubscriber
extends org.jivesoftware.smackx.pubsub.listener.ItemEventListener<org.jivesoftware.smackx.pubsub.Item>
XMPPGateway
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNodeId()
Get the nodeId to subscribe to.
|
java.lang.String |
getSubId()
Get the subscriber ID.
|
void |
setGateway(XMPPGateway gateway)
Register the gateway to the subscriber, so that if
the subscription changes, it can notify the gateway.
|
void |
setSubId(java.lang.String subId)
Set the subscription id returned by
SmackPubSubAccess.subscribeToNode(). // FIXME out-dated
|
java.lang.String getNodeId()
java.lang.String getSubId()
setSubId(String)
void setGateway(XMPPGateway gateway)
gateway
- The attribute responsible for managing the XMPP session.void setSubId(java.lang.String subId)
subId
- A string identifying this subscriber.getSubId()