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 conditionJaxmppException
void onSuccess(Stanza responseStanza) throws JaxmppException
responseStanza
- received stanzaJaxmppException
void onTimeout() throws JaxmppException
JaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.