public class PushNotificationModule
extends tigase.jaxmpp.core.client.xmpp.modules.AbstractStanzaModule<tigase.jaxmpp.core.client.xmpp.stanzas.IQ>
implements tigase.jaxmpp.core.client.xmpp.modules.InitializingModule
| Constructor and Description |
|---|
PushNotificationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable(tigase.jaxmpp.core.client.JID pushComponentJid,
String node,
tigase.jaxmpp.core.client.AsyncCallback callback)
Disables push notifications.
|
void |
enable(tigase.jaxmpp.core.client.JID pushComponentJid,
String node,
tigase.jaxmpp.core.client.AsyncCallback callback)
Enables push notifications.
|
tigase.jaxmpp.core.client.criteria.Criteria |
getCriteria() |
String[] |
getFeatures() |
boolean |
isSupportedByServer() |
void |
process(tigase.jaxmpp.core.client.xmpp.stanzas.IQ stanza) |
afterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContext, write, write, writepublic void disable(tigase.jaxmpp.core.client.JID pushComponentJid,
String node,
tigase.jaxmpp.core.client.AsyncCallback callback)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
pushComponentJid - JID of XMPP Push Service.node - provisioned node specified by the App Server.callback - callback.tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic void enable(tigase.jaxmpp.core.client.JID pushComponentJid,
String node,
tigase.jaxmpp.core.client.AsyncCallback callback)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
pushComponentJid - JID of XMPP Push Service.node - provisioned node specified by the App Server.callback - callback.tigase.jaxmpp.core.client.exceptions.JaxmppExceptionpublic tigase.jaxmpp.core.client.criteria.Criteria getCriteria()
getCriteria in interface tigase.jaxmpp.core.client.XmppModulepublic String[] getFeatures()
getFeatures in interface tigase.jaxmpp.core.client.XmppModulepublic boolean isSupportedByServer()
public void process(tigase.jaxmpp.core.client.xmpp.stanzas.IQ stanza)
throws tigase.jaxmpp.core.client.exceptions.JaxmppException
process in class tigase.jaxmpp.core.client.xmpp.modules.AbstractStanzaModule<tigase.jaxmpp.core.client.xmpp.stanzas.IQ>tigase.jaxmpp.core.client.exceptions.JaxmppExceptionCopyright © 2006–2020 Tigase. All rights reserved.