tigase.jaxmpp.core.client.xmpp.modules

## Class EntityTimeModule.EntityTimeAsyncCallback

- java.lang.Object
- - tigase.jaxmpp.core.client.xmpp.modules.EntityTimeModule.EntityTimeAsyncCallback

- All Implemented Interfaces:
    AsyncCallback
  Enclosing class:
    EntityTimeModule

      public abstract static class EntityTimeModule.EntityTimeAsyncCallback
      extends Object
      implements AsyncCallback

  Ping callback.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EntityTimeAsyncCallback()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract void` | `onEntityTimeReceived(String tzo, Date 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

    - #### EntityTimeAsyncCallback

          public EntityTimeAsyncCallback()

  - ### Method Detail

    - #### onEntityTimeReceived

          protected abstract void onEntityTimeReceived(String tzo,
                                                       Date time)

      Called on success.
      Parameters:
        `time` - entity 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–2023 Tigase. All rights reserved.