tigase.jaxmpp.core.client.xmpp.modules
Class PingModule.PingAsyncCallback
java.lang.Object
tigase.jaxmpp.core.client.xmpp.modules.PingModule.PingAsyncCallback
- All Implemented Interfaces:
- AsyncCallback
- Enclosing class:
- PingModule
public abstract static class PingModule.PingAsyncCallback
- extends Object
- implements AsyncCallback
Ping callback.
|
Method Summary |
protected abstract void |
onPong(long time)
Called on success. |
void |
onSuccess(Stanza responseStanza)
Called when received response has type result. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PingModule.PingAsyncCallback
public PingModule.PingAsyncCallback()
onPong
protected abstract void onPong(long time)
- Called on success.
- Parameters:
time - ping time
onSuccess
public void onSuccess(Stanza responseStanza)
throws XMLException
- Description copied from interface:
AsyncCallback
- Called when received response has type result.
- Specified by:
onSuccess in interface AsyncCallback
- Parameters:
responseStanza - received stanza
- Throws:
XMLException
Copyright © 2006-2012 Tigase. All Rights Reserved.