io.vertx.reactivex.ext.eventbus.bridge.tcp

## Class TcpEventBusBridge

- java.lang.Object
- - io.vertx.reactivex.ext.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 io.vertx.lang.rx.TypeArg<TcpEventBusBridge>` | `__TYPE_ARG`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TcpEventBusBridge(Object delegate)`
    `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)`
    `static TcpEventBusBridge` | `create(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)`
    `boolean` | `equals(Object o)`
    `TcpEventBusBridge` | `getDelegate()`
    `int` | `hashCode()`
    `TcpEventBusBridge` | `listen()` Listen on default port 7000 with a handler to report the state of the socket listen operation.
    `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)`
    `Completable` | `rxClose()` Close the current socket.
    `Single<TcpEventBusBridge>` | `rxListen()` Listen on default port 7000 with a handler to report the state of the socket listen operation.
    `Single<TcpEventBusBridge>` | `rxListen(int port)` Listen on specific port
    `Single<TcpEventBusBridge>` | `rxListen(int port, String address)` Listen on specific port and bind to specific address
    `String` | `toString()`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### __TYPE_ARG

          public static final io.vertx.lang.rx.TypeArg<TcpEventBusBridge> __TYPE_ARG

  - ### Constructor Detail

    - #### TcpEventBusBridge

          public TcpEventBusBridge(TcpEventBusBridge delegate)

    - #### TcpEventBusBridge

          public TcpEventBusBridge(Object delegate)

  - ### Method Detail

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### 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)

    - #### create

          public static TcpEventBusBridge create(Vertx vertx,
                                                 BridgeOptions options,
                                                 NetServerOptions netServerOptions,
                                                 Handler<BridgeEvent> eventHandler)

    - #### 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

    - #### listen

          public TcpEventBusBridge listen()

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

    - #### rxListen

          public Single<TcpEventBusBridge> rxListen()

      Listen on default port 7000 with a handler to report the state of the socket listen operation.
      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

    - #### 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

    - #### rxListen

          public 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:
        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

    - #### listen

          public TcpEventBusBridge listen(int port)

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

    - #### rxListen

          public Single<TcpEventBusBridge> rxListen(int port)

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

    - #### close

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

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

    - #### close

          public void close()

      Close the current socket.

    - #### rxClose

          public Completable rxClose()

      Close the current socket.
      Returns:

    - #### newInstance

          public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)

Copyright © 2021 Eclipse. All rights reserved.