See: Description
| Interface | Description |
|---|---|
| GatewayClient |
Represents a Discord real-time websocket client, called Gateway, implementing its lifecycle.
|
| GatewayClientFactory |
An abstract factory to create a
GatewayClient, allowing clients to send and receive Discord Gateway events
from this node. |
| GatewayObserver |
Event listeners for gateway connection lifecycle.
|
| PayloadHandler<T extends PayloadData> |
Handler for a gateway payload.
|
| PayloadTransformer |
A transformation function to a sequence of raw
ByteBuf payloads. |
| Class | Description |
|---|---|
| DefaultGatewayClient |
Represents a Discord WebSocket client, called Gateway, implementing its lifecycle.
|
| DefaultGatewayClientFactory |
Default factory to create
GatewayClient objects based on DefaultGatewayClient that connects using a
single shard per client, forwarding events through GatewayPayload objects. |
| DiscordWebSocketHandler |
Represents a WebSocket handler specialized for Discord gateway operations.
|
| IdentifyOptions |
An object that contains all the parameters used for identifying a bot to Discord gateway.
|
| PayloadContext<T extends PayloadData> |
Represents gateway payload data enriched with context for processing through a
PayloadHandler defined under PayloadHandlers |
| PayloadHandlers |
Registry for operating on gateway
PayloadData objects, handling each lifecycle Opcode. |
| RateLimiterTransformer |
Transforms a payload sequence to throttle it using a
RateLimiter instance. |
| RateLimitTransformer | |
| ZlibDecompressor |
Implements a zlib inflater on a stream of
ByteBuf elements. |