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
- 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: Now[Result[Option[Int]]]
The data for the message.
The data for the message.
- Definition Classes
- EagerGatewayMessage → GatewayMessage
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- 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
- 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()
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def t: util.JsonOption[GatewayEvent[Option[Int]]]
- Definition Classes
- 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])