|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.jaxmpp.core.client.xmpp.modules.adhoc.AdHocCommansModule.AdHocCommansAsyncCallback
public abstract static class AdHocCommansModule.AdHocCommansAsyncCallback
Callback to handle result of ad-hoc command.
| Constructor Summary | |
|---|---|
AdHocCommansModule.AdHocCommansAsyncCallback()
|
|
| Method Summary | |
|---|---|
protected Element |
getCommand()
Return <command xmlns='http://jabber.org/protocol/commands' /> element of returned stanza. |
protected IQ |
getResponse()
Reutrns IQ stanza with response. |
protected abstract void |
onResponseReceived(String sessionid,
String node,
State status,
JabberDataElement data)
Method called when response of ad-hoc command is received. |
void |
onSuccess(Stanza responseStanza)
Called when received response has type result. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface tigase.jaxmpp.core.client.AsyncCallback |
|---|
onError, onTimeout |
| Constructor Detail |
|---|
public AdHocCommansModule.AdHocCommansAsyncCallback()
| Method Detail |
|---|
protected Element getCommand()
protected IQ getResponse()
protected abstract void onResponseReceived(String sessionid,
String node,
State status,
JabberDataElement data)
throws JaxmppException
sessionid - ID of session. May be null.node - nodestatus - status of command executiondata - Data Form
JaxmppException
public void onSuccess(Stanza responseStanza)
throws JaxmppException
onSuccess in interface AsyncCallbackresponseStanza - received stanza
JaxmppException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||