tigase.jaxmpp.core.client.xmpp.modules.socks5

## Class StreamhostsCallback

- java.lang.Object
- - tigase.jaxmpp.core.client.xmpp.modules.socks5.StreamhostsCallback

- All Implemented Interfaces:
    AsyncCallback

      public abstract class StreamhostsCallback
      extends Object
      implements AsyncCallback

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StreamhostsCallback(Socks5BytestreamsModule socks5Manager)`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | `onStreamhosts(List<Streamhost> hosts)`
    `void` | `onSuccess(Stanza stanza)` 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

    - #### StreamhostsCallback

          public StreamhostsCallback(Socks5BytestreamsModule socks5Manager)

  - ### Method Detail

    - #### onStreamhosts

          public abstract void onStreamhosts(List<Streamhost> hosts)
                                      throws JaxmppException

      Throws:
        `JaxmppException`

    - #### onSuccess

          public void onSuccess(Stanza stanza)
                         throws JaxmppException

      Description copied from interface: `AsyncCallback`
      Called when received response has type result.
      Specified by:
        `onSuccess` in interface `AsyncCallback`
      Parameters:
        `stanza` - received stanza
      Throws:
        `JaxmppException`

Copyright © 2006–2016 Tigase. All rights reserved.