| Package | Description |
|---|---|
| io.vertx.axle.core | |
| io.vertx.axle.core.net |
| Modifier and Type | Method and Description |
|---|---|
NetServer |
Vertx.createNetServer()
Create a TCP/SSL server using default options
|
NetServer |
Vertx.createNetServer(io.vertx.core.net.NetServerOptions options)
Create a TCP/SSL server using the specified options
|
| Modifier and Type | Field and Description |
|---|---|
static TypeArg<NetServer> |
NetServer.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
NetServer |
NetServer.connectHandler(Consumer<NetSocket> handler)
Supply a connect handler for this server.
|
static NetServer |
NetServer.newInstance(io.vertx.core.net.NetServer arg) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<NetServer> |
NetServer.listen()
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
CompletionStage<NetServer> |
NetServer.listen(int port)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
CompletionStage<NetServer> |
NetServer.listen(int port,
String host)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
CompletionStage<NetServer> |
NetServer.listen(SocketAddress localAddress)
Like
listen() but providing a handler that will be notified when the server is listening, or fails. |
Copyright © 2019 SmallRye. All rights reserved.