case class Dispatch[+D](sequence: Int, event: GatewayEvent[D], gatewayInfo: GatewayInfo) extends ServerGatewayMessage[D] with Product with Serializable
Sent with each new event.
- sequence
The seq number.
- event
The sent event.
- Source
- gatewayData.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Dispatch
- Serializable
- Product
- Equals
- ServerGatewayMessage
- GatewayMessage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Dispatch(sequence: Int, event: GatewayEvent[D], gatewayInfo: GatewayInfo)
- sequence
The seq number.
- event
The sent event.
Value Members
- def d: Eval[Either[DecodingFailure, D]]
The data for the message.
The data for the message.
- Definition Classes
- Dispatch → GatewayMessage
- val event: GatewayEvent[D]
- val gatewayInfo: GatewayInfo
Misc info gathered from the gateway this message came from.
Misc info gathered from the gateway this message came from.
- Definition Classes
- Dispatch → ServerGatewayMessage
- def op: GatewayOpCode
The op code for the message.
The op code for the message.
- Definition Classes
- Dispatch → GatewayMessage
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val s: util.JsonSome[Int]
A sequence number for the message if there is one.
A sequence number for the message if there is one.
- Definition Classes
- Dispatch → GatewayMessage
- val sequence: Int
- val t: util.JsonSome[GatewayEvent[D]]
- Definition Classes
- Dispatch → GatewayMessage