Class 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.

    • Constructor Detail

      • TcpEventBusBridge

        public TcpEventBusBridge​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static TcpEventBusBridge create​(Vertx vertx,
                                               io.vertx.ext.bridge.BridgeOptions options)
      • create

        public static TcpEventBusBridge create​(Vertx vertx,
                                               io.vertx.ext.bridge.BridgeOptions options,
                                               io.vertx.core.net.NetServerOptions netServerOptions)
      • create

        public static TcpEventBusBridge create​(Vertx vertx,
                                               io.vertx.ext.bridge.BridgeOptions options,
                                               io.vertx.core.net.NetServerOptions netServerOptions,
                                               io.vertx.core.Handler<BridgeEvent> eventHandler)
      • listen

        public TcpEventBusBridge listen​(io.vertx.core.Handler<io.vertx.core.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 rx.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,
                                        io.vertx.core.Handler<io.vertx.core.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 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:
        self
      • listen

        public TcpEventBusBridge listen​(int port,
                                        io.vertx.core.Handler<io.vertx.core.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 rx.Single<TcpEventBusBridge> rxListen​(int port)
        Listen on specific port
        Parameters:
        port - tcp port
        Returns:
        self
      • close

        public void close​(io.vertx.core.Handler<io.vertx.core.AsyncResult<Void>> handler)
        Close the current socket.
        Parameters:
        handler - the result handler
      • close

        public void close()
        Close the current socket.
      • rxClose

        public rx.Single<Void> rxClose()
        Close the current socket.
        Returns: