A B C D E F G H I J L M N O P R S T U V W X Z 
All Classes All Packages

A

all() - Static method in class discord4j.gateway.intent.IntentSet
Returns a IntentSet containing all intents.
and(IntentSet) - Method in class discord4j.gateway.intent.IntentSet
Performs a logical AND of this intent set with the other intent set.
andNot(IntentSet) - Method in class discord4j.gateway.intent.IntentSet
Performs a logical AND NOT of this intent set with the other intent set.
APPLICATION_COMMAND_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
APPLICATION_COMMAND_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
APPLICATION_COMMAND_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
apply(Publisher<ByteBuf>) - Method in class discord4j.gateway.limiter.RateLimitTransformer
 
asArray() - Method in class discord4j.gateway.ShardInfo
Return this ShardInfo object in array representation: [index, count]
asEnumSet() - Method in class discord4j.gateway.intent.IntentSet
Gets this IntentSet as an EnumSet.

B

blockingTaskScheduler(Scheduler) - Method in class discord4j.gateway.GatewayReactorResources.Builder
 
build() - Method in class discord4j.gateway.GatewayReactorResources.Builder
Creates a new instance of GatewayReactorResources.
build() - Method in class discord4j.gateway.IdentifyOptions.Builder
Construct the authentication policy.
builder() - Static method in class discord4j.gateway.GatewayReactorResources
Returns a new builder to create GatewayReactorResources.
builder(int, int) - Static method in class discord4j.gateway.IdentifyOptions
Create a builder to create an IdentifyOptions using the given shard information.
builder(ReactorResources) - Static method in class discord4j.gateway.GatewayReactorResources
Returns a new builder to create GatewayReactorResources from a pre-configured ReactorResources, copying its settings.
builder(ShardInfo) - Static method in class discord4j.gateway.IdentifyOptions
Create a builder to create an IdentifyOptions using the given shard information.
Builder() - Constructor for class discord4j.gateway.GatewayReactorResources.Builder
 
Builder(ShardInfo) - Constructor for class discord4j.gateway.IdentifyOptions.Builder
Create a builder using the given shard information.

C

CHANNEL_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
CHANNEL_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
CHANNEL_PINS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
CHANNEL_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
close() - Method in class discord4j.gateway.GatewayWebsocketHandler
Initiates a close sequence that will terminate this session and instruct consumers downstream that a reconnect should take place afterwards.
close(boolean) - Method in class discord4j.gateway.DefaultGatewayClient
 
close(boolean) - Method in interface discord4j.gateway.GatewayClient
Terminates this client's current gateway connection.
close(DisconnectBehavior) - Method in class discord4j.gateway.GatewayWebsocketHandler
Initiates a close sequence that will terminate this session and then execute a given DisconnectBehavior.
ClosingStateChange - Class in discord4j.gateway.retry
 
ClosingStateChange(DisconnectBehavior, CloseStatus) - Constructor for class discord4j.gateway.retry.ClosingStateChange
 
completeMessages(Flux<ByteBuf>) - Method in class discord4j.gateway.ZlibDecompressor
 
computeShardIndex(Snowflake) - Method in interface discord4j.gateway.GatewayClientGroup
Return the shard index according to the shard count given by this GatewayClientGroup.
connected() - Static method in class discord4j.gateway.retry.GatewayStateChange
 
CONNECTED - discord4j.gateway.GatewayConnection.State
Propagated when a connection receives a READY or RESUMED event.
CONNECTED - discord4j.gateway.retry.GatewayStateChange.State
 
CONNECTED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a gateway connection has been established.
contains(Object) - Method in class discord4j.gateway.intent.IntentSet
 
create() - Static method in class discord4j.gateway.GatewayReactorResources
Create a default set of Gateway resources.
create(int, int) - Static method in class discord4j.gateway.IdentifyOptions
Create a default IdentifyOptions using the given shard index and count.
create(int, int) - Static method in class discord4j.gateway.ShardInfo
 
create(ReconnectOptions, ReconnectContext) - Static method in class discord4j.gateway.retry.GatewayRetrySpec
 
create(Store, ShardInfo) - Static method in class discord4j.gateway.state.DispatchStoreLayer
Creates a new DispatchStoreLayer operating on the given store and shard.
create(ShardInfo) - Static method in class discord4j.gateway.IdentifyOptions
Create a default IdentifyOptions using the given shard information.
create(String, int) - Static method in class discord4j.gateway.SessionInfo
 

D

DEFAULT_PAYLOAD_SENDER_SCHEDULER - Static variable in class discord4j.gateway.GatewayReactorResources
 
DefaultGatewayClient - Class in discord4j.gateway
Represents a Discord WebSocket client, called Gateway, implementing its lifecycle.
DefaultGatewayClient(GatewayOptions) - Constructor for class discord4j.gateway.DefaultGatewayClient
Initializes a new GatewayClient.
deserialize(JsonParser, DeserializationContext) - Method in class discord4j.gateway.json.jackson.PayloadDeserializer
 
DIRECT_MESSAGE_REACTIONS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to DIRECT_MESSAGE_REACTIONS MESSAGE_REACTION_ADD MESSAGE_REACTION_REMOVE MESSAGE_REACTION_REMOVE_ALL MESSAGE_REACTION_REMOVE_EMOJI
DIRECT_MESSAGE_TYPING - discord4j.gateway.intent.Intent
Events which will be received by subscribing to DIRECT_MESSAGE_TYPING TYPING_START
DIRECT_MESSAGES - discord4j.gateway.intent.Intent
Events which will be received by subscribing to DIRECT_MESSAGES MESSAGE_CREATE MESSAGE_UPDATE MESSAGE_DELETE CHANNEL_PINS_UPDATE
disconnected(DisconnectBehavior, CloseStatus) - Static method in class discord4j.gateway.retry.GatewayStateChange
 
DISCONNECTED - discord4j.gateway.GatewayConnection.State
Propagated when a disconnection happens and is in the process or releasing its resources.
DISCONNECTED - discord4j.gateway.retry.GatewayStateChange.State
 
DISCONNECTED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a gateway connection has been fully closed.
DISCONNECTED_RESUME - discord4j.gateway.retry.GatewayStateChange.State
 
DISCONNECTED_RESUME - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a gateway connection has been closed but is still open for a RESUME attempt.
disconnectedResume() - Static method in class discord4j.gateway.retry.GatewayStateChange
 
DISCONNECTING - discord4j.gateway.GatewayConnection.State
Propagated when a connection is closed but before a retry or stop process is started.
discord4j.gateway - package discord4j.gateway
Components to create websocket clients targeting Discord gateway.
discord4j.gateway.intent - package discord4j.gateway.intent
Classes related to the Gateway Intents feature to selectively disable some events.
discord4j.gateway.json - package discord4j.gateway.json
Statically typed representations of Discord's gateway domain.
discord4j.gateway.json.dispatch - package discord4j.gateway.json.dispatch
Domain of websocket inbound and outbound data.
discord4j.gateway.json.jackson - package discord4j.gateway.json.jackson
Classes supporting the conversion between gateway objects using Jackson.
discord4j.gateway.limiter - package discord4j.gateway.limiter
 
discord4j.gateway.payload - package discord4j.gateway.payload
Websocket payload readers and writers, converting to and from raw bytes.
discord4j.gateway.retry - package discord4j.gateway.retry
Classes supporting GatewayClient automatic reconnection.
discord4j.gateway.state - package discord4j.gateway.state
 
dispatch() - Method in class discord4j.gateway.DefaultGatewayClient
 
dispatch() - Method in interface discord4j.gateway.GatewayClient
Obtains the Flux of Dispatch events inbound from the gateway connection made by this client.
DispatchStoreLayer - Class in discord4j.gateway.state
A DispatchStoreLayer allows to intercept any Dispatch instance and execute the appropriate StoreAction on a given Store.
doBeforeRetry(Consumer<GatewayRetrySignal>) - Method in class discord4j.gateway.retry.GatewayRetrySpec
 

E

emptyListener() - Static method in interface discord4j.gateway.GatewayObserver
 
equals(Object) - Method in class discord4j.gateway.intent.IntentSet
 
equals(Object) - Method in class discord4j.gateway.json.GatewayPayload
 
equals(Object) - Method in class discord4j.gateway.SessionInfo
 
equals(Object) - Method in class discord4j.gateway.ShardInfo
 
error(Throwable) - Method in class discord4j.gateway.GatewayWebsocketHandler
Initiates a close sequence with the given error.
EventNames - Class in discord4j.gateway.json.dispatch
 
EventNames() - Constructor for class discord4j.gateway.json.dispatch.EventNames
 
execute(String) - Method in class discord4j.gateway.DefaultGatewayClient
 
execute(String) - Method in interface discord4j.gateway.GatewayClient
Establish a reconnecting gateway connection to the given URL.

F

failure() - Method in class discord4j.gateway.retry.GatewayRetrySignal
 
find(int) - Method in interface discord4j.gateway.GatewayClientGroup
Return a GatewayClient given by a shardIndex, if present.
format() - Method in class discord4j.gateway.ShardInfo
Return a string form of this ShardInfo using the following pattern: index,count

G

GatewayClient - Interface in discord4j.gateway
Represents a Discord real-time websocket client, called Gateway, implementing its lifecycle.
GatewayClientGroup - Interface in discord4j.gateway
An aggregation for arbitrary group of GatewayClient instances.
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(ContextView) - Constructor for exception discord4j.gateway.retry.GatewayException
 
GatewayException(ContextView, 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
 
GatewayOptions(String, GatewayReactorResources, PayloadReader, PayloadWriter, ReconnectOptions, IdentifyOptions, GatewayObserver, PayloadTransformer, int, boolean, EmissionStrategy) - 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
Create Gateway resources based off ReactorResources properties, and providing defaults for the remaining properties.
GatewayReactorResources(ReactorResources, Scheduler) - Constructor for class discord4j.gateway.GatewayReactorResources
Create Gateway resources based off ReactorResources properties, and allowing customization of the remaining properties.
GatewayReactorResources(GatewayReactorResources.Builder) - Constructor for class discord4j.gateway.GatewayReactorResources
 
GatewayReactorResources(HttpClient, Scheduler, Scheduler, Scheduler) - Constructor for class discord4j.gateway.GatewayReactorResources
Create Gateway resources allowing full customization of its properties.
GatewayReactorResources.Builder - Class in discord4j.gateway
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(Sinks.Many<ByteBuf>, Flux<ByteBuf>, ContextView) - Constructor for class discord4j.gateway.GatewayWebsocketHandler
Create a new handler with the given data pipelines.
GatewayWebsocketHandler(Sinks.Many<ByteBuf>, Flux<ByteBuf>, ContextView, boolean) - Constructor for class discord4j.gateway.GatewayWebsocketHandler
 
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
 
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
 
getDispatch() - Method in class discord4j.gateway.json.ShardAwareDispatch
 
getDispatch() - Method in class discord4j.gateway.state.StatefulDispatch
 
getEmissionStrategy() - Method in class discord4j.gateway.GatewayOptions
 
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
 
getOldState() - Method in class discord4j.gateway.state.StatefulDispatch
 
getOp() - Method in class discord4j.gateway.json.GatewayPayload
 
getPayloadReader() - Method in class discord4j.gateway.GatewayOptions
 
getPayloadSenderScheduler() - Method in class discord4j.gateway.GatewayReactorResources
Get the scheduler used for sending gateway payloads.
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.
getShardInfo() - Method in class discord4j.gateway.state.StatefulDispatch
 
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_BANS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_BANS GUILD_BAN_ADD GUILD_BAN_REMOVE
GUILD_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
GUILD_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
GUILD_EMOJIS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_EMOJIS GUILD_EMOJIS_UPDATE
GUILD_EMOJIS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
GUILD_INTEGRATIONS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_INTEGRATIONS GUILD_INTEGRATIONS_UPDATE
GUILD_INTEGRATIONS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
GUILD_INVITES - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_INVITES INVITE_CREATE INVITE_DELETE
GUILD_JOIN_REQUEST_DELETE - 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 - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_MEMBERS GUILD_MEMBER_ADD GUILD_MEMBER_UPDATE GUILD_MEMBER_REMOVE
GUILD_MEMBERS_CHUNK - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
GUILD_MESSAGE_REACTIONS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_MESSAGE_REACTIONS MESSAGE_REACTION_ADD MESSAGE_REACTION_REMOVE MESSAGE_REACTION_REMOVE_ALL MESSAGE_REACTION_REMOVE_EMOJI
GUILD_MESSAGE_TYPING - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_MESSAGE_TYPING TYPING_START
GUILD_MESSAGES - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_MESSAGES MESSAGE_CREATE MESSAGE_UPDATE MESSAGE_DELETE MESSAGE_DELETE_BULK
GUILD_PRESENCES - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_PRESENCES PRESENCE_UPDATE
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
 
GUILD_VOICE_STATES - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_VOICE_STATES VOICE_STATE_UPDATE
GUILD_WEBHOOKS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILD_WEBHOOKS WEBHOOKS_UPDATE
GUILDS - discord4j.gateway.intent.Intent
Events which will be received by subscribing to GUILDS GUILD_CREATE GUILD_UPDATE GUILD_DELETE GUILD_ROLE_CREATE GUILD_ROLE_UPDATE GUILD_ROLE_DELETE CHANNEL_CREATE CHANNEL_UPDATE CHANNEL_DELETE CHANNEL_PINS_UPDATE

H

handle(GatewayPayload<T>) - Method in interface discord4j.gateway.PayloadHandler
Perform an action on a payload together with its context, which allows access to various gateway resources.
handle(WebsocketInbound, WebsocketOutbound) - Method in class discord4j.gateway.GatewayWebsocketHandler
Handle an upgraded websocket connection, given by both WebsocketInbound and WebsocketOutbound to manage a session until the remote closes or one of the local methods GatewayWebsocketHandler.close() or GatewayWebsocketHandler.error(Throwable) methods are called.
hashCode() - Method in class discord4j.gateway.intent.IntentSet
 
hashCode() - Method in class discord4j.gateway.json.GatewayPayload
 
hashCode() - Method in class discord4j.gateway.SessionInfo
 
hashCode() - Method in class discord4j.gateway.ShardInfo
 
heartbeat(Heartbeat) - Static method in class discord4j.gateway.json.GatewayPayload
 
httpClient(HttpClient) - Method in class discord4j.gateway.GatewayReactorResources.Builder
 

I

identify(Identify) - Static method in class discord4j.gateway.json.GatewayPayload
 
IdentifyOptions - Class in discord4j.gateway
An object that contains parameters used for authenticating a bot to Discord gateway.
IdentifyOptions(IdentifyOptions.Builder) - Constructor for class discord4j.gateway.IdentifyOptions
Create a new Gateway authentication policy.
IdentifyOptions.Builder - Class in discord4j.gateway
Builder to create IdentifyOptions.
initialStatus(StatusUpdate) - Method in class discord4j.gateway.IdentifyOptions.Builder
Set the initial presence status the bot will identify with.
INTEGRATION_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
INTEGRATION_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
INTEGRATION_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
Intent - Enum in discord4j.gateway.intent
A group of Discord Gateway events.
intents(IntentSet) - Method in class discord4j.gateway.IdentifyOptions.Builder
Set the Gateway intents to use when authenticating.
IntentSet - Class in discord4j.gateway.intent
An immutable, specialized Set<Intent>.
INTERACTION_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
InvalidSessionException - Exception in discord4j.gateway.retry
 
InvalidSessionException(ContextView) - Constructor for exception discord4j.gateway.retry.InvalidSessionException
 
InvalidSessionException(ContextView, String) - Constructor for exception discord4j.gateway.retry.InvalidSessionException
 
INVITE_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
INVITE_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
isConnected() - Method in class discord4j.gateway.DefaultGatewayClient
 
isConnected() - Method in interface discord4j.gateway.GatewayClient
Returns whether this GatewayClient is currently connected to Discord Gateway therefore capable to send and receive payloads.
isUnpooled() - Method in class discord4j.gateway.GatewayOptions
 
iteration() - Method in class discord4j.gateway.retry.GatewayRetrySignal
 
iterator() - Method in class discord4j.gateway.intent.IntentSet
 

J

JacksonPayloadReader - Class in discord4j.gateway.payload
 
JacksonPayloadReader(ObjectMapper) - Constructor for class discord4j.gateway.payload.JacksonPayloadReader
 
JacksonPayloadReader(ObjectMapper, boolean) - Constructor for class discord4j.gateway.payload.JacksonPayloadReader
 
JacksonPayloadWriter - Class in discord4j.gateway.payload
 
JacksonPayloadWriter(ObjectMapper) - Constructor for class discord4j.gateway.payload.JacksonPayloadWriter
 

L

largeThreshold(int) - Method in class discord4j.gateway.IdentifyOptions.Builder
Set the number of members a guild must have to be considered "large".
logout() - Method in interface discord4j.gateway.GatewayClientGroup
Instructs that on subscription this group should log out from Discord Gateway.

M

MESSAGE_CREATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_DELETE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_DELETE_BULK - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_REACTION_ADD - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_REACTION_REMOVE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_REACTION_REMOVE_ALL - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_REACTION_REMOVE_EMOJI - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
MESSAGE_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
multicast(GatewayPayload<?>) - Method in interface discord4j.gateway.GatewayClientGroup
Send a single GatewayPayload to all GatewayClient instances represented by this group and returns a Mono that signals completion when it has been sent.
mutate() - Method in class discord4j.gateway.GatewayReactorResources
Returns a builder to create a new GatewayReactorResources with settings copied from the current GatewayReactorResources.
mutate() - Method in class discord4j.gateway.IdentifyOptions
Derive a IdentifyOptions.Builder from this object, reusing all properties.
mutate(ShardInfo) - Method in class discord4j.gateway.IdentifyOptions
Derive a IdentifyOptions.Builder from this object, targeting a different ShardInfo but reusing all other properties.

N

nextBackoff() - Method in class discord4j.gateway.retry.GatewayRetrySignal
 
nextState() - Method in class discord4j.gateway.retry.GatewayRetrySignal
 
NON_RETRYABLE_STATUS_CODES - Static variable in class discord4j.gateway.retry.GatewayRetrySpec
 
none() - Static method in class discord4j.gateway.intent.IntentSet
Returns a IntentSet containing no intents.
nonPrivileged() - Static method in class discord4j.gateway.intent.IntentSet
Returns a IntentSet containing non-privileged intents.
NOOP_LISTENER - Static variable in interface discord4j.gateway.GatewayObserver
 
not() - Method in class discord4j.gateway.intent.IntentSet
Performs a logical NOT of this intent set.

O

of(long) - Static method in class discord4j.gateway.intent.IntentSet
Returns a IntentSet containing all the intents represented by the raw value.
of(Intent...) - Static method in class discord4j.gateway.intent.IntentSet
Returns a IntentSet containing all the supplied intents.
of(ShardInfo, D, S) - Static method in class discord4j.gateway.state.StatefulDispatch
 
onStateChange(ConnectionObserver.State, GatewayClient) - Method in interface discord4j.gateway.GatewayObserver
React on websocket state change.
or(IntentSet) - Method in class discord4j.gateway.intent.IntentSet
Performs a logical OR of this intent set with the other intent set.

P

PartialDisconnectException - Exception in discord4j.gateway.retry
 
PartialDisconnectException(ContextView) - Constructor for exception discord4j.gateway.retry.PartialDisconnectException
 
PayloadDeserializer - Class in discord4j.gateway.json.jackson
 
PayloadDeserializer() - Constructor for class discord4j.gateway.json.jackson.PayloadDeserializer
 
PayloadHandler<T extends discord4j.discordjson.json.gateway.PayloadData> - Interface in discord4j.gateway
Handler for a gateway payload.
PayloadReader - Interface in discord4j.gateway.payload
Strategy for reading from a ByteBuf and decoding its contents to a Publisher of GatewayPayload.
payloadSenderScheduler(Scheduler) - Method in class discord4j.gateway.GatewayReactorResources.Builder
Set the Scheduler used for sending Gateway payloads.
PayloadTransformer - Interface in discord4j.gateway.limiter
A transformation function to a sequence of raw ByteBuf payloads.
PayloadWriter - Interface in discord4j.gateway.payload
Strategy for encoding a GatewayPayload and writing its contents to a Publisher of ByteBuf.
PRESENCE_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
PRESENCES_REPLACE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 

R

RateLimitTransformer - Class in discord4j.gateway.limiter
 
RateLimitTransformer(int, Duration) - Constructor for class discord4j.gateway.limiter.RateLimitTransformer
 
RateLimitTransformer(int, Duration, Scheduler) - Constructor for class discord4j.gateway.limiter.RateLimitTransformer
 
read(ByteBuf) - Method in class discord4j.gateway.payload.JacksonPayloadReader
 
read(ByteBuf) - Method in interface discord4j.gateway.payload.PayloadReader
Read from the input buffer and encode to a single object.
READY - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
receiver() - Method in class discord4j.gateway.DefaultGatewayClient
 
receiver() - Method in interface discord4j.gateway.GatewayClient
Obtains the Flux of raw payloads inbound from the gateway connection made by this client.
receiver(Function<ByteBuf, Publisher<? extends T>>) - Method in class discord4j.gateway.DefaultGatewayClient
 
receiver(Function<ByteBuf, Publisher<? extends T>>) - Method in interface discord4j.gateway.GatewayClient
Obtains a Flux of raw payloads inbound from the gateway connection made by this client, transformed by a mapping function.
ReconnectException - Exception in discord4j.gateway.retry
An exception class to handle gateway reconnects via reconnect opcode.
ReconnectException(ContextView, String) - Constructor for exception discord4j.gateway.retry.ReconnectException
 
RECONNECTING - discord4j.gateway.GatewayConnection.State
Propagated when a connection is being retried and a new session must be established.
requestGuildMembers(RequestGuildMembers) - Static method in class discord4j.gateway.json.GatewayPayload
 
requestGuildMembers(RequestGuildMembers, int) - Static method in class discord4j.gateway.json.ShardGatewayPayload
 
resume(Resume) - Static method in class discord4j.gateway.json.GatewayPayload
 
RESUMED - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
resumeSession(SessionInfo) - Method in class discord4j.gateway.IdentifyOptions.Builder
Set information about a Gateway session to be resumed.
RESUMING - discord4j.gateway.GatewayConnection.State
Propagated when a connection is being retried and the current session can be resumed.
RETRY_FAILED - discord4j.gateway.retry.GatewayStateChange.State
 
RETRY_FAILED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a reconnection attempt has failed.
RETRY_RESUME_STARTED - discord4j.gateway.retry.GatewayStateChange.State
 
RETRY_RESUME_STARTED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a reconnection attempt with RESUME has started.
RETRY_STARTED - discord4j.gateway.retry.GatewayStateChange.State
 
RETRY_STARTED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a reconnection attempt with IDENTIFY has started.
RETRY_SUCCEEDED - discord4j.gateway.retry.GatewayStateChange.State
 
RETRY_SUCCEEDED - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when a reconnection attempt has succeeded.
retryFailed(long, Duration) - Static method in class discord4j.gateway.retry.GatewayStateChange
 
retryStarted(Duration) - Static method in class discord4j.gateway.retry.GatewayStateChange
 
retryStartedResume(Duration) - Static method in class discord4j.gateway.retry.GatewayStateChange
 
retrySucceeded(long) - Static method in class discord4j.gateway.retry.GatewayStateChange
 

S

send(Publisher<? extends GatewayPayload<?>>) - Method in interface discord4j.gateway.GatewayClient
Sends a sequence of payloads through this GatewayClient and returns a Mono that signals completion when the payloads have been sent.
sendBuffer(Publisher<ByteBuf>) - Method in class discord4j.gateway.DefaultGatewayClient
 
sendBuffer(Publisher<ByteBuf>) - Method in interface discord4j.gateway.GatewayClient
Sends a sequence of ByteBuf payloads through this GatewayClient and returns a Mono that signals completion when the given publisher completes.
sender() - Method in class discord4j.gateway.DefaultGatewayClient
 
sender() - Method in interface discord4j.gateway.GatewayClient
Retrieves a new Sinks.Many to safely produce outbound values using Sinks.Many.tryEmitNext(Object) or Sinks.Many.emitNext(Object, Sinks.EmitFailureHandler).
SEQUENCE - Static variable in interface discord4j.gateway.GatewayObserver
Propagated when the current session sequence value has updated.
SESSION_INVALIDATED - discord4j.gateway.retry.GatewayStateChange.State
 
SessionInfo - Class in discord4j.gateway
A container to represent the current state of a Gateway session.
sessionInvalidated() - Static method in class discord4j.gateway.retry.GatewayStateChange
 
ShardAwareDispatch - Class in discord4j.gateway.json
 
ShardAwareDispatch(int, int, Dispatch) - Constructor for class discord4j.gateway.json.ShardAwareDispatch
 
ShardGatewayPayload<T extends discord4j.discordjson.json.gateway.PayloadData> - Class in discord4j.gateway.json
Represents a unicast GatewayPayload meant to execute a Gateway operation targeting a single shard.
ShardGatewayPayload(GatewayPayload<T>, int) - Constructor for class discord4j.gateway.json.ShardGatewayPayload
 
ShardInfo - Class in discord4j.gateway
A container to express a shard index and count.
size() - Method in class discord4j.gateway.intent.IntentSet
 
START_IDENTIFYING - discord4j.gateway.GatewayConnection.State
Propagated when a brand new connection is in the process of authenticating through IDENTIFY payload.
START_RESUMING - discord4j.gateway.GatewayConnection.State
Propagated when a brand new connection is in the process of resuming a session.
stateEvents() - Method in class discord4j.gateway.DefaultGatewayClient
 
stateEvents() - Method in interface discord4j.gateway.GatewayClient
Return a sequence of the GatewayConnection.State transitions this client receives.
StatefulDispatch<D,​S> - Class in discord4j.gateway.state
 
statusUpdate(StatusUpdate) - Static method in class discord4j.gateway.json.GatewayPayload
 
statusUpdate(StatusUpdate, int) - Static method in class discord4j.gateway.json.ShardGatewayPayload
 
store(Dispatch) - Method in class discord4j.gateway.state.DispatchStoreLayer
Executes a store action depending on the type of the given dispatch.

T

then(GatewayObserver) - Method in interface discord4j.gateway.GatewayObserver
Chain together another GatewayObserver.
timerTaskScheduler(Scheduler) - Method in class discord4j.gateway.GatewayReactorResources.Builder
 
toString() - Method in class discord4j.gateway.IdentifyOptions
 
toString() - Method in class discord4j.gateway.intent.IntentSet
 
toString() - Method in class discord4j.gateway.json.GatewayPayload
 
toString() - Method in class discord4j.gateway.retry.GatewayRetrySignal
 
toString() - Method in class discord4j.gateway.retry.GatewayStateChange
 
toString() - Method in class discord4j.gateway.SessionInfo
 
toString() - Method in class discord4j.gateway.ShardInfo
 
toString() - Method in class discord4j.gateway.state.StatefulDispatch
 
TYPING_START - Static variable in class discord4j.gateway.json.dispatch.EventNames
 

U

unicast(ShardGatewayPayload<?>) - Method in interface discord4j.gateway.GatewayClientGroup
Send a single ShardGatewayPayload to a specific GatewayClient instance, given by the routing information in ShardGatewayPayload.getShardIndex() and returns a Mono that signals completion when it has been sent.
USER_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 

V

valueOf(String) - Static method in enum discord4j.gateway.GatewayConnection.State
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum discord4j.gateway.intent.Intent
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum discord4j.gateway.retry.GatewayStateChange.State
Returns the enum constant of this type with the specified name.
values() - Static method in enum discord4j.gateway.GatewayConnection.State
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum discord4j.gateway.intent.Intent
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum discord4j.gateway.retry.GatewayStateChange.State
Returns an array containing the constants of this enum type, in the order they are declared.
VOICE_SERVER_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
VOICE_STATE_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
voiceStateUpdate(VoiceStateUpdate) - Static method in class discord4j.gateway.json.GatewayPayload
 
voiceStateUpdate(VoiceStateUpdate, int) - Static method in class discord4j.gateway.json.ShardGatewayPayload
 

W

WEBHOOKS_UPDATE - Static variable in class discord4j.gateway.json.dispatch.EventNames
 
write(GatewayPayload<?>) - Method in class discord4j.gateway.payload.JacksonPayloadWriter
 
write(GatewayPayload<?>) - Method in interface discord4j.gateway.payload.PayloadWriter
Write a given payload to the output buffer.

X

xor(IntentSet) - Method in class discord4j.gateway.intent.IntentSet
Performs a logical XOR of this intent set with the other intent set.

Z

ZlibDecompressor - Class in discord4j.gateway
Implements a zlib inflater on a stream of ByteBuf elements.
ZlibDecompressor(ByteBufAllocator) - Constructor for class discord4j.gateway.ZlibDecompressor
 
ZlibDecompressor(ByteBufAllocator, boolean) - Constructor for class discord4j.gateway.ZlibDecompressor
 
A B C D E F G H I J L M N O P R S T U V W X Z 
All Classes All Packages