Class TcpEventBusBridge
- java.lang.Object
-
- io.vertx.rxjava3.ext.eventbus.bridge.tcp.TcpEventBusBridge
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<TcpEventBusBridge>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description TcpEventBusBridge(TcpEventBusBridge delegate)TcpEventBusBridge(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Completableclose()Close the current socket.static TcpEventBusBridgecreate(Vertx vertx)static TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options)static TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)static TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)booleanequals(Object o)TcpEventBusBridgegetDelegate()inthashCode()Single<TcpEventBusBridge>listen()Listen on default port 7000Single<TcpEventBusBridge>listen(int port)Listen on specific portSingle<TcpEventBusBridge>listen(int port, String address)Listen on specific port and bind to specific addressstatic TcpEventBusBridgenewInstance(TcpEventBusBridge arg)CompletablerxClose()Close the current socket.Single<TcpEventBusBridge>rxListen()Listen on default port 7000Single<TcpEventBusBridge>rxListen(int port)Listen on specific portSingle<TcpEventBusBridge>rxListen(int port, String address)Listen on specific port and bind to specific addressStringtoString()
-
-
-
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
-
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 Single<TcpEventBusBridge> listen()
Listen on default port 7000- Returns:
- a future of the result
-
rxListen
public Single<TcpEventBusBridge> rxListen()
Listen on default port 7000- Returns:
- a future of the result
-
listen
public Single<TcpEventBusBridge> listen(int port, String address)
Listen on specific port and bind to specific address- Parameters:
port- tcp portaddress- tcp address to the bind- Returns:
- a future of the result
-
rxListen
public Single<TcpEventBusBridge> rxListen(int port, String address)
Listen on specific port and bind to specific address- Parameters:
port- tcp portaddress- tcp address to the bind- Returns:
- a future of the result
-
listen
public Single<TcpEventBusBridge> listen(int port)
Listen on specific port- Parameters:
port- tcp port- Returns:
- a future of the result
-
rxListen
public Single<TcpEventBusBridge> rxListen(int port)
Listen on specific port- Parameters:
port- tcp port- Returns:
- a future of the result
-
close
public Completable 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
-
newInstance
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
-
-