public class PushNotificationModule extends AbstractStanzaModule<IQ> implements InitializingModule
context, log| Constructor and Description |
|---|
PushNotificationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable(JID pushComponentJid,
String node,
AsyncCallback callback)
Disables push notifications.
|
void |
enable(JID pushComponentJid,
String node,
AsyncCallback callback)
Enables push notifications.
|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
boolean |
isSupportedByServer() |
void |
process(IQ stanza)
Method for processing incoming stanza.
|
afterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContext, write, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterRegister, beforeRegister, beforeUnregisterpublic void disable(JID pushComponentJid, String node, AsyncCallback callback) throws JaxmppException
pushComponentJid - JID of XMPP Push Service.node - provisioned node specified by the App Server.callback - callback.JaxmppExceptionpublic void enable(JID pushComponentJid, String node, AsyncCallback callback) throws JaxmppException
pushComponentJid - JID of XMPP Push Service.node - provisioned node specified by the App Server.callback - callback.JaxmppExceptionpublic Criteria getCriteria()
XmppModulegetCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
getFeatures in interface XmppModulepublic boolean isSupportedByServer()
public void process(IQ stanza) throws JaxmppException
AbstractStanzaModuleprocess in class AbstractStanzaModule<IQ>JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.