public abstract static class MqttClient.Builder<T extends MqttClient.Builder<T>> extends AbstractClient.Builder<T>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
URI |
broker() |
T |
broker(String broker) |
T |
broker(URI broker) |
String |
clientId() |
T |
clientId(String clientId) |
BinaryPayloadCodec |
codec() |
T |
codec(BinaryPayloadCodec codec) |
Object |
credentials() |
T |
credentials(Credentials.UserAndPassword userAndPassword) |
MqttNamespace |
namespace() |
T |
namespace(MqttNamespace namespace) |
builder, module, modulesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildpublic Builder()
public T codec(BinaryPayloadCodec codec)
public BinaryPayloadCodec codec()
public T namespace(MqttNamespace namespace)
public MqttNamespace namespace()
public T credentials(Credentials.UserAndPassword userAndPassword)
public T broker(String broker) throws URISyntaxException
URISyntaxExceptionpublic T broker(URI broker) throws URISyntaxException
URISyntaxExceptionpublic Object credentials()
Copyright © 2017. All rights reserved.