Package | Description |
---|---|
io.vertx.rxjava.core | |
io.vertx.rxjava.core.net | |
io.vertx.rxjava.ext.stomp |
Modifier and Type | Method and Description |
---|---|
NetServer |
Vertx.createNetServer()
Create a TCP/SSL server using default options
|
NetServer |
Vertx.createNetServer(NetServerOptions options)
Create a TCP/SSL server using the specified options
|
Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<NetServer> |
NetServer.__TYPE_ARG |
Modifier and Type | Method and Description |
---|---|
NetServer |
NetServer.connectHandler(Handler<NetSocket> handler)
Supply a connect handler for this server.
|
NetServer |
NetServer.listen()
Start listening on the port and host as configured in the
NetServerOptions used when
creating the server. |
NetServer |
NetServer.listen(Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(int port)
Start listening on the specified port and host "0.0.0.0", ignoring port and host configured in the
NetServerOptions used when creating the server. |
NetServer |
NetServer.listen(int port,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(int port,
String host)
Start listening on the specified port and host, ignoring port and host configured in the
NetServerOptions used when
creating the server. |
NetServer |
NetServer.listen(int port,
String host,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(SocketAddress localAddress)
Start listening on the specified local address, ignoring port and host configured in the
NetServerOptions used when
creating the server. |
NetServer |
NetServer.listen(SocketAddress localAddress,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
static NetServer |
NetServer.newInstance(NetServer arg) |
Modifier and Type | Method and Description |
---|---|
Observable<NetServer> |
NetServer.listenObservable()
Deprecated.
use
rxListen() instead |
Observable<NetServer> |
NetServer.listenObservable(int port)
Deprecated.
use
rxListen() instead |
Observable<NetServer> |
NetServer.listenObservable(int port,
String host)
Deprecated.
use
rxListen() instead |
Observable<NetServer> |
NetServer.listenObservable(SocketAddress localAddress)
Deprecated.
use
rxListen() instead |
Single<NetServer> |
NetServer.rxListen()
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Single<NetServer> |
NetServer.rxListen(int port)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Single<NetServer> |
NetServer.rxListen(int port,
String host)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Single<NetServer> |
NetServer.rxListen(SocketAddress localAddress)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Modifier and Type | Method and Description |
---|---|
NetServer |
NetServer.listen(Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(int port,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(int port,
String host,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
NetServer |
NetServer.listen(SocketAddress localAddress,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Modifier and Type | Method and Description |
---|---|
static StompServer |
StompServer.create(Vertx vertx,
NetServer netServer)
Creates a
StompServer based on the default Stomp Server implementation. |
static StompServer |
StompServer.create(Vertx vertx,
NetServer net,
StompServerOptions options)
Creates a
StompServer based on the default Stomp Server implementation. |
Copyright © 2023 Eclipse. All rights reserved.