Package | Description |
---|---|
io.vertx.core | |
io.vertx.core.net | |
io.vertx.ext.stomp | |
io.vertx.reactivex.core.net | |
io.vertx.rxjava.core.net | |
io.vertx.rxjava3.core.net |
Modifier and Type | Method and Description |
---|---|
default 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 | Method and Description |
---|---|
NetServer |
NetServer.connectHandler(Handler<NetSocket> handler)
Supply a connect handler for this server.
|
NetServer |
NetServer.exceptionHandler(Handler<Throwable> handler)
Set an exception handler called for socket errors happening before the connection
is passed to the
connectHandler(io.vertx.core.Handler<io.vertx.core.net.NetSocket>) , e.g during the TLS handshake. |
default NetServer |
NetServer.listen(Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(int port,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(int) but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(int port,
String host,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(int, String) but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(SocketAddress localAddress,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(SocketAddress) but providing a handler that will be notified when the server is listening, or fails. |
Modifier and Type | Method and Description |
---|---|
Future<NetServer> |
NetServer.listen()
Start listening on the port and host as configured in the
NetServerOptions used when
creating the server. |
default Future<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. |
default Future<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. |
Future<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. |
Modifier and Type | Method and Description |
---|---|
default NetServer |
NetServer.listen(Handler<AsyncResult<NetServer>> listenHandler)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(int port,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(int) but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(int port,
String host,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(int, String) but providing a handler that will be notified when the server is listening, or fails. |
default NetServer |
NetServer.listen(SocketAddress localAddress,
Handler<AsyncResult<NetServer>> listenHandler)
Like
listen(SocketAddress) 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. |
Modifier and Type | Method and Description |
---|---|
NetServer |
NetServer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static NetServer |
NetServer.newInstance(NetServer arg) |
Constructor and Description |
---|
NetServer(NetServer delegate) |
Modifier and Type | Method and Description |
---|---|
NetServer |
NetServer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static NetServer |
NetServer.newInstance(NetServer arg) |
Constructor and Description |
---|
NetServer(NetServer delegate) |
Modifier and Type | Method and Description |
---|---|
NetServer |
NetServer.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static NetServer |
NetServer.newInstance(NetServer arg) |
Constructor and Description |
---|
NetServer(NetServer delegate) |
Copyright © 2024 Eclipse. All rights reserved.