public class PingModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
PingModule.PingAsyncCallback
Ping callback.
|
context, log| Constructor and Description |
|---|
PingModule() |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
ping(JID jid,
AsyncCallback asyncCallback)
Ping given XMPP entity.
|
void |
ping(JID jidInstance,
PingModule.PingAsyncCallback asyncCallback)
Ping given XMPP entity.
|
protected void |
processGet(IQ stanza)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ stanza)
Method for processing stanza
<iq type='set'>. |
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
public void ping(JID jid, AsyncCallback asyncCallback) throws JaxmppException
jid - entity to ping.asyncCallback - general callbackJaxmppExceptionpublic void ping(JID jidInstance, PingModule.PingAsyncCallback asyncCallback) throws JaxmppException
jid - entity to ping.asyncCallback - ping callbackJaxmppExceptionprotected void processGet(IQ stanza) throws JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModulestanza - incoming XMPP stanzaJaxmppExceptionprotected void processSet(IQ stanza) throws XMPPException, XMLException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModulestanza - incoming XMPP stanzaXMPPExceptionXMLExceptionCopyright © 2006–2015 Tigase. All rights reserved.