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 stanzaerrorCondition
- error conditionvoid onSuccess(Packet responseStanza)
responseStanza
- received stanzavoid onTimeout()
Copyright © 2017 "Tigase, Inc.". All rights reserved.