class MqttClient extends AnyRef
MQTT client
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MqttClient
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MqttClient(mqttSettings: MqttSettings, mqttSessionSettings: MqttSessionSettings = MqttSessionSettings(), loggingSettings: Option[MqttLoggingSettings] = None)(implicit system: ActorSystem[_])
create a new MQTT client
create a new MQTT client
- mqttSettings
MQTT client settings
- mqttSessionSettings
MQTT session settings
- loggingSettings
optional logging settings
- system
actor system
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val commandBroadcastSource: Source[Command[Nothing], NotUsed]
- val commandMergeSink: Sink[Command[Nothing], NotUsed]
- val commandMergeSinkKillSwitch: UniqueKillSwitch
- val commandQueue: SourceQueueWithComplete[Command[Nothing]]
- val commandQueueSource: Source[Command[Nothing], SourceQueueWithComplete[Command[Nothing]]]
- val connectCommand: Command[Nothing]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val eventBroadcastConsumerFuture: Option[Future[Done]]
- val eventBroadcastSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
- val eventBroadcastSourceKillSwitch: UniqueKillSwitch
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val initialCommands: List[Command[Nothing]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val loggingSettings: Option[MqttLoggingSettings]
- val mqttSessionSettings: MqttSessionSettings
- val mqttSettings: MqttSettings
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val publishEventBroadcastSource: Source[MqttReceivedMessage, NotUsed]
- val publishMergeSink: Sink[MqttPublishMessage, NotUsed]
- val publishMergeSinkFuture: Future[Done]
- val publishMergeSinkKillSwitch: UniqueKillSwitch
- val publishMergeSinkSource: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
- val publishMergeSinkSourceWithOptionalLogger: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
- val restartingEventSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
- val restartingEventSourceSettings: RestartSettings
- val session: ActorMqttClientSession
- val sessionFlow: Flow[Command[Nothing], Either[DecodeError, Event[Nothing]], NotUsed]
- def shutdown(): Future[Done]
Shutdown the client
Shutdown the client
Shutdowns command queue, command merge sink / command broadcast source, publish merge sink, and event broadcast source (along with the MQTT session)
- returns
a future that completes after closing command queue, publish merge sink, and the (optional) event broadcast consumer (if option withEventBroadcastSourceBackpressure is false)
- val subscribeCommands: List[Command[Nothing]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val tcpConnection: Flow[ByteString, ByteString, Future[OutgoingConnection]]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()