final class MqttSessionSettings extends AnyRef

Configuration settings for client and server usage.

Source
MqttSessionSettings.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MqttSessionSettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val clientTerminationWatcherBufferSize: Int
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val commandParallelism: Int
  8. val consumerPubAckRecTimeout: FiniteDuration
  9. val consumerPubCompTimeout: FiniteDuration
  10. val consumerPubRelTimeout: FiniteDuration
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. val eventParallelism: Int
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val maxPacketSize: Int
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. val producerPubAckRecTimeout: FiniteDuration
  23. val producerPubCompTimeout: FiniteDuration
  24. val receiveConnAckTimeout: FiniteDuration
  25. val receiveConnectTimeout: FiniteDuration
  26. val receiveSubAckTimeout: FiniteDuration
  27. val receiveUnsubAckTimeout: FiniteDuration
  28. val serverSendBufferSize: Int
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    MqttSessionSettings → AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  34. def withClientTerminationWatcherBufferSize(clientTerminationWatcherBufferSize: Int): MqttSessionSettings

    The maximum number of client termination event observers permitted.

    The maximum number of client termination event observers permitted. Defaults to 100 which should be more than adequate for most situations.

  35. def withCommandParallelism(commandParallelism: Int): MqttSessionSettings

    The number of commands that can be processed at a time, with a default of 50.

    The number of commands that can be processed at a time, with a default of 50. For client usage, note that each CONNECT will reduced the availability of remaining command channels for other commands by 1. For server usage, each CONNACK received will reduce the availability of remaining command channels for other commands by 1.

  36. def withConsumerPubAckRecTimeout(consumerPubAckRecTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For consumers of PUBLISH, the amount of time to wait before receiving an ack/receive command locally in reply to a QoS 1/2 publish event before failing. Defaults to 30 seconds.

  37. def withConsumerPubAckRecTimeout(consumerPubAckRecTimeout: FiniteDuration): MqttSessionSettings

    For consumers of PUBLISH, the amount of time to wait before receiving an ack/receive command locally in reply to a QoS 1/2 publish event before failing.

    For consumers of PUBLISH, the amount of time to wait before receiving an ack/receive command locally in reply to a QoS 1/2 publish event before failing. Defaults to 30 seconds.

  38. def withConsumerPubCompTimeout(consumerPubCompTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For consumers of PUBLISH, the amount of time to wait before receiving a complete command locally in reply to a QoS 2 publish event before failing. Defaults to 30 seconds.

  39. def withConsumerPubCompTimeout(consumerPubCompTimeout: FiniteDuration): MqttSessionSettings

    For consumers of PUBLISH, the amount of time to wait before receiving a complete command locally in reply to a QoS 2 publish event before failing.

    For consumers of PUBLISH, the amount of time to wait before receiving a complete command locally in reply to a QoS 2 publish event before failing. Defaults to 30 seconds.

  40. def withConsumerPubRelTimeout(consumerPubRelTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For consumers of PUBLISH, the amount of time to wait for a server to release a QoS 2 publish before failing. Defaults to 30 seconds.

  41. def withConsumerPubRelTimeout(consumerPubRelTimeout: FiniteDuration): MqttSessionSettings

    For consumers of PUBLISH, the amount of time to wait for a server to release a QoS 2 publish before failing.

    For consumers of PUBLISH, the amount of time to wait for a server to release a QoS 2 publish before failing. Defaults to 30 seconds.

  42. def withEventParallelism(eventParallelism: Int): MqttSessionSettings

    This is the number of events that can be received in parallel at any one time, with a default of 10.

  43. def withMaxPacketSize(maxPacketSize: Int): MqttSessionSettings

    The maximum size of a packet that is allowed to be decoded.

    The maximum size of a packet that is allowed to be decoded. Defaults to 4k.

  44. def withProducerPubAckRecTimeout(producerPubAckRecTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For producers of PUBLISH, the amount of time to wait to ack/receive a QoS 1/2 publish before retrying with the DUP flag set. Defaults to 0 seconds, which means republishing only occurs on reconnect.

  45. def withProducerPubAckRecTimeout(producerPubAckRecTimeout: FiniteDuration): MqttSessionSettings

    For producers of PUBLISH, the amount of time to wait to ack/receive a QoS 1/2 publish before retrying with the DUP flag set.

    For producers of PUBLISH, the amount of time to wait to ack/receive a QoS 1/2 publish before retrying with the DUP flag set. Defaults to 0 seconds, which means republishing only occurs on reconnect.

  46. def withProducerPubCompTimeout(producerPubCompTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For producers of PUBLISH, the amount of time to wait for a server to complete a QoS 2 publish before retrying with another PUBREL. Defaults to 0 seconds, which means republishing only occurs on reconnect.

  47. def withProducerPubCompTimeout(producerPubCompTimeout: FiniteDuration): MqttSessionSettings

    For producers of PUBLISH, the amount of time to wait for a server to complete a QoS 2 publish before retrying with another PUBREL.

    For producers of PUBLISH, the amount of time to wait for a server to complete a QoS 2 publish before retrying with another PUBREL. Defaults to 0 seconds, which means republishing only occurs on reconnect.

  48. def withReceiveConnAckTimeout(receiveConnAckTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For clients, the amount of time to wait for a server to ack a connection. For servers, the amount of time to wait before receiving an ack command locally in reply to a connect event. Defaults to 30 seconds.

  49. def withReceiveConnAckTimeout(receiveConnAckTimeout: FiniteDuration): MqttSessionSettings

    For clients, the amount of time to wait for a server to ack a connection.

    For clients, the amount of time to wait for a server to ack a connection. For servers, the amount of time to wait before receiving an ack command locally in reply to a connect event. Defaults to 30 seconds.

  50. def withReceiveConnectTimeout(receiveConnectTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For servers, the amount of time a session can be disconnected before being re-connected. Defaults to 5 minutes.

  51. def withReceiveConnectTimeout(receiveConnectTimeout: FiniteDuration): MqttSessionSettings

    For servers, the amount of time a session can be disconnected before being re-connected.

    For servers, the amount of time a session can be disconnected before being re-connected. Defaults to 5 minutes.

  52. def withReceiveSubAckTimeout(receiveSubAckTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For clients, the amount of time to wait for a server to ack a subscribe. For servers, the amount of time to wait before receiving an ack command locally in reply to a subscribe event. Defaults to 30 seconds.

  53. def withReceiveSubAckTimeout(receiveSubAckTimeout: FiniteDuration): MqttSessionSettings

    For clients, the amount of time to wait for a server to ack a subscribe.

    For clients, the amount of time to wait for a server to ack a subscribe. For servers, the amount of time to wait before receiving an ack command locally in reply to a subscribe event. Defaults to 30 seconds.

  54. def withReceiveUnsubAckTimeout(receiveUnsubAckTimeout: Duration): MqttSessionSettings

    JAVA API

    JAVA API

    For clients, the amount of time to wait for a server to ack a unsubscribe. For servers, the amount of time to wait before receiving an ack command locally in reply to a unsubscribe event. Defaults to 30 seconds.

  55. def withReceiveUnsubAckTimeout(receiveUnsubAckTimeout: FiniteDuration): MqttSessionSettings

    For clients, the amount of time to wait for a server to ack a unsubscribe.

    For clients, the amount of time to wait for a server to ack a unsubscribe. For servers, the amount of time to wait before receiving an ack command locally in reply to a unsubscribe event. Defaults to 30 seconds.

  56. def withServerSendBufferSize(serverSendBufferSize: Int): MqttSessionSettings

    Just for servers - the number of commands that can be buffered while connected to a client.

    Just for servers - the number of commands that can be buffered while connected to a client. Defaults to 100. Any commands received beyond this will be dropped.

Inherited from AnyRef

Inherited from Any

Ungrouped