Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<TcpEventBusBridge> |
__TYPE_ARG |
Constructor and Description |
---|
TcpEventBusBridge(Object delegate) |
TcpEventBusBridge(TcpEventBusBridge delegate) |
Modifier and Type | Method and Description |
---|---|
Completable |
close()
Close the current socket.
|
static TcpEventBusBridge |
create(Vertx vertx) |
static TcpEventBusBridge |
create(Vertx vertx,
BridgeOptions options) |
static TcpEventBusBridge |
create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions) |
static TcpEventBusBridge |
create(Vertx vertx,
BridgeOptions options,
NetServerOptions netServerOptions,
Handler<BridgeEvent> eventHandler) |
boolean |
equals(Object o) |
TcpEventBusBridge |
getDelegate() |
int |
hashCode() |
Single<TcpEventBusBridge> |
listen()
Listen on default port 7000 with a handler to report the state of the socket listen operation.
|
Single<TcpEventBusBridge> |
listen(int port)
Listen on specific port
|
Single<TcpEventBusBridge> |
listen(int port,
String address)
Listen on specific port and bind to specific address
|
static TcpEventBusBridge |
newInstance(TcpEventBusBridge arg) |
Completable |
rxClose()
Close the current socket.
|
Single<TcpEventBusBridge> |
rxListen()
Listen on default port 7000 with a handler to report the state of the socket listen operation.
|
Single<TcpEventBusBridge> |
rxListen(int port)
Listen on specific port
|
Single<TcpEventBusBridge> |
rxListen(int port,
String address)
Listen on specific port and bind to specific address
|
String |
toString() |
public static final io.vertx.lang.rx.TypeArg<TcpEventBusBridge> __TYPE_ARG
public TcpEventBusBridge(TcpEventBusBridge delegate)
public TcpEventBusBridge(Object delegate)
public TcpEventBusBridge getDelegate()
public static TcpEventBusBridge create(Vertx vertx)
public static TcpEventBusBridge create(Vertx vertx, BridgeOptions options)
public static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions)
public static TcpEventBusBridge create(Vertx vertx, BridgeOptions options, NetServerOptions netServerOptions, Handler<BridgeEvent> eventHandler)
public Single<TcpEventBusBridge> listen()
public Single<TcpEventBusBridge> rxListen()
public Single<TcpEventBusBridge> listen(int port, String address)
port
- tcp portaddress
- tcp address to the bindpublic Single<TcpEventBusBridge> rxListen(int port, String address)
port
- tcp portaddress
- tcp address to the bindpublic Single<TcpEventBusBridge> listen(int port)
port
- tcp portpublic Single<TcpEventBusBridge> rxListen(int port)
port
- tcp portpublic Completable close()
public Completable rxClose()
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
Copyright © 2021 Eclipse. All rights reserved.