public abstract static class PingModule.PingAsyncCallback extends Object implements AsyncCallback
Constructor and Description |
---|
PingAsyncCallback() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onPong(long time)
Called on success.
|
void |
onSuccess(Stanza responseStanza)
Called when received response has type result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onError, onTimeout
protected abstract void onPong(long time)
time
- ping timepublic void onSuccess(Stanza responseStanza) throws XMLException
AsyncCallback
onSuccess
in interface AsyncCallback
responseStanza
- received stanzaXMLException
Copyright © 2006–2018 Tigase. All rights reserved.