public static class PahoClient.Builder extends MqttClient.Builder<PahoClient.Builder>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PahoClient |
build() |
protected PahoClient.Builder |
builder() |
Supplier<org.eclipse.paho.client.mqttv3.MqttClientPersistence> |
persistentProvider() |
PahoClient.Builder |
persistentProvider(Supplier<org.eclipse.paho.client.mqttv3.MqttClientPersistence> provider) |
broker, broker, broker, clientId, clientId, codec, codec, credentials, credentials, namespace, namespace
module, modules
public Builder()
protected PahoClient.Builder builder()
builder
in class AbstractClient.Builder<PahoClient.Builder>
public PahoClient.Builder persistentProvider(Supplier<org.eclipse.paho.client.mqttv3.MqttClientPersistence> provider)
public Supplier<org.eclipse.paho.client.mqttv3.MqttClientPersistence> persistentProvider()
public PahoClient build() throws Exception
Exception
Copyright © 2017. All rights reserved.