Class TcpEventBusBridge

  • All Implemented Interfaces:
    io.vertx.lang.rx.RxDelegate

    public class TcpEventBusBridge
    extends Object
    implements io.vertx.lang.rx.RxDelegate
    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 Detail

      • __TYPE_ARG

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

      • TcpEventBusBridge

        public TcpEventBusBridge​(Object delegate)
    • Method Detail

      • hashCode

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

        public TcpEventBusBridge getDelegate()
        Specified by:
        getDelegate in interface io.vertx.lang.rx.RxDelegate
      • listen

        public Future<TcpEventBusBridge> listen​(int port,
                                                String address)
        Start listening on the specified port and host, ignoring port and host configured in the NetServerOptions used when creating the server.
        Parameters:
        port - the tcp port
        address - the local address
        Returns:
        a future of the result
      • rxListen

        public Single<TcpEventBusBridge> rxListen​(int port,
                                                  String address)
        Start listening on the specified port and host, ignoring port and host configured in the NetServerOptions used when creating the server.
        Parameters:
        port - the tcp port
        address - the local address
        Returns:
        a future of the result
      • listen

        public Future<TcpEventBusBridge> listen​(int port)
        Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in the NetServerOptions used when creating the server.
        Parameters:
        port - the TCP port
        Returns:
        a future of the result
      • rxListen

        public Single<TcpEventBusBridge> rxListen​(int port)
        Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in the NetServerOptions used when creating the server.
        Parameters:
        port - the TCP port
        Returns:
        a future of the result
      • listen

        public Future<TcpEventBusBridge> listen​(SocketAddress localAddress)
        Start listening on the specified local address, ignoring port and host configured in the used when creating the server.
        Parameters:
        localAddress - the local address to listen on
        Returns:
        a future of the result
      • rxListen

        public Single<TcpEventBusBridge> rxListen​(SocketAddress localAddress)
        Start listening on the specified local address, ignoring port and host configured in the used when creating the server.
        Parameters:
        localAddress - the local address to listen on
        Returns:
        a future of the result
      • close

        public Future<Void> close()
        Close the current socket.
        Returns:
        a future of the result
      • rxClose

        public Completable rxClose()
        Close the current socket.
        Returns:
        a future of the result