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.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PingAsyncCallback()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    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.

    - ### 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

    - #### PingAsyncCallback

          public 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–2017 Tigase. All rights reserved.