Package | Description |
---|---|
io.vertx.proton |
Modifier and Type | Method and Description |
---|---|
ProtonServer |
ProtonServer.connectHandler(io.vertx.core.Handler<ProtonConnection> handler)
The handler called when a new client connection is accepted.
|
static ProtonServer |
ProtonServer.create(io.vertx.core.Vertx vertx)
Create a ProtonServer instance with the given Vertx instance.
|
static ProtonServer |
ProtonServer.create(io.vertx.core.Vertx vertx,
ProtonServerOptions options)
Create a ProtonServer instance with the given Vertx instance and options.
|
ProtonServer |
ProtonServer.listen()
Start listening on the host and port configured in the options used when creating the server.
|
ProtonServer |
ProtonServer.listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the host and port configured in the options used when creating the server, with the result
handler called when the operation completes.
|
ProtonServer |
ProtonServer.listen(int port)
Start listening on the given port, and host interface "0.0.0.0".
|
ProtonServer |
ProtonServer.listen(int port,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the given port and host interface "0.0.0.0", with the result handler called when the operation
completes.
|
ProtonServer |
ProtonServer.listen(int port,
String host)
Start listening on the given port, and host interface.
|
ProtonServer |
ProtonServer.listen(int port,
String host,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the given port and host interface, with the result handler called when the operation completes.
|
ProtonServer |
ProtonServer.saslAuthenticatorFactory(ProtonSaslAuthenticatorFactory authenticatorFactory)
Sets the authenticator factory to be used by the server.
|
Modifier and Type | Method and Description |
---|---|
ProtonServer |
ProtonServer.listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the host and port configured in the options used when creating the server, with the result
handler called when the operation completes.
|
ProtonServer |
ProtonServer.listen(int port,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the given port and host interface "0.0.0.0", with the result handler called when the operation
completes.
|
ProtonServer |
ProtonServer.listen(int port,
String host,
io.vertx.core.Handler<io.vertx.core.AsyncResult<ProtonServer>> handler)
Start listening on the given port and host interface, with the result handler called when the operation completes.
|
Copyright © 2021 Eclipse. All rights reserved.