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​(io.vertx.reactivex.core.Vertx vertx)
      • rxListen

        public io.reactivex.Single<TcpEventBusBridge> rxListen()
        Listen on default port 7000
        Returns:
        a future of the result
      • listen

        public Future<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:
        a future of the result
      • rxListen

        public io.reactivex.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:
        a future of the result
      • listen

        public Future<TcpEventBusBridge> listen​(int port)
        Listen on specific port
        Parameters:
        port - tcp port
        Returns:
        a future of the result
      • rxListen

        public io.reactivex.Single<TcpEventBusBridge> rxListen​(int port)
        Listen on specific port
        Parameters:
        port - tcp port
        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