Class TcpEventBusBridge
java.lang.Object
io.vertx.reactivex.ext.eventbus.bridge.tcp.TcpEventBusBridge
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTcpEventBusBridge(TcpEventBusBridge delegate) TcpEventBusBridge(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionclose()Close the current socket.static TcpEventBusBridgestatic TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options) static TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions) static TcpEventBusBridgecreate(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler) booleaninthashCode()listen()Start listening on the port and host as configured in theNetServerOptionsused when creating the server.listen(int port) Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptionsused when creating the server.Start listening on the specified port and host, ignoring port and host configured in theNetServerOptionsused when creating the server.listen(SocketAddress localAddress) Start listening on the specified local address, ignoring port and host configured in the used when creating the server.static TcpEventBusBridgerxClose()Close the current socket.rxListen()Start listening on the port and host as configured in theNetServerOptionsused when creating the server.rxListen(int port) Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptionsused when creating the server.Start listening on the specified port and host, ignoring port and host configured in theNetServerOptionsused when creating the server.rxListen(SocketAddress localAddress) Start listening on the specified local address, ignoring port and host configured in the used when creating the server.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
TcpEventBusBridge
-
TcpEventBusBridge
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getDelegate
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
create
-
create
-
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
Start listening on the port and host as configured in theNetServerOptionsused when creating the server.- Returns:
- a future of the result
-
rxListen
Start listening on the port and host as configured in theNetServerOptionsused when creating the server.- Returns:
- a future of the result
-
listen
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptionsused when creating the server.- Parameters:
port- the tcp portaddress- the local address- Returns:
- a future of the result
-
rxListen
Start listening on the specified port and host, ignoring port and host configured in theNetServerOptionsused when creating the server.- Parameters:
port- the tcp portaddress- the local address- Returns:
- a future of the result
-
listen
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptionsused when creating the server.- Parameters:
port- the TCP port- Returns:
- a future of the result
-
rxListen
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in theNetServerOptionsused when creating the server.- Parameters:
port- the TCP port- Returns:
- a future of the result
-
listen
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
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
-
rxClose
-
newInstance
-