Class TcpEventBusBridge
- java.lang.Object
-
- io.vertx.rxjava3.ext.eventbus.bridge.tcp.TcpEventBusBridge
-
- All Implemented Interfaces:
RxDelegate
public class TcpEventBusBridge extends Object implements RxDelegate
TCP EventBus bridge for Vert.xNOTE: This class has been automatically generated from the
original
non RX-ified interface using Vert.x codegen.
-
-
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.Completable
close()
Close the current socket.static TcpEventBusBridge
create(io.vertx.rxjava3.core.Vertx vertx)
static TcpEventBusBridge
create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options)
static TcpEventBusBridge
create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)
static TcpEventBusBridge
create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)
boolean
equals(Object o)
TcpEventBusBridge
getDelegate()
int
hashCode()
io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
listen()
Start listening on the port and host as configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
listen(int port)
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
listen(int port, String address)
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
listen(SocketAddress localAddress)
Start listening on the specified local address, ignoring port and host configured in the used when creating the server.static TcpEventBusBridge
newInstance(TcpEventBusBridge arg)
io.reactivex.rxjava3.core.Completable
rxClose()
Close the current socket.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
rxListen()
Start listening on the port and host as configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
rxListen(int port)
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
rxListen(int port, String address)
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptions
used when creating the server.io.reactivex.rxjava3.core.Single<TcpEventBusBridge>
rxListen(SocketAddress localAddress)
Start listening on the specified local address, ignoring port and host configured in the used when creating the server.String
toString()
-
-
-
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()
- Specified by:
getDelegate
in interfaceRxDelegate
-
create
public static TcpEventBusBridge create(io.vertx.rxjava3.core.Vertx vertx)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava3.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)
-
listen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> listen()
Start listening on the port and host as configured in theNetServerOptions
used when creating the server.- Returns:
- a future of the result
-
rxListen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> rxListen()
Start listening on the port and host as configured in theNetServerOptions
used when creating the server.- Returns:
- a future of the result
-
listen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> listen(int port, String address)
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptions
used when creating the server.- Parameters:
port
- the tcp portaddress
- the local address- Returns:
- a future of the result
-
rxListen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> rxListen(int port, String address)
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptions
used when creating the server.- Parameters:
port
- the tcp portaddress
- the local address- Returns:
- a future of the result
-
listen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> listen(int port)
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptions
used when creating the server.- Parameters:
port
- the TCP port- Returns:
- a future of the result
-
rxListen
public io.reactivex.rxjava3.core.Single<TcpEventBusBridge> rxListen(int port)
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptions
used when creating the server.- Parameters:
port
- the TCP port- Returns:
- a future of the result
-
listen
public io.reactivex.rxjava3.core.Single<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.rxjava3.core.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 io.reactivex.rxjava3.core.Completable close()
Close the current socket.- Returns:
- a future of the result
-
rxClose
public io.reactivex.rxjava3.core.Completable rxClose()
Close the current socket.- Returns:
- a future of the result
-
newInstance
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
-
-