class MqttClient extends LazyLogging
MQTT client
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MqttClient
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new MqttClient(mqttSettings: MqttSettings, mqttSessionSettings: MqttSessionSettings = MqttSessionSettings(), name: String = "")(implicit system: ActorSystem[_])
create a new MQTT client
create a new MQTT client
- mqttSettings
MQTT client settings
- mqttSessionSettings
MQTT session settings
- name
MQTT client name used for logging
- 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 commandQueue: SourceQueueWithComplete[Command[Nothing]]
- val commandQueueBroadcast: Source[Command[Nothing], NotUsed]
- val connectCommand: Command[Nothing]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val eventBroadcast: Source[Either[DecodeError, Event[Nothing]], NotUsed]
- val eventBroadcastConsumerFuture: Option[Future[Done]]
- val eventBroadcastKillSwitch: 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
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- 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 publishEventBroadcast: Source[(ByteString, String), NotUsed]
- val publishSink: Sink[(ByteString, String, ControlPacketFlags), NotUsed]
- val publishSinkFuture: Future[Done]
- val publishSinkKillSwitch: 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
- returns
a future that completes after closing the command queue, closing the publish sink, and stopping the MQTT session
- 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()