Class TcpEventBusBridge
- java.lang.Object
-
- io.vertx.rxjava3.ext.eventbus.bridge.tcp.TcpEventBusBridge
-
-
Field Summary
Fields Modifier and Type Field Description static 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 io.reactivex.rxjava3.core.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()io.reactivex.rxjava3.core.Single<TcpEventBusBridge>listen()Listen on default port 7000 with a handler to report the state of the socket listen operation.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>listen(int port)Listen on specific portio.reactivex.rxjava3.core.Single<TcpEventBusBridge>listen(int port, String address)Listen on specific port and bind to specific addressstatic TcpEventBusBridgenewInstance(TcpEventBusBridge arg)io.reactivex.rxjava3.core.CompletablerxClose()Close the current socket.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>rxListen()Listen on default port 7000 with a handler to report the state of the socket listen operation.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>rxListen(int port)Listen on specific portio.reactivex.rxjava3.core.Single<TcpEventBusBridge>rxListen(int port, String address)Listen on specific port and bind to specific addressStringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final 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 io.reactivex.rxjava3.core.Single<TcpEventBusBridge> listen()
Listen on default port 7000 with a handler to report the state of the socket listen operation.- Returns:
- self
-
rxListen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> rxListen()
Listen on default port 7000 with a handler to report the state of the socket listen operation.- Returns:
- self
-
listen
public io.reactivex.rxjava3.core.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:
- self
-
rxListen
public io.reactivex.rxjava3.core.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:
- self
-
listen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> listen(int port)
Listen on specific port- Parameters:
port- tcp port- Returns:
- self
-
rxListen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> rxListen(int port)
Listen on specific port- Parameters:
port- tcp port- Returns:
- self
-
close
public io.reactivex.rxjava3.core.Completable close()
Close the current socket.- Returns:
-
rxClose
public io.reactivex.rxjava3.core.Completable rxClose()
Close the current socket.- Returns:
-
newInstance
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
-
-