public abstract class StreamInitiationOfferAsyncCallback extends Object implements AsyncCallback
| Constructor and Description |
|---|
StreamInitiationOfferAsyncCallback(String sid) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
onAccept(String sid) |
abstract void |
onError() |
void |
onError(Stanza responseStanza,
XMPPException.ErrorCondition error)
Called when received response has type error.
|
abstract void |
onReject() |
void |
onSuccess(Stanza stanza)
Called when received response has type result.
|
void |
onTimeout()
Called when response wasn't received in given time.
|
void |
setSid(String sid) |
public StreamInitiationOfferAsyncCallback(String sid)
public abstract void onAccept(String sid)
public abstract void onError()
public void onError(Stanza responseStanza, XMPPException.ErrorCondition error) throws JaxmppException
AsyncCallbackonError in interface AsyncCallbackresponseStanza - received IQ stanzaerror - error conditionJaxmppExceptionpublic abstract void onReject()
public void onSuccess(Stanza stanza) throws JaxmppException
AsyncCallbackonSuccess in interface AsyncCallbackstanza - received stanzaJaxmppExceptionpublic void onTimeout()
AsyncCallbackonTimeout in interface AsyncCallbackpublic void setSid(String sid)
Copyright © 2006–2018 Tigase. All rights reserved.