public class ProtonClientImpl extends Object implements ProtonClient
| Constructor and Description |
|---|
ProtonClientImpl(Vertx vertx) |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(ProtonClientOptions options,
String host,
int port,
Handler<AsyncResult<ProtonConnection>> handler)
Connect to the given host and port, without credentials.
|
void |
connect(ProtonClientOptions options,
String host,
int port,
String username,
String password,
Handler<AsyncResult<ProtonConnection>> handler)
Connect to the given host and port, with credentials (if required by server peer).
|
void |
connect(String host,
int port,
Handler<AsyncResult<ProtonConnection>> handler)
Connect to the given host and port, without credentials.
|
void |
connect(String host,
int port,
String username,
String password,
Handler<AsyncResult<ProtonConnection>> handler)
Connect to the given host and port, with credentials (if required by server peer).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatepublic ProtonClientImpl(Vertx vertx)
public void connect(String host, int port, Handler<AsyncResult<ProtonConnection>> handler)
ProtonClientconnect in interface ProtonClienthost - the host to connect toport - the port to connect tohandler - handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.public void connect(String host, int port, String username, String password, Handler<AsyncResult<ProtonConnection>> handler)
ProtonClientconnect in interface ProtonClienthost - the host to connect toport - the port to connect tousername - the user name to use in any SASL negotiation that requires itpassword - the password to use in any SASL negotiation that requires ithandler - handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.public void connect(ProtonClientOptions options, String host, int port, Handler<AsyncResult<ProtonConnection>> handler)
ProtonClientconnect in interface ProtonClientoptions - the options to applyhost - the host to connect toport - the port to connect tohandler - handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.public void connect(ProtonClientOptions options, String host, int port, String username, String password, Handler<AsyncResult<ProtonConnection>> handler)
ProtonClientconnect in interface ProtonClientoptions - the options to applyhost - the host to connect toport - the port to connect tousername - the user name to use in any SASL negotiation that requires itpassword - the password to use in any SASL negotiation that requires ithandler - handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.Copyright © 2020. All rights reserved.