public class PubSubModule extends AbstractStanzaExtendableModule<Message>
This module implementation of XEP-0060: Publish-Subscribe.
| Modifier and Type | Class and Description |
|---|---|
static class |
PubSubModule.AffiliationElement |
static class |
PubSubModule.AffiliationsRetrieveAsyncCallback |
static class |
PubSubModule.NodeConfigurationAsyncCallback |
static interface |
PubSubModule.NotificationReceivedHandler |
static class |
PubSubModule.PublishAsyncCallback |
static class |
PubSubModule.RetrieveItemsAsyncCallback |
static class |
PubSubModule.SubscriptionAsyncCallback |
static class |
PubSubModule.SubscriptionElement |
static class |
PubSubModule.SubscriptionFilterExtension
Class with definitions of filters for retrieving subscriptions.
|
static class |
PubSubModule.SubscriptionOptionsAsyncCallback |
static class |
PubSubModule.SubscriptionsRetrieveAsyncCallback |
| Modifier and Type | Field and Description |
|---|---|
static Criteria |
CRIT |
context, log| Constructor and Description |
|---|
PubSubModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
addNotificationReceivedHandler(PubSubModule.NotificationReceivedHandler handler) |
void |
configureNode(BareJID pubSubJID,
String nodeName,
JabberDataElement configuration,
AsyncCallback callback)
Submit configuration of node.
|
void |
configureNode(BareJID pubSubJID,
String nodeName,
JabberDataElement configuration,
PubSubAsyncCallback callback)
Submit configuration of node.
|
void |
configureSubscription(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
JabberDataElement form,
AsyncCallback callback)
Submit configuration of subscription.
|
void |
configureSubscription(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
JabberDataElement form,
PubSubAsyncCallback callback)
Submit configuration of subscription.
|
void |
createNode(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Create node on PubSub Service.
|
void |
createNode(BareJID pubSubJID,
String nodeName,
JabberDataElement nodeConfiguration,
AsyncCallback callback)
Create node on PubSub Service.
|
void |
createNode(BareJID pubSubJID,
String nodeName,
JabberDataElement nodeConfiguration,
PubSubAsyncCallback callback)
Create node on PubSub Service.
|
void |
createNode(BareJID pubSubJID,
String nodeName,
PubSubAsyncCallback callback)
Create node on PubSub Service.
|
static JabberDataElement |
createNodeConfiguration()
Create empty
jabber:x:data element prepared to submit. |
void |
deleteAffiliation(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
PubSubAsyncCallback callback)
Delete an entity from the affiliations list.
|
void |
deleteItem(BareJID pubSubJID,
String nodeName,
String itemId,
AsyncCallback callback)
Delete published item.
|
void |
deleteItem(BareJID pubSubJID,
String nodeName,
String itemId,
PubSubAsyncCallback callback)
Delete published item.
|
void |
deleteNode(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Delete node from PubSub service.
|
void |
deleteNode(BareJID pubSubJID,
String nodeName,
PubSubAsyncCallback callback)
Delete node from PubSub service.
|
void |
deleteSubscription(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
PubSubAsyncCallback callback)
Delete subscriber.
|
protected void |
fireNotificationReceived(Message message,
String nodeName,
String itemType,
String itemId,
Element payload,
Date delayTime) |
Criteria |
getCriteria()
Criteria
|
void |
getDefaultSubscriptionConfiguration(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Gets default subscription configuration.
|
void |
getDefaultSubscriptionConfiguration(BareJID pubSubJID,
String nodeName,
PubSubModule.SubscriptionOptionsAsyncCallback callback)
Gets default subscription configuration.
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
getNodeConfiguration(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Get node configuration.
|
void |
getNodeConfiguration(BareJID pubSubJID,
String nodeName,
PubSubModule.NodeConfigurationAsyncCallback callback)
Get node configuration.
|
void |
getNodeConfigurationDefault(BareJID pubSubJID,
AsyncCallback callback)
Get default node configuration.
|
void |
getNodeConfigurationDefault(BareJID pubSubJID,
PubSubModule.NodeConfigurationAsyncCallback callback)
Get default node configuration.
|
void |
getSubscriptionConfiguration(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
AsyncCallback callback)
Get subscription options.
|
void |
getSubscriptionConfiguration(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
PubSubModule.SubscriptionOptionsAsyncCallback callback)
Get subscriptions options.
|
void |
process(Message message)
Method for processing incoming stanza.
|
void |
publishItem(BareJID pubSubJID,
String nodeName,
String itemId,
Element payload,
AsyncCallback callback)
Publish item in PubSub service.
|
void |
publishItem(BareJID pubSubJID,
String nodeName,
String itemId,
Element payload,
PubSubModule.PublishAsyncCallback callback)
Publish item in PubSub service.
|
void |
purge(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Purge the node of all published items.
|
void |
purge(BareJID pubSubJID,
String nodeName,
PubSubAsyncCallback callback)
Purge the node of all published items.
|
void |
removeNotificationReceivedHandler(PubSubModule.NotificationReceivedHandler handler) |
void |
retrieveAffiliations(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Retrieve affiliations.
|
void |
retrieveAffiliations(BareJID pubSubJID,
String nodeName,
PubSubModule.AffiliationsRetrieveAsyncCallback callback)
Retrieve affiliations.
|
protected void |
retrieveAffiliations(BareJID pubSubJID,
String nodeName,
String xmlns,
AsyncCallback callback) |
void |
retrieveItem(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Gets ALL published items from node.
|
void |
retrieveItem(BareJID pubSubJID,
String nodeName,
PubSubModule.RetrieveItemsAsyncCallback callback)
Gets ALL published items from node.
|
void |
retrieveItem(BareJID pubSubJID,
String nodeName,
String itemId,
AsyncCallback callback)
Gets published item from node.
|
void |
retrieveItem(BareJID pubSubJID,
String nodeName,
String itemId,
Integer maxItems,
AsyncCallback callback)
Gets published item(s) from node.
|
void |
retrieveItem(BareJID pubSubJID,
String nodeName,
String itemId,
PubSubModule.RetrieveItemsAsyncCallback callback)
Gets published item from node.
|
void |
retrieveItems(BareJID pubSubJID,
String nodeName,
Integer max,
Integer index,
AsyncCallback callback)
Gets published item(s) from node.
|
void |
retrieveOwnAffiliations(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Retrieve own affiliations.
|
void |
retrieveOwnAffiliations(BareJID pubSubJID,
String nodeName,
PubSubModule.AffiliationsRetrieveAsyncCallback callback)
Retrieve own affiliations.
|
void |
retrieveOwnSubscription(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Retrieve own subscriptions.
|
void |
retrieveOwnSubscription(BareJID pubSubJID,
String nodeName,
PubSubModule.SubscriptionsRetrieveAsyncCallback callback)
Retrieve own subscriptions.
|
void |
retrieveSubscription(BareJID pubSubJID,
String nodeName,
AsyncCallback callback)
Retrieve all subscriptions of given node.
|
void |
retrieveSubscription(BareJID pubSubJID,
String nodeName,
PubSubModule.SubscriptionFilterExtension filterExt,
AsyncCallback callback)
Retrieve all subscriptions of given node.
|
void |
retrieveSubscription(BareJID pubSubJID,
String nodeName,
PubSubModule.SubscriptionsRetrieveAsyncCallback callback)
Retrieve all subscriptions of given node.
|
protected void |
retrieveSubscription(BareJID pubSubJID,
String nodeName,
String xmlns,
PubSubModule.SubscriptionFilterExtension filterExt,
AsyncCallback callback) |
void |
setAffiliation(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
Affiliation affiliation,
PubSubAsyncCallback callback)
Modify or set affiliation.
|
void |
setAffiliation(BareJID pubSubJID,
String nodeName,
PubSubModule.AffiliationElement[] affiliationElements,
PubSubAsyncCallback callback)
Modify or set multiple affiliations.
|
void |
setSubscription(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
Subscription subscription,
PubSubAsyncCallback callback)
Modify or set subscription.
|
void |
setSubscription(BareJID pubSubJID,
String nodeName,
PubSubModule.SubscriptionElement[] subscriptionElements,
PubSubAsyncCallback callback)
Modify or set multiple subscriptions.
|
void |
subscribe(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
JabberDataElement options,
AsyncCallback callback)
Subscribe to a Node.
|
void |
subscribe(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
JabberDataElement options,
PubSubModule.SubscriptionAsyncCallback callback)
Subscribe to a Node.
|
void |
subscribe(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
PubSubModule.SubscriptionAsyncCallback callback)
Subscribe to a Node.
|
void |
unlockItem(BareJID pubSubJID,
String nodeName,
String itemId,
AsyncCallback callback)
Unlock assigned item.
|
void |
unlockItem(BareJID pubSubJID,
String nodeName,
String itemId,
PubSubAsyncCallback callback)
Unlock assigned item.
|
void |
unsubscribe(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
AsyncCallback callback)
Unsubscribe from a Node.
|
void |
unsubscribe(BareJID pubSubJID,
String nodeName,
JID subscriberJID,
PubSubAsyncCallback callback)
Unsubscribe from a Node.
|
addExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic static final Criteria CRIT
public static JabberDataElement createNodeConfiguration() throws JaxmppException
jabber:x:data element prepared to submit.JaxmppExceptionpublic void addNotificationReceivedHandler(PubSubModule.NotificationReceivedHandler handler)
public void configureNode(BareJID pubSubJID, String nodeName, JabberDataElement configuration, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodeconfiguration - data element with configurationcallback - request callbackJaxmppExceptionpublic void configureNode(BareJID pubSubJID, String nodeName, JabberDataElement configuration, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodeconfiguration - data element with configurationcallback - request callbackJaxmppExceptionpublic void configureSubscription(BareJID pubSubJID, String nodeName, JID subscriberJID, JabberDataElement form, AsyncCallback callback) throws JaxmppException, XMLException
pubSubJID - PubSub service address.nodeName - name of nodesubscriberJID - subscriber JIDform - data element with configurationcallback - request callbackJaxmppExceptionXMLExceptionpublic void configureSubscription(BareJID pubSubJID, String nodeName, JID subscriberJID, JabberDataElement form, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodesubscriberJID - subscriber JIDform - data element with configurationcallback - request callbackJaxmppExceptionpublic void createNode(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of node to be createdcallback - callbackJaxmppExceptionpublic void createNode(BareJID pubSubJID, String nodeName, JabberDataElement nodeConfiguration, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of node to be creatednodeConfiguration - node configurationcallback - callbackJaxmppExceptionpublic void createNode(BareJID pubSubJID, String nodeName, JabberDataElement nodeConfiguration, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of node to be creatednodeConfiguration - node configurationcallback - callbackJaxmppExceptionpublic void createNode(BareJID pubSubJID, String nodeName, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of node to be createdconfig - node configurationcallback - callbackJaxmppExceptionpublic void deleteAffiliation(BareJID pubSubJID, String nodeName, JID subscriberJID, PubSubAsyncCallback callback) throws JaxmppException
none.pubSubJID - nodeName - subscriberJID - callback - JaxmppExceptionpublic void deleteItem(BareJID pubSubJID, String nodeName, String itemId, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of nodeitemId - ID of itemcallback - request callbackJaxmppExceptionpublic void deleteItem(BareJID pubSubJID, String nodeName, String itemId, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of nodeitemId - ID of itemcallback - request callbackJaxmppExceptionpublic void deleteNode(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - address of PubSub servicenodeName - na of node to deletecallback - callbackJaxmppExceptionpublic void deleteNode(BareJID pubSubJID, String nodeName, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - address of PubSub servicenodeName - na of node to deletecallback - callbackJaxmppExceptionpublic void deleteSubscription(BareJID pubSubJID, String nodeName, JID subscriberJID, PubSubAsyncCallback callback) throws JaxmppException
none.pubSubJID - PubSub service addressnodeName - name of nodesubscriberJID - subscriber JIDcallback - request callbackJaxmppExceptionprotected void fireNotificationReceived(Message message, String nodeName, String itemType, String itemId, Element payload, Date delayTime) throws JaxmppException
JaxmppExceptionpublic Criteria getCriteria()
XmppModulepublic void getDefaultSubscriptionConfiguration(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callback.JaxmppExceptionpublic void getDefaultSubscriptionConfiguration(BareJID pubSubJID, String nodeName, PubSubModule.SubscriptionOptionsAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callback.JaxmppExceptionpublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
public void getNodeConfiguration(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - node name. If null then default node
configuration will be requested.callback - request callback.JaxmppExceptionpublic void getNodeConfiguration(BareJID pubSubJID, String nodeName, PubSubModule.NodeConfigurationAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - node name. If null then default node
configuration will be requested.callback - request callback.JaxmppExceptionpublic void getNodeConfigurationDefault(BareJID pubSubJID, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.callback - request callbackJaxmppExceptionpublic void getNodeConfigurationDefault(BareJID pubSubJID, PubSubModule.NodeConfigurationAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.callback - request callbackJaxmppExceptionpublic void getSubscriptionConfiguration(BareJID pubSubJID, String nodeName, JID subscriberJID, AsyncCallback callback) throws JaxmppException
pubSubJID - JID of PubSub ServicenodeName - node namesubscriberJID - subcriber JIDcallback - request callbackJaxmppExceptionpublic void getSubscriptionConfiguration(BareJID pubSubJID, String nodeName, JID subscriberJID, PubSubModule.SubscriptionOptionsAsyncCallback callback) throws JaxmppException
pubSubJID - JID of PubSub ServicenodeName - node namesubscriberJID - subcriber JIDcallback - request callbackJaxmppExceptionpublic void process(Message message) throws JaxmppException
process in class AbstractStanzaModule<Message>JaxmppExceptionpublic void publishItem(BareJID pubSubJID, String nodeName, String itemId, Element payload, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.itemId - ID of item to be published. If null then Service
will generate unique item ID.payload - element to be publish.callback - request callback.JaxmppExceptionpublic void publishItem(BareJID pubSubJID, String nodeName, String itemId, Element payload, PubSubModule.PublishAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.itemId - ID of item to be published. If null then Service
will generate unique item ID.payload - element to be publish.callback - request callback.JaxmppExceptionpublic void purge(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callbackJaxmppExceptionpublic void purge(BareJID pubSubJID, String nodeName, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callbackJaxmppExceptionpublic void removeNotificationReceivedHandler(PubSubModule.NotificationReceivedHandler handler)
public void retrieveAffiliations(BareJID pubSubJID, String nodeName, PubSubModule.AffiliationsRetrieveAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then affiliations from all
nodes will be requested.callback - request callback.JaxmppExceptionpublic void retrieveAffiliations(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then affiliations from all
nodes will be requested.callback - request callback.JaxmppExceptionprotected void retrieveAffiliations(BareJID pubSubJID, String nodeName, String xmlns, AsyncCallback callback) throws JaxmppException
JaxmppExceptionpublic void retrieveItem(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodecallback - request callbackJaxmppExceptionpublic void retrieveItem(BareJID pubSubJID, String nodeName, PubSubModule.RetrieveItemsAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodecallback - request callbackJaxmppExceptionpublic void retrieveItem(BareJID pubSubJID, String nodeName, String itemId, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodeitemId - ID of item to pe retrieve.callback - request callbackJaxmppExceptionpublic void retrieveItem(BareJID pubSubJID, String nodeName, String itemId, Integer maxItems, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodeitemId - ID of item to pe retrieve. May be null. Then all
items will be requested.maxItems - maximum amount of items to be retrieve.callback - request callbackJaxmppExceptionpublic void retrieveItem(BareJID pubSubJID, String nodeName, String itemId, PubSubModule.RetrieveItemsAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodeitemId - ID of item to pe retrieve.callback - request callbackJaxmppExceptionpublic void retrieveItems(BareJID pubSubJID, String nodeName, Integer max, Integer index, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of nodemax - maximum amount of items to be retrieve.index - offset from which to start retrievalcallback - request callbackJaxmppExceptionpublic void retrieveOwnAffiliations(BareJID pubSubJID, String nodeName, PubSubModule.AffiliationsRetrieveAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then affiliations from all
nodes will be requested.callback - request callback.JaxmppExceptionpublic void retrieveOwnAffiliations(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then affiliations from all
nodes will be requested.callback - request callback.JaxmppExceptionpublic void retrieveOwnSubscription(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then subscriptions from all
nodes will be requested.callback - request callbackJaxmppExceptionpublic void retrieveOwnSubscription(BareJID pubSubJID, String nodeName, PubSubModule.SubscriptionsRetrieveAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node. If null then subscriptions from all
nodes will be requested.callback - request callbackJaxmppExceptionpublic void retrieveSubscription(BareJID pubSubJID, String nodeName, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callbackJaxmppExceptionprotected void retrieveSubscription(BareJID pubSubJID, String nodeName, String xmlns, PubSubModule.SubscriptionFilterExtension filterExt, AsyncCallback callback) throws JaxmppException
JaxmppExceptionpublic void retrieveSubscription(BareJID pubSubJID, String nodeName, PubSubModule.SubscriptionFilterExtension filterExt, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.filterExt - subscription filter.callback - request callbackJaxmppExceptionpublic void retrieveSubscription(BareJID pubSubJID, String nodeName, PubSubModule.SubscriptionsRetrieveAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.callback - request callbackJaxmppExceptionpublic void setAffiliation(BareJID pubSubJID, String nodeName, PubSubModule.AffiliationElement[] affiliationElements, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.affiliationElements - array of affiliations elements.callback - request callbackJaxmppExceptionpublic void setAffiliation(BareJID pubSubJID, String nodeName, JID subscriberJID, Affiliation affiliation, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of nodesubscriberJID - subscriber JIDaffiliation - new affiliation.callback - request callbackJaxmppExceptionpublic void setSubscription(BareJID pubSubJID, String nodeName, JID subscriberJID, Subscription subscription, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service addressnodeName - name of nodesubscriberJID - subscriber JIDsubscription - new subscriptioncallback - request callbackJaxmppExceptionpublic void setSubscription(BareJID pubSubJID, String nodeName, PubSubModule.SubscriptionElement[] subscriptionElements, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.subscriptionElements - array of subscription elements.callback - request callbackJaxmppExceptionpublic void subscribe(BareJID pubSubJID, String nodeName, JID subscriberJID, JabberDataElement options, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node to be subscribesubscriberJID - subscriber JID.options - subscription options. null is allowed.callback - request callback.JaxmppExceptionpublic void subscribe(BareJID pubSubJID, String nodeName, JID subscriberJID, JabberDataElement options, PubSubModule.SubscriptionAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node to be subscribesubscriberJID - subscriber JID.options - subscription options. null is allowed.callback - request callback.JaxmppExceptionpublic void subscribe(BareJID pubSubJID, String nodeName, JID subscriberJID, PubSubModule.SubscriptionAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node to be subscribesubscriberJID - subscriber JID.callback - request callback.JaxmppExceptionpublic void unlockItem(BareJID pubSubJID, String nodeName, String itemId, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.itemId - ID of item to be unlock.callback - request callback.JaxmppExceptionpublic void unlockItem(BareJID pubSubJID, String nodeName, String itemId, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node.itemId - ID of item to be unlock.callback - request callback.JaxmppExceptionpublic void unsubscribe(BareJID pubSubJID, String nodeName, JID subscriberJID, AsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node to be unsubscribe.subscriberJID - JID of subscribercallback - request callbackJaxmppExceptionpublic void unsubscribe(BareJID pubSubJID, String nodeName, JID subscriberJID, PubSubAsyncCallback callback) throws JaxmppException
pubSubJID - PubSub service address.nodeName - name of node to be unsubscribe.subscriberJID - JID of subscribercallback - request callbackJaxmppExceptionCopyright © 2006–2016 Tigase. All rights reserved.