- GatewayClient - Interface in discord4j.gateway
-
Represents a Discord real-time websocket client, called Gateway, implementing its lifecycle.
- GatewayClientGroup - Interface in discord4j.gateway
-
- GatewayConnection - Class in discord4j.gateway
-
- GatewayConnection() - Constructor for class discord4j.gateway.GatewayConnection
-
- GatewayConnection.State - Enum in discord4j.gateway
-
- GatewayException - Exception in discord4j.gateway.retry
-
- GatewayException(Context) - Constructor for exception discord4j.gateway.retry.GatewayException
-
- GatewayException(Context, String) - Constructor for exception discord4j.gateway.retry.GatewayException
-
- GatewayObserver - Interface in discord4j.gateway
-
Event listeners for gateway connection lifecycle.
- GatewayOptions - Class in discord4j.gateway
-
A set of options targeting the configuration of
GatewayClient
implementations.
- GatewayOptions(String, GatewayReactorResources, PayloadReader, PayloadWriter, ReconnectOptions, IdentifyOptions, GatewayObserver, PayloadTransformer, int) - Constructor for class discord4j.gateway.GatewayOptions
-
- GatewayPayload<T extends discord4j.discordjson.json.gateway.PayloadData> - Class in discord4j.gateway.json
-
Basic structure a Discord gateway payload object.
- GatewayPayload(Opcode<T>, T, Integer, String) - Constructor for class discord4j.gateway.json.GatewayPayload
-
- GatewayReactorResources - Class in discord4j.gateway
-
Provides an extra level of configuration for
ReactorResources
, tailored for the Gateway operations.
- GatewayReactorResources(ReactorResources) - Constructor for class discord4j.gateway.GatewayReactorResources
-
- GatewayReactorResources(ReactorResources, Scheduler) - Constructor for class discord4j.gateway.GatewayReactorResources
-
- GatewayRetrySignal - Class in discord4j.gateway.retry
-
- GatewayRetrySignal(Throwable, long, Duration, GatewayConnection.State) - Constructor for class discord4j.gateway.retry.GatewayRetrySignal
-
- GatewayRetrySpec - Class in discord4j.gateway.retry
-
- GatewayStateChange - Class in discord4j.gateway.retry
-
- GatewayStateChange(GatewayStateChange.State, long, Duration) - Constructor for class discord4j.gateway.retry.GatewayStateChange
-
- GatewayStateChange.State - Enum in discord4j.gateway.retry
-
- GatewayWebsocketHandler - Class in discord4j.gateway
-
Represents a WebSocket handler specialized for Discord gateway operations.
- GatewayWebsocketHandler(FluxSink<ByteBuf>, Flux<ByteBuf>, Context) - Constructor for class discord4j.gateway.GatewayWebsocketHandler
-
Create a new handler with the given data pipelines.
- generateCompanion(Flux<Retry.RetrySignal>) - Method in class discord4j.gateway.retry.GatewayRetrySpec
-
- getBackoff() - Method in class discord4j.gateway.retry.GatewayStateChange
-
- getBehavior() - Method in class discord4j.gateway.retry.ClosingStateChange
-
- getClient() - Method in class discord4j.gateway.PayloadContext
-
- getContext() - Method in class discord4j.gateway.PayloadContext
-
- getContext() - Method in exception discord4j.gateway.retry.GatewayException
-
- getCount() - Method in class discord4j.gateway.ShardInfo
-
Return the shard count represented by this
ShardInfo
.
- getCurrentAttempt() - Method in class discord4j.gateway.retry.GatewayStateChange
-
- getData() - Method in class discord4j.gateway.json.GatewayPayload
-
- getData() - Method in class discord4j.gateway.PayloadContext
-
- getDispatch() - Method in class discord4j.gateway.json.ShardAwareDispatch
-
- getGuildSubscriptions() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve whether to enable presence and typing events when identifying.
- getHandler() - Method in class discord4j.gateway.PayloadContext
-
- getId() - Method in class discord4j.gateway.SessionInfo
-
Return the identifier of the session represented by this
SessionInfo
.
- getIdentifyLimiter() - Method in class discord4j.gateway.GatewayOptions
-
- getIdentifyOptions() - Method in class discord4j.gateway.GatewayOptions
-
- getIndex() - Method in class discord4j.gateway.ShardInfo
-
Return the shard index represented by this
ShardInfo
.
- getInitialObserver() - Method in class discord4j.gateway.GatewayOptions
-
- getInitialStatus() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve the initial status used to identify bots.
- getIntents() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve the intents which should be subscribed from the gateway when identifying.
- getLargeThreshold() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve the number of members used to determine if a guild is "large".
- getMaxMissedHeartbeatAck() - Method in class discord4j.gateway.GatewayOptions
-
- getOp() - Method in class discord4j.gateway.json.GatewayPayload
-
- getPayload() - Method in class discord4j.gateway.PayloadContext
-
- getPayloadReader() - Method in class discord4j.gateway.GatewayOptions
-
- getPayloadSenderScheduler() - Method in class discord4j.gateway.GatewayReactorResources
-
- getPayloadWriter() - Method in class discord4j.gateway.GatewayOptions
-
- getRawValue() - Method in class discord4j.gateway.intent.IntentSet
-
Gets the raw value for this IntentSet
.
- getReactorResources() - Method in class discord4j.gateway.GatewayOptions
-
- getReconnectOptions() - Method in class discord4j.gateway.GatewayOptions
-
- getResponseTime() - Method in class discord4j.gateway.DefaultGatewayClient
-
- getResponseTime() - Method in interface discord4j.gateway.GatewayClient
-
Gets the amount of time it last took Discord to respond to a heartbeat with an ack.
- getResumeSession() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve the
SessionInfo
that should be used to resume a Gateway session.
- getSequence() - Method in class discord4j.gateway.DefaultGatewayClient
-
- getSequence() - Method in interface discord4j.gateway.GatewayClient
-
Gets the current heartbeat sequence.
- getSequence() - Method in class discord4j.gateway.json.GatewayPayload
-
- getSequence() - Method in class discord4j.gateway.SessionInfo
-
Return the sequence number of the session represented by this
SessionInfo
.
- getSessionId() - Method in class discord4j.gateway.DefaultGatewayClient
-
- getSessionId() - Method in interface discord4j.gateway.GatewayClient
-
Retrieve the ID of the current gateway session.
- getShardCount() - Method in class discord4j.gateway.DefaultGatewayClient
-
- getShardCount() - Method in interface discord4j.gateway.GatewayClient
-
Return number of shards this client operates under.
- getShardCount() - Method in interface discord4j.gateway.GatewayClientGroup
-
Return the current value of the shardCount
parameter.
- getShardCount() - Method in class discord4j.gateway.json.ShardAwareDispatch
-
- getShardIndex() - Method in class discord4j.gateway.json.ShardAwareDispatch
-
- getShardIndex() - Method in class discord4j.gateway.json.ShardGatewayPayload
-
Return the shard index this payload is targeted at.
- getShardInfo() - Method in class discord4j.gateway.IdentifyOptions
-
Retrieve the
ShardInfo
to be used when authenticating, specifying shard index and count.
- getState() - Method in class discord4j.gateway.retry.GatewayStateChange
-
- getStatus() - Method in class discord4j.gateway.retry.ClosingStateChange
-
- getToken() - Method in class discord4j.gateway.GatewayOptions
-
- getType() - Method in class discord4j.gateway.json.GatewayPayload
-
- getValue() - Method in enum discord4j.gateway.intent.Intent
-
- GIFT_CODE_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_BAN_ADD - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_BAN_REMOVE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_EMOJIS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_INTEGRATIONS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_MEMBER_ADD - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_MEMBER_REMOVE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_MEMBER_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_MEMBERS_CHUNK - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_ROLE_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_ROLE_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_ROLE_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- GUILD_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
-
- guildSubscriptions(Boolean) - Method in class discord4j.gateway.IdentifyOptions.Builder
-
Set whether to enable presence and typing events while identifying.