Packages

c

vertices.mqtt

VertxMqttClientOps

implicit final class VertxMqttClientOps extends AnyVal

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

Instance Constructors

  1. new VertxMqttClientOps(target: MqttClient)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def connectL(port: Int, host: String, serverName: String): Task[MqttConnAckMessage]

    Connects to an MQTT server calling connectHandler after connection

    Connects to an MQTT server calling connectHandler after connection

    port

    port of the MQTT server

    host

    hostname/ip address of the MQTT server

    serverName

    the SNI server name

    returns

    current MQTT client instance

  6. def connectL(port: Int, host: String): Task[MqttConnAckMessage]

    Connects to an MQTT server calling connectHandler after connection

    Connects to an MQTT server calling connectHandler after connection

    port

    port of the MQTT server

    host

    hostname/ip address of the MQTT server

    returns

    current MQTT client instance

  7. def disconnectL(): Task[Unit]

    Disconnects from the MQTT server calling disconnectHandler after disconnection

    Disconnects from the MQTT server calling disconnectHandler after disconnection

    returns

    current MQTT client instance

  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def publishL(topic: String, payload: Buffer, qosLevel: MqttQoS, isDup: Boolean, isRetain: Boolean): Task[Int]

    Sends the PUBLISH message to the remote MQTT server

    Sends the PUBLISH message to the remote MQTT server

    topic

    topic on which the message is published

    payload

    message payload

    qosLevel

    QoS level

    isDup

    if the message is a duplicate

    isRetain

    if the message needs to be retained

    returns

    current MQTT client instance

  11. def subscribeL(topics: Map[String, Integer]): Task[Int]

    Subscribes to the topic and adds a handler which will be called after the request is sent

    Subscribes to the topic and adds a handler which will be called after the request is sent

    topics

    topics you subscribe on

    returns

    current MQTT client instance

  12. def subscribeL(topic: String, qos: Int): Task[Int]

    Subscribes to the topic with a specified QoS level

    Subscribes to the topic with a specified QoS level

    topic

    topic you subscribe on

    qos

    QoS level

    returns

    current MQTT client instance

  13. val target: MqttClient
  14. def toString(): String
    Definition Classes
    Any
  15. def unsubscribeL(topic: String): Task[Int]

    Unsubscribe from receiving messages on given topic

    Unsubscribe from receiving messages on given topic

    topic

    Topic you want to unsubscribe from

    returns

    current MQTT client instance

Inherited from AnyVal

Inherited from Any

Ungrouped