case class Heartbeat(nowD: Option[Int], gatewayInfo: GatewayInfo) extends EagerGatewayMessage[Option[Int]] with ServerGatewayMessage[Option[Int]] with Product with Serializable
Sent and received to confirm the connection is still going.
- nowD
The previous sequence.
- Source
- gatewayData.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Heartbeat
- Serializable
- Product
- Equals
- ServerGatewayMessage
- EagerGatewayMessage
- GatewayMessage
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Heartbeat(nowD: Option[Int], gatewayInfo: GatewayInfo)
- nowD
The previous sequence.
Value Members
- def d: Now[Result[Option[Int]]]
The data for the message.
The data for the message.
- Definition Classes
- EagerGatewayMessage → GatewayMessage
- 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
- Heartbeat → ServerGatewayMessage
- val nowD: Option[Int]
- Definition Classes
- Heartbeat → EagerGatewayMessage
- def op: GatewayOpCode
The op code for the message.
The op code for the message.
- Definition Classes
- Heartbeat → GatewayMessage
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def s: util.JsonOption[Int]
A sequence number for the message if there is one.
A sequence number for the message if there is one.
- Definition Classes
- GatewayMessage
- def t: util.JsonOption[GatewayEvent[Option[Int]]]
- Definition Classes
- GatewayMessage