|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule
tigase.jaxmpp.core.client.xmpp.modules.PingModule
public class PingModule
Implementation of XEP-0199 XMPP Ping.
| Nested Class Summary | |
|---|---|
static class |
PingModule.PingAsyncCallback
Ping callback. |
| Field Summary |
|---|
| Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
log, observable, sessionObject, writer |
| Constructor Summary | |
|---|---|
PingModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
|
|
| Method Summary | |
|---|---|
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'>. |
| Methods inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractIQModule |
|---|
addListener, addListener, process, removeAllListeners, removeListener, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PingModule(Observable parentObservable,
SessionObject sessionObject,
PacketWriter packetWriter)
| Method Detail |
|---|
public Criteria getCriteria()
XmppModule
public String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
See Service Discovery Features
public void ping(JID jid,
AsyncCallback asyncCallback)
throws JaxmppException
jid - entity to ping.asyncCallback - general callback
JaxmppException
public void ping(JID jidInstance,
PingModule.PingAsyncCallback asyncCallback)
throws JaxmppException
jid - entity to ping.asyncCallback - ping callback
JaxmppException
protected void processGet(IQ stanza)
throws JaxmppException
AbstractIQModule<iq type='get'>.
processGet in class AbstractIQModulestanza - incoming XMPP stanza
JaxmppException
protected void processSet(IQ stanza)
throws XMPPException,
XMLException
AbstractIQModule<iq type='set'>.
processSet in class AbstractIQModulestanza - incoming XMPP stanza
XMPPException
XMLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||