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 commandQueue: SourceQueueWithComplete[Command[Nothing]]
  10. val commandQueueSource: Source[Command[Nothing], SourceQueueWithComplete[Command[Nothing]]]
  11. val connectCommand: Command[Nothing]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. val eventBroadcastConsumerFuture: Option[Future[Done]]
  15. val eventBroadcastSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
  16. val eventBroadcastSourceKillSwitch: UniqueKillSwitch
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. val initialCommands: List[Command[Nothing]]
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val loggingSettings: Option[MqttLoggingSettings]
  23. val mqttSessionSettings: MqttSessionSettings
  24. val mqttSettings: MqttSettings
  25. val name: String
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val publishEventBroadcastSource: Source[MqttReceivedMessage, NotUsed]
  30. val publishMergeSink: Sink[MqttPublishMessage, NotUsed]
  31. val publishMergeSinkFuture: Future[Done]
  32. val publishMergeSinkKillSwitch: UniqueKillSwitch
  33. val publishMergeSinkSource: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
  34. val publishMergeSinkSourceWithOptionalLogger: Source[MqttPublishMessage, (Sink[MqttPublishMessage, NotUsed], UniqueKillSwitch)]
  35. val restartingEventSource: Source[Either[DecodeError, Event[Nothing]], NotUsed]
  36. val restartingEventSourceSettings: RestartSettings
  37. val session: ActorMqttClientSession
  38. val sessionFlow: Flow[Command[Nothing], Either[DecodeError, Event[Nothing]], NotUsed]
  39. 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)

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

Inherited from AnyRef

Inherited from Any

Ungrouped