public interface AsyncCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Stanza responseStanza,
XMPPException.ErrorCondition error)
Called when received response has type error.
|
void |
onSuccess(Stanza responseStanza)
Called when received response has type result.
|
void |
onTimeout()
Called when response wasn't received in given time.
|
void onError(Stanza responseStanza, XMPPException.ErrorCondition error) throws JaxmppException
responseStanza - received IQ stanzaerror - error conditionJaxmppExceptionvoid onSuccess(Stanza responseStanza) throws JaxmppException
responseStanza - received stanzaJaxmppExceptionvoid onTimeout()
throws JaxmppException
JaxmppExceptionCopyright © 2006–2016 Tigase. All rights reserved.