Package net.dv8tion.jda.core
Class WebSocketCode
- java.lang.Object
-
- net.dv8tion.jda.core.WebSocketCode
-
public final class WebSocketCode extends java.lang.Object
WebSocket OP Codes for discord
Used inWebSocketClient
to handle discord payloads and send payloads with central readable OP Codes
-
-
Field Summary
Fields Modifier and Type Field Description static int
DISPATCH
static int
GUILD_SYNC
static int
HEARTBEAT
static int
HEARTBEAT_ACK
static int
HELLO
static int
IDENTIFY
static int
INVALIDATE_SESSION
static int
MEMBER_CHUNK_REQUEST
static int
PRESENCE
static int
RECONNECT
static int
RESUME
static int
VOICE_STATE
-
Constructor Summary
Constructors Constructor Description WebSocketCode()
-
-
-
Field Detail
-
DISPATCH
public static final int DISPATCH
- See Also:
- Constant Field Values
-
HEARTBEAT
public static final int HEARTBEAT
- See Also:
- Constant Field Values
-
IDENTIFY
public static final int IDENTIFY
- See Also:
- Constant Field Values
-
PRESENCE
public static final int PRESENCE
- See Also:
- Constant Field Values
-
VOICE_STATE
public static final int VOICE_STATE
- See Also:
- Constant Field Values
-
RESUME
public static final int RESUME
- See Also:
- Constant Field Values
-
RECONNECT
public static final int RECONNECT
- See Also:
- Constant Field Values
-
MEMBER_CHUNK_REQUEST
public static final int MEMBER_CHUNK_REQUEST
- See Also:
- Constant Field Values
-
INVALIDATE_SESSION
public static final int INVALIDATE_SESSION
- See Also:
- Constant Field Values
-
HELLO
public static final int HELLO
- See Also:
- Constant Field Values
-
HEARTBEAT_ACK
public static final int HEARTBEAT_ACK
- See Also:
- Constant Field Values
-
GUILD_SYNC
public static final int GUILD_SYNC
- See Also:
- Constant Field Values
-
-