final class MqttConnectionSettings extends AnyRef
Connection settings passed to the underlying Paho client.
See https://www.eclipse.org/paho/files/javadoc/org/eclipse/paho/client/mqttv3/MqttConnectOptions.html
- Source
- settings.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MqttConnectionSettings
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- val auth: Option[(String, String)]
- val automaticReconnect: Boolean
- val broker: String
- val cleanSession: Boolean
- val clientId: String
- val connectionTimeout: FiniteDuration
- val disconnectQuiesceTimeout: FiniteDuration
- val disconnectTimeout: FiniteDuration
- val keepAliveInterval: FiniteDuration
- val maxInFlight: Int
- val mqttVersion: Int
- val offlinePersistenceSettings: Option[MqttOfflinePersistenceSettings]
- val persistence: MqttClientPersistence
- val serverUris: Seq[String]
- val socketFactory: Option[SSLSocketFactory]
- val sslHostnameVerifier: Option[HostnameVerifier]
- val sslProperties: Map[String, String]
- def toString(): String
- Definition Classes
- MqttConnectionSettings → AnyRef → Any
- val will: Option[MqttMessage]
- def withAuth(username: String, password: String): MqttConnectionSettings
- def withAutomaticReconnect(value: Boolean): MqttConnectionSettings
- def withBroker(value: String): MqttConnectionSettings
- def withCleanSession(value: Boolean): MqttConnectionSettings
- def withClientId(clientId: String): MqttConnectionSettings
- def withConnectionTimeout(value: Duration): MqttConnectionSettings
Java API
- def withConnectionTimeout(value: FiniteDuration): MqttConnectionSettings
Scala API
- def withDisconnectQuiesceTimeout(value: Duration): MqttConnectionSettings
Java API
- def withDisconnectQuiesceTimeout(value: FiniteDuration): MqttConnectionSettings
Scala API
- def withDisconnectTimeout(value: Duration): MqttConnectionSettings
Java API
- def withDisconnectTimeout(value: FiniteDuration): MqttConnectionSettings
Scala API
- def withKeepAliveInterval(value: Duration): MqttConnectionSettings
Java API
- def withKeepAliveInterval(value: FiniteDuration): MqttConnectionSettings
Scala API
- def withMaxInFlight(value: Int): MqttConnectionSettings
- def withMqttVersion(value: Int): MqttConnectionSettings
- def withOfflinePersistenceSettings(bufferSize: Int = 5000, deleteOldestMessage: Boolean = false, persistBuffer: Boolean = true): MqttConnectionSettings
- def withPersistence(value: MqttClientPersistence): MqttConnectionSettings
- def withServerUri(value: String): MqttConnectionSettings
- def withServerUris(values: List[String]): MqttConnectionSettings
Java API
- def withServerUris(values: Seq[String]): MqttConnectionSettings
Scala API
- def withSocketFactory(value: SSLSocketFactory): MqttConnectionSettings
- def withSslHostnameVerifier(value: HostnameVerifier): MqttConnectionSettings
- def withSslProperties(value: Map[String, String]): MqttConnectionSettings
Java API
- def withSslProperties(value: Map[String, String]): MqttConnectionSettings
Scala API
- def withWill(value: MqttMessage): MqttConnectionSettings