public abstract static class EntityTimeModule.EntityTimeAsyncCallback extends Object implements AsyncCallback
Constructor and Description |
---|
EntityTimeAsyncCallback() |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onError, onTimeout
protected abstract void onEntityTimeReceived(String tzo, Date time)
time
- entity timepublic void onSuccess(Stanza responseStanza) throws XMLException
AsyncCallback
onSuccess
in interface AsyncCallback
responseStanza
- received stanzaXMLException
Copyright © 2006–2023 Tigase. All rights reserved.