Packages

object MqttPublisher

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

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. def doneFlowWithContext[C](connectionSettings: MqttConnectionSettings, defaultQoS: Option[MqttQoS], concurrency: Int): FlowWithContext[MqttMessage, C, Done, C, MqttControl]

    Create a context-preserving flow which unconditionally publishes incoming messages to MQTT with a pass-through value of 'Done'.

    Create a context-preserving flow which unconditionally publishes incoming messages to MQTT with a pass-through value of 'Done'. This stage has the same semantics as 'orderedFlow'.

  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def flowWithContext[C, P](connectionSettings: MqttConnectionSettings, defaultQoS: Option[MqttQoS], concurrency: Int): FlowWithContext[PublishWithPassThrough[P], C, P, C, MqttControl]

    Context-preserving equivalent of orderedFlow

  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def orderedFlow[P](connectionSettings: MqttConnectionSettings, defaultQoS: Option[MqttQoS], concurrency: Int): Flow[PublishWithPassThrough[P], P, MqttControl]

    Create a flow which conditionally publishes to MQTT and emits a pass-through value (e.g.

    Create a flow which conditionally publishes to MQTT and emits a pass-through value (e.g. a checkpoint or offset to be committed) downstream. The pass-through being emitted may be treated as proof that the message to publish (if there is one) was published with the applicable QoS (AtMostOnce will emit after the message has gone out "over the wire", AtLeastOnce and ExactlyOnce will emit after the broker has signalled acceptance of the message).

    This stage will emit pass-throughs in the order received. This means that an emitted pass-through value signals that all messages to publish which came before that message were published, but conversely means potentially longer delays between successful publication and emission.

    If no 'defaultQoS' is specified, all incoming messages must specify a QoS (or else the stream will fail when encountering a message which doesn't specify a QoS). Message-specific QoS values take precedence over any stage default.

    The stage will backpressure if there are 'concurrency' elements in progress or waiting for emission.

    Calling drain on the materialized MqttControl will cause this stage to cancel demand and wait for in-flight publish attempts to complete before stopping. The returned future is completed when the draining has started.

    Calling shutdown on the materialized MqttControl will cause the stage to immediately stop. In-flight publish attempts may or may not ultimately succeed.

  17. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. def unorderedFlow[P](connectionSettings: MqttConnectionSettings, defaultQoS: Option[MqttQoS], concurrency: Int): Flow[PublishWithPassThrough[P], P, MqttControl]

    Create a flow which conditionally publishes to MQTT and emits a pass-through value downstream.

    Create a flow which conditionally publishes to MQTT and emits a pass-through value downstream. The pass-through being emitted may be treated as proof that the message to publish (if there is one) was published with the applicable QoS (AtMostOnce will emit after the message has gone out "over the wire", AtLeastOnce and ExactlyOnce will emit after the broker has signalled acceptance of the message).

    This stage might not emit pass-throughs in the order received: the emission of a particular pass-through does not suggest anything about whether any other message was published. In particular, checkpoints or offsets to be committed should not be used as pass-through values with this flow; this ability to reorder may mean less of a delay from successful publication to emission.

    If no 'defaultQoS' is specified, all incoming messages must specify a QoS (or else the stream will fail when encountering a message which doesn't specify a QoS). Message-specific QoS values take precedence over any stage default.

    The stage will backpressure if there are 'concurrency' elements in progress.

    Calling drain on the materialized MqttControl will cause this stage to cancel demand and wait for in-flight publish attempts to complete before stopping. The returned future is completed when the draining has started.

    Calling shutdown on the materialized MqttControl will cause the stage to immediately stop. In-flight publish attempts may or may not ultimately succeed.

  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped