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, write
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterRegister, beforeRegister, beforeUnregister
public 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.JaxmppException
public 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.JaxmppException
public Criteria getCriteria()
XmppModule
getCriteria
in interface XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
getFeatures
in interface XmppModule
public boolean isSupportedByServer()
public void process(IQ stanza) throws JaxmppException
AbstractStanzaModule
process
in class AbstractStanzaModule<IQ>
JaxmppException
Copyright © 2006–2018 Tigase. All rights reserved.