Class TcpEventBusBridge

  • All Implemented Interfaces:
    RxDelegate

    public class TcpEventBusBridge
    extends Object
    implements 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.

    • Constructor Detail

      • TcpEventBusBridge

        public TcpEventBusBridge​(Object delegate)
    • Method Detail

      • hashCode

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

        public static TcpEventBusBridge create​(io.vertx.reactivex.core.Vertx vertx)
      • rxListen

        public io.reactivex.Single<TcpEventBusBridge> rxListen()
        Start listening on the port and host as configured in the NetServerOptions used when creating the server.
        Returns:
        a future of the result
      • 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 io.reactivex.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 io.reactivex.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 io.reactivex.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 io.reactivex.Completable rxClose()
        Close the current socket.
        Returns:
        a future of the result