io.vertx.ext.rxjava.eventbus.bridge.tcp

## Class TcpEventBusBridge

- java.lang.Object
- - io.vertx.ext.rxjava.eventbus.bridge.tcp.TcpEventBusBridge

-     public class TcpEventBusBridge
      extends Object

  TCP EventBus bridge for Vert.x

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

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static TypeArg<TcpEventBusBridge>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TcpEventBusBridge(TcpEventBusBridge delegate)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `close()` Close the current socket.
    `void` | `close(Handler<AsyncResult<Void>> handler)` Close the current socket.
    `static TcpEventBusBridge` | `create(Vertx vertx)`
    `static TcpEventBusBridge` | `create(Vertx vertx, BridgeOptions options)`
    `static TcpEventBusBridge` | `create(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)`
    `TcpEventBusBridge` | `getDelegate()`
    `TcpEventBusBridge` | `listen()` Listen on default port 7000
    `TcpEventBusBridge` | `listen(Handler<AsyncResult<TcpEventBusBridge>> handler)` Listen on default port 7000 with a handler to report the state of the socket listen operation.
    `TcpEventBusBridge` | `listen(int port)` Listen on specific port
    `TcpEventBusBridge` | `listen(int port, Handler<AsyncResult<TcpEventBusBridge>> handler)` Listen on specific port
    `TcpEventBusBridge` | `listen(int port, String address)` Listen on specific port and bind to specific address
    `TcpEventBusBridge` | `listen(int port, String address, Handler<AsyncResult<TcpEventBusBridge>> handler)` Listen on specific port and bind to specific address
    `static TcpEventBusBridge` | `newInstance(TcpEventBusBridge arg)`
    `rx.Single<Void>` | `rxClose()` Close the current socket.
    `rx.Single<TcpEventBusBridge>` | `rxListen()` Listen on default port 7000 with a handler to report the state of the socket listen operation.
    `rx.Single<TcpEventBusBridge>` | `rxListen(int port)` Listen on specific port
    `rx.Single<TcpEventBusBridge>` | `rxListen(int port, String address)` Listen on specific port and bind to specific address

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

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

- - ### Field Detail

    - #### __TYPE_ARG

          public static final TypeArg<TcpEventBusBridge> __TYPE_ARG

  - ### Constructor Detail

    - #### TcpEventBusBridge

          public TcpEventBusBridge(TcpEventBusBridge delegate)

  - ### Method Detail

    - #### getDelegate

          public TcpEventBusBridge getDelegate()

    - #### create

          public static TcpEventBusBridge create(Vertx vertx)

    - #### create

          public static TcpEventBusBridge create(Vertx vertx,
                                                 BridgeOptions options)

    - #### create

          public static TcpEventBusBridge create(Vertx vertx,
                                                 BridgeOptions options,
                                                 NetServerOptions netServerOptions)

    - #### listen

          public TcpEventBusBridge listen()

      Listen on default port 7000
      Returns:
        self

    - #### listen

          public TcpEventBusBridge listen(Handler<AsyncResult<TcpEventBusBridge>> handler)

      Listen on default port 7000 with a handler to report the state of the socket listen operation.
      Parameters:
        `handler` - the result handler
      Returns:
        self

    - #### rxListen

          public rx.Single<TcpEventBusBridge> rxListen()

      Listen on default port 7000 with a handler to report the state of the socket listen operation.
      Returns:

    - #### listen

          public TcpEventBusBridge listen(int port,
                                          String address)

      Listen on specific port and bind to specific address
      Parameters:
        `port` - tcp port
        `address` - tcp address to the bind
      Returns:
        self

    - #### listen

          public TcpEventBusBridge listen(int port,
                                          String address,
                                          Handler<AsyncResult<TcpEventBusBridge>> handler)

      Listen on specific port and bind to specific address
      Parameters:
        `port` - tcp port
        `address` - tcp address to the bind
        `handler` - the result handler
      Returns:
        self

    - #### rxListen

          public rx.Single<TcpEventBusBridge> rxListen(int port,
                                                       String address)

      Listen on specific port and bind to specific address
      Parameters:
        `port` - tcp port
        `address` - tcp address to the bind
      Returns:

    - #### listen

          public TcpEventBusBridge listen(int port)

      Listen on specific port
      Parameters:
        `port` - tcp port
      Returns:
        self

    - #### listen

          public TcpEventBusBridge listen(int port,
                                          Handler<AsyncResult<TcpEventBusBridge>> handler)

      Listen on specific port
      Parameters:
        `port` - tcp port
        `handler` - the result handler
      Returns:
        self

    - #### rxListen

          public rx.Single<TcpEventBusBridge> rxListen(int port)

      Listen on specific port
      Parameters:
        `port` - tcp port
      Returns:

    - #### close

          public void close(Handler<AsyncResult<Void>> handler)

      Close the current socket.
      Parameters:
        `handler` - the result handler

    - #### rxClose

          public rx.Single<Void> rxClose()

      Close the current socket.
      Returns:

    - #### close

          public void close()

      Close the current socket.

    - #### newInstance

          public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)

Copyright © 2017. All rights reserved.