public abstract static class DiscoveryModule.DiscoInfoAsyncCallback extends Object implements AsyncCallback
Modifier and Type | Field and Description |
---|---|
protected Stanza |
responseStanza |
Constructor and Description |
---|
DiscoInfoAsyncCallback(String requestedNode) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
onInfoReceived(String node,
Collection<DiscoveryModule.Identity> identities,
Collection<String> features) |
void |
onSuccess(Stanza responseStanza)
Called when received response has type result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onError, onTimeout
protected Stanza responseStanza
public DiscoInfoAsyncCallback(String requestedNode)
protected abstract void onInfoReceived(String node, Collection<DiscoveryModule.Identity> identities, Collection<String> features) throws XMLException
XMLException
public void onSuccess(Stanza responseStanza) throws XMLException
AsyncCallback
onSuccess
in interface AsyncCallback
responseStanza
- received stanzaXMLException
Copyright © 2006–2023 Tigase. All rights reserved.