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 |
---|---|
void |
close()
Close the current socket.
|
void |
close(Handler<AsyncResult<Void>> handler)
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() |
TcpEventBusBridge |
listen()
Listen on default port 7000 with a handler to report the state of the socket listen operation.
|
TcpEventBusBridge |
listen(Handler<AsyncResult<TcpEventBusBridge>> handler)
Listen on default port 7000 with a handler to report the state of the socket listen operation.
|
TcpEventBusBridge |
listen(int port)
Listen on specific port
|
TcpEventBusBridge |
listen(int port,
Handler<AsyncResult<TcpEventBusBridge>> handler)
Listen on specific port
|
TcpEventBusBridge |
listen(int port,
String address)
Listen on specific port and bind to specific address
|
TcpEventBusBridge |
listen(int port,
String address,
Handler<AsyncResult<TcpEventBusBridge>> handler)
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 TcpEventBusBridge listen(Handler<AsyncResult<TcpEventBusBridge>> handler)
handler
- the result handlerpublic TcpEventBusBridge listen()
public Single<TcpEventBusBridge> rxListen()
public TcpEventBusBridge listen(int port, String address, Handler<AsyncResult<TcpEventBusBridge>> handler)
port
- tcp portaddress
- tcp address to the bindhandler
- the result handlerpublic 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 TcpEventBusBridge listen(int port, Handler<AsyncResult<TcpEventBusBridge>> handler)
port
- tcp porthandler
- the result handlerpublic TcpEventBusBridge listen(int port)
port
- tcp portpublic Single<TcpEventBusBridge> rxListen(int port)
port
- tcp portpublic void close(Handler<AsyncResult<Void>> handler)
handler
- the result handlerpublic void close()
public Completable rxClose()
public static TcpEventBusBridge newInstance(TcpEventBusBridge arg)
Copyright © 2024 Eclipse. All rights reserved.