Packages

class MqttClient extends AnyRef

MQTT client

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MqttClient
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. val commandBroadcastSource: Source[Command[Nothing], NotUsed]
  7. val commandMergeSink: Sink[Command[Nothing], NotUsed]
  8. val commandMergeSinkKillSwitch: UniqueKillSwitch
  9. val connectCommand: Command[Nothing]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. val eventBroadcastConsumerFuture: Option[Future[Done]]
  13. val eventBroadcastSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
  14. val eventBroadcastSourceKillSwitch: UniqueKillSwitch
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. val initialCommands: List[Command[Nothing]]
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val loggingSettings: Option[MqttLoggingSettings]
  21. val mqttSessionSettings: MqttSessionSettings
  22. val mqttSettings: MqttSettings
  23. val name: String
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. val publishEventBroadcastSource: Source[MqttReceivedMessage, NotUsed]
  28. val publishMergeSink: Sink[MqttPublishMessage, NotUsed]
  29. val publishMergeSinkFuture: Future[Done]
  30. val publishMergeSinkKillSwitch: UniqueKillSwitch
  31. val publishMergeSinkSource: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
  32. val publishMergeSinkSourceWithOptionalLogger: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
  33. val restartingEventSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
  34. val restartingEventSourceSettings: RestartSettings
  35. val session: ActorMqttClientSession
  36. val sessionFlow: Flow[Command[Nothing], Either[DecodeError, Event[Nothing]], NotUsed]
  37. def shutdown(): Future[Done]

    Shutdown the client

    Shutdown the client

    Shutdowns 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 publish merge sink, and the (optional) event broadcast consumer (if option withEventBroadcastSourceBackpressure is false)

  38. val subscribeCommands: List[Command[Nothing]]
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. val tcpConnection: Flow[ByteString, ByteString, Future[OutgoingConnection]]
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped