public final class PubSubService extends Object
| Modifier and Type | Method and Description |
|---|---|
rocks.xmpp.core.Jid |
getAddress()
Gets the service address.
|
Collection<PubSubFeature> |
getFeatures()
Gets the features, which are supported by the pubsub service.
|
PubSubNode |
getNode(String node)
Gets a node.
|
List<PubSubNode> |
getNodes()
Gets the first-level nodes of this pubsub service.
|
String |
toString() |
public Collection<PubSubFeature> getFeatures() throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic List<PubSubNode> getNodes() throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic PubSubNode getNode(String node)
node - The node.public rocks.xmpp.core.Jid getAddress()
Copyright © 2014 XMPP.rocks. All rights reserved.