Package discord4j.gateway
@NonNullApi
package discord4j.gateway
Components to create websocket clients targeting Discord gateway.
-
ClassDescriptionRepresents a Discord WebSocket client, called Gateway, implementing its lifecycle.Represents a Discord real-time websocket client, called Gateway, implementing its lifecycle.An aggregation for arbitrary group of
GatewayClient
instances.Event listeners for gateway connection lifecycle.A set of options targeting the configuration ofGatewayClient
implementations.Provides an extra level of configuration forReactorResources
, tailored for the Gateway operations.Builder forGatewayReactorResources
.Represents a WebSocket handler specialized for Discord gateway operations.An object that contains parameters used for authenticating a bot to Discord gateway.Builder to createIdentifyOptions
.PayloadHandler<T extends discord4j.discordjson.json.gateway.PayloadData>Handler for a gateway payload.A container to represent the current state of a Gateway session.A container to express a shard index and count.Implements a zlib inflater on a stream ofByteBuf
elements.