tigase.jaxmpp.core.client.xmpp.modules
Class PingModule.PingAsyncCallback

java.lang.Object
  extended by 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.


Constructor Summary
PingModule.PingAsyncCallback()
           
 
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
 
Methods inherited from interface tigase.jaxmpp.core.client.AsyncCallback
onError, onTimeout
 

Constructor Detail

PingModule.PingAsyncCallback

public PingModule.PingAsyncCallback()
Method Detail

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.