public interface XMPPResponseCallback
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Stanza response,
XmppException.ErrorCondition error)
The method is called when client receives an error from server
|
void |
onSuccess(Stanza response)
The method is called when client receives a response from server
|
void |
onTimeout()
This method is called when response wasn't received in given time.
|
void onError(Stanza response, XmppException.ErrorCondition error) throws IXIException
response - stanza which was received in response from servererror - XmppException.ErrorConditionIXIException - if an exception occurs while executing the callbackvoid onSuccess(Stanza response) throws IXIException
response - stanza which was received in response from serverIXIException - if an exception occurs while executing the callbackvoid onTimeout()
throws IXIException
IXIException - if an exception occurs while executing the callbackCopyright © 2019. All rights reserved.