public interface AsyncCallback
Modifier and Type | Method and Description |
---|---|
void |
onError(Packet responseStanza,
String errorCondition)
Called when received response has type error.
|
void |
onSuccess(Packet responseStanza)
Called when received response has type result.
|
void |
onTimeout()
Called when response wasn't received in given time.
|
void onError(Packet responseStanza, String errorCondition)
responseStanza
- received IQ stanzaerror
- error conditionJaxmppException
void onSuccess(Packet responseStanza)
responseStanza
- received stanzaJaxmppException
void onTimeout()
JaxmppException
Copyright © 2014 "Tigase, Inc.". All rights reserved.