public abstract class PubSubAsyncCallback extends Object implements AsyncCallback
Constructor and Description |
---|
PubSubAsyncCallback() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onEror(IQ response,
XMPPException.ErrorCondition errorCondition,
PubSubErrorCondition pubSubErrorCondition) |
void |
onError(Stanza responseStanza,
XMPPException.ErrorCondition errorCondition)
Called when received response has type error.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSuccess, onTimeout
protected Logger log
protected abstract void onEror(IQ response, XMPPException.ErrorCondition errorCondition, PubSubErrorCondition pubSubErrorCondition) throws JaxmppException
JaxmppException
public final void onError(Stanza responseStanza, XMPPException.ErrorCondition errorCondition) throws JaxmppException
AsyncCallback
onError
in interface AsyncCallback
responseStanza
- received IQ stanzaerrorCondition
- error conditionJaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.