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
- Alphabetic
- By Inheritance
Inherited
- Event
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
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
-
new
Event(event: ControlPacket)
Receive an event from a MQTT session
Receive an event from a MQTT session
- event
The event to receive
-
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
-
new
Event(event: ControlPacket, carry: Option[A])
- event
The event to receive
- carry
The data to carry though
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val carry: Option[A]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val event: ControlPacket
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )