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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Heartbeat
  2. Serializable
  3. Product
  4. Equals
  5. ServerGatewayMessage
  6. EagerGatewayMessage
  7. GatewayMessage
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Heartbeat(nowD: Option[Int], gatewayInfo: GatewayInfo)

    nowD

    The previous sequence.

Value Members

  1. def d: Now[Result[Option[Int]]]

    The data for the message.

    The data for the message.

    Definition Classes
    EagerGatewayMessageGatewayMessage
  2. 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
    HeartbeatServerGatewayMessage
  3. val nowD: Option[Int]
    Definition Classes
    HeartbeatEagerGatewayMessage
  4. def op: GatewayOpCode

    The op code for the message.

    The op code for the message.

    Definition Classes
    HeartbeatGatewayMessage
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. 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
  7. def t: util.JsonOption[GatewayEvent[Option[Int]]]
    Definition Classes
    GatewayMessage