c

ackcord.gateway

InvalidSession

case class InvalidSession(resumable: Boolean, gatewayInfo: GatewayInfo) extends EagerGatewayMessage[Boolean] with ServerGatewayMessage[Boolean] with Product with Serializable

Sent by the gateway if the session is invalid when resuming a connection.

resumable

If the connection is resumable.

Source
gatewayData.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InvalidSession
  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 InvalidSession(resumable: Boolean, gatewayInfo: GatewayInfo)

    resumable

    If the connection is resumable.

Value Members

  1. def d: Now[Result[Boolean]]

    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
    InvalidSessionServerGatewayMessage
  3. def nowD: Boolean
    Definition Classes
    InvalidSessionEagerGatewayMessage
  4. def op: GatewayOpCode

    The op code for the message.

    The op code for the message.

    Definition Classes
    InvalidSessionGatewayMessage
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val resumable: Boolean
  7. 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
  8. def t: util.JsonOption[GatewayEvent[Boolean]]
    Definition Classes
    GatewayMessage