Class TcpEventBusBridge
- java.lang.Object
-
- io.vertx.rxjava.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 Future<Void>
close()
Close the current socket.static TcpEventBusBridge
create(io.vertx.rxjava.core.Vertx vertx)
static TcpEventBusBridge
create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options)
static TcpEventBusBridge
create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)
static TcpEventBusBridge
create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)
boolean
equals(Object o)
TcpEventBusBridge
getDelegate()
int
hashCode()
Future<TcpEventBusBridge>
listen()
Listen on default port 7000Future<TcpEventBusBridge>
listen(int port)
Listen on specific portFuture<TcpEventBusBridge>
listen(int port, String address)
Listen on specific port and bind to specific addressstatic TcpEventBusBridge
newInstance(TcpEventBusBridge arg)
rx.Single<Void>
rxClose()
Close the current socket.rx.Single<TcpEventBusBridge>
rxListen()
Listen on default port 7000rx.Single<TcpEventBusBridge>
rxListen(int port)
Listen on specific portrx.Single<TcpEventBusBridge>
rxListen(int port, String address)
Listen on specific port and bind to specific addressString
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()
-
create
public static TcpEventBusBridge create(io.vertx.rxjava.core.Vertx vertx)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)
-
create
public static TcpEventBusBridge create(io.vertx.rxjava.core.Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)
-
listen
public Future<TcpEventBusBridge> listen()
Listen on default port 7000- Returns:
- a future of the result
-
rxListen
public rx.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 portaddress
- tcp address to the bind- Returns:
- a future of the result
-
rxListen
public rx.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 Future<TcpEventBusBridge> listen(int port)
Listen on specific port- Parameters:
port
- tcp port- Returns:
- a future of the result
-
rxListen
public rx.Single<TcpEventBusBridge> rxListen(int port)
Listen on specific port- Parameters:
port
- tcp port- Returns:
- a future of the result
-
rxClose
public rx.Single<Void> rxClose()
Close the current socket.- Returns:
- a future of the result
-
newInstance
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
-
-