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
- 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
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def d: Eval[Either[DecodingFailure, D]]
The data for the message.
The data for the message.
- Definition Classes
- Dispatch → GatewayMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val t: util.JsonSome[GatewayEvent[D]]
- Definition Classes
- Dispatch → GatewayMessage
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])