org.apache.activemq.apollo.mqtt

MqttSession

case class MqttSession(host_state: HostState, client_id: UTF8Buffer, session_state: SessionState) extends Product with Serializable

An MqttSession can be switch from one connection/protocol handler to another, but it will only be associated with one at a time. An MqttSession tracks the state of the communication with a client.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MqttSession
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MqttSession(host_state: HostState, client_id: UTF8Buffer, session_state: SessionState)

Type Members

  1. class MqttConsumer extends BaseRetained with DeliveryConsumer

  2. case class MqttProducerRoute(address: SimpleAddress, handler: MqttProtocolHandler) extends DeliveryProducerRoute with Product with Serializable

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def attach: Unit

  8. var clean_session: Boolean

  9. val client_id: UTF8Buffer

  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def connect(next: MqttProtocolHandler): Unit

  12. var connect_message: CONNECT

  13. def decode_destination(value: UTF8Buffer): SimpleAddress

  14. var destination_parser: DestinationParser

  15. def detach: Unit

  16. def disconnect(prev: MqttProtocolHandler): Unit

  17. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. var handler: Option[MqttProtocolHandler]

  21. def host: VirtualHost

  22. val host_state: HostState

  23. var in_flight_publishes: HashMap[Short, Request]

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. var manager_disconnected: Boolean

  26. lazy val mqtt_consumer: MqttConsumer

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def on_mqtt_publish(publish: PUBLISH): Unit

  31. def on_mqtt_subscribe(sub: SUBSCRIBE): Unit

  32. def on_mqtt_unsubscribe(unsubscribe: UNSUBSCRIBE): Unit

  33. def on_transport_command(command: AnyRef): Unit

  34. var producerRoutes: LRUCache[UTF8Buffer, MqttProducerRoute]

  35. var publish_body: Boolean

  36. def publish_completed(id: Short): Unit

  37. def publish_will(complete_close: ⇒ Unit): Unit

  38. val queue: DispatchQueue

  39. var security_context: SecurityContext

  40. def send(message: Message): Unit

  41. def send_via_route(route: MqttProducerRoute, publish: PUBLISH): Unit

  42. val session_state: SessionState

  43. def subscribe(topics: Traversable[Topic])(on_subscribed: ⇒ Unit): Unit

  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  45. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  46. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  47. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped