public abstract class StreamhostsCallback extends Object implements AsyncCallback
Constructor and Description |
---|
StreamhostsCallback(Socks5BytestreamsModule socks5Manager) |
Modifier and Type | Method and Description |
---|---|
abstract void |
onStreamhosts(List<Streamhost> hosts) |
void |
onSuccess(Stanza stanza)
Called when received response has type result.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onError, onTimeout
public StreamhostsCallback(Socks5BytestreamsModule socks5Manager)
public abstract void onStreamhosts(List<Streamhost> hosts) throws JaxmppException
JaxmppException
public void onSuccess(Stanza stanza) throws JaxmppException
AsyncCallback
onSuccess
in interface AsyncCallback
stanza
- received stanzaJaxmppException
Copyright © 2006–2023 Tigase. All rights reserved.