Packages

final case class Event[A](event: ControlPacket, carry: Option[A]) extends Product with Serializable

Receive an event from a MQTT session with optional data to carry through infrom ay related event.

A

The type of data to carry through

event

The event to receive

carry

The data to carry though

Source
model.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Event
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Event(event: ControlPacket, carry: A)

    Receive an event from a MQTT session with data to carry through into any related event.

    Receive an event from a MQTT session with data to carry through into any related event.

    event

    The event to receive

    carry

    The data to carry through

  2. new Event(event: ControlPacket)

    Receive an event from a MQTT session

    Receive an event from a MQTT session

    event

    The event to receive

  3. new Event(event: ControlPacket, carry: Optional[A])

    JAVA API

    JAVA API

    Receive an event from a MQTT session with optional data to carry through infrom ay related event.

    event

    The event to receive

    carry

    The data to carry though

  4. new Event(event: ControlPacket, carry: Option[A])

    event

    The event to receive

    carry

    The data to carry though

Value Members

  1. val carry: Option[A]
  2. val event: ControlPacket
  3. def productElementNames: Iterator[String]
    Definition Classes
    Product