io.vertx.rxjava.ext.stomp

## Class StompClient

- java.lang.Object
- - io.vertx.rxjava.ext.stomp.StompClient

-     public class StompClient
      extends Object

  Defines a STOMP client.

  NOTE: This class has been automatically generated from the `original` non RX-ified interface using Vert.x codegen.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StompClient(StompClient delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Closes the client.
    `StompClient` | `connect(Handler<AsyncResult<StompClientConnection>> resultHandler)` Connects to the server using the host and port configured in the client's options.
    `StompClient` | `connect(int port, String host, Handler<AsyncResult<StompClientConnection>> resultHandler)` Connects to the server.
    `StompClient` | `connect(int port, String host, NetClient net, Handler<AsyncResult<StompClientConnection>> resultHandler)` Connects to the server.
    `StompClient` | `connect(NetClient net, Handler<AsyncResult<StompClientConnection>> resultHandler)` Connects to the server.
    `rx.Observable<StompClientConnection>` | `connectObservable()` Connects to the server using the host and port configured in the client's options.
    `rx.Observable<StompClientConnection>` | `connectObservable(int port, String host)` Connects to the server.
    `rx.Observable<StompClientConnection>` | `connectObservable(int port, String host, NetClient net)` Connects to the server.
    `rx.Observable<StompClientConnection>` | `connectObservable(NetClient net)` Connects to the server.
    `static StompClient` | `create(Vertx vertx)` Creates a `StompClient` using the default implementation.
    `static StompClient` | `create(Vertx vertx, StompClientOptions options)` Creates a `StompClient` using the default implementation.
    `Object` | `getDelegate()`
    `static StompClient` | `newInstance(StompClient arg)`
    `StompClientOptions` | `options()`
    `Vertx` | `vertx()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StompClient

          public StompClient(StompClient delegate)

  - ### Method Detail

    - #### getDelegate

          public Object getDelegate()

    - #### create

          public static StompClient create(Vertx vertx)

      Creates a `StompClient` using the default implementation.
      Parameters:
        `vertx` - the vert.x instance to use
      Returns:
        the created `StompClient`

    - #### create

          public static StompClient create(Vertx vertx,
                                           StompClientOptions options)

      Creates a `StompClient` using the default implementation.
      Parameters:
        `vertx` - the vert.x instance to use
        `options` - the options
      Returns:
        the created `StompClient`

    - #### connect

          public StompClient connect(int port,
                                     String host,
                                     Handler<AsyncResult<StompClientConnection>> resultHandler)

      Connects to the server.
      Parameters:
        `port` - the server port
        `host` - the server host
        `resultHandler` - handler called with the connection result
      Returns:
        the current `StompClient`

    - #### connectObservable

          public rx.Observable<StompClientConnection> connectObservable(int port,
                                                                        String host)

      Connects to the server.
      Parameters:
        `port` - the server port
        `host` - the server host
      Returns:

    - #### connect

          public StompClient connect(NetClient net,
                                     Handler<AsyncResult<StompClientConnection>> resultHandler)

      Connects to the server.
      Parameters:
        `net` - the NET client to use
        `resultHandler` - handler called with the connection result
      Returns:
        the current `StompClient`

    - #### connectObservable

          public rx.Observable<StompClientConnection> connectObservable(NetClient net)

      Connects to the server.
      Parameters:
        `net` - the NET client to use
      Returns:

    - #### connect

          public StompClient connect(int port,
                                     String host,
                                     NetClient net,
                                     Handler<AsyncResult<StompClientConnection>> resultHandler)

      Connects to the server.
      Parameters:
        `port` - the server port
        `host` - the server host
        `net` - the NET client to use
        `resultHandler` - handler called with the connection result
      Returns:
        the current `StompClient`

    - #### connectObservable

          public rx.Observable<StompClientConnection> connectObservable(int port,
                                                                        String host,
                                                                        NetClient net)

      Connects to the server.
      Parameters:
        `port` - the server port
        `host` - the server host
        `net` - the NET client to use
      Returns:

    - #### connect

          public StompClient connect(Handler<AsyncResult<StompClientConnection>> resultHandler)

      Connects to the server using the host and port configured in the client's options.
      Parameters:
        `resultHandler` - handler called with the connection result
      Returns:
        the current `StompClient`

    - #### connectObservable

          public rx.Observable<StompClientConnection> connectObservable()

      Connects to the server using the host and port configured in the client's options.
      Returns:

    - #### close

          public void close()

      Closes the client.

    - #### options

          public StompClientOptions options()

      Returns:
        the client's options.

    - #### vertx

          public Vertx vertx()

      Returns:
        the vert.x instance used by the client.

    - #### newInstance

          public static StompClient newInstance(StompClient arg)

Copyright © 2015. All rights reserved.