Class ShardingSessionConfig
java.lang.Object
net.dv8tion.jda.internal.utils.config.SessionConfig
net.dv8tion.jda.internal.utils.config.sharding.ShardingSessionConfig
-
Constructor Summary
ConstructorsConstructorDescriptionShardingSessionConfig
(SessionController sessionController, VoiceDispatchInterceptor interceptor, okhttp3.OkHttpClient httpClient, okhttp3.OkHttpClient.Builder httpClientBuilder, WebSocketFactory webSocketFactory, IAudioSendFactory audioSendFactory, EnumSet<ConfigFlag> flags, EnumSet<ShardingConfigFlag> shardingFlags, int maxReconnectDelay, int largeThreshold) -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardingSessionConfig
okhttp3.OkHttpClient.Builder
toSessionConfig
(okhttp3.OkHttpClient client) Methods inherited from class net.dv8tion.jda.internal.utils.config.SessionConfig
getFlags, getHttpClient, getLargeThreshold, getMaxReconnectDelay, getSessionController, getVoiceDispatchInterceptor, getWebSocketFactory, isAutoReconnect, isBulkDeleteSplittingEnabled, isEventPassthrough, isRawEvents, isRelativeRateLimit, isRetryOnTimeout, setAutoReconnect
-
Constructor Details
-
ShardingSessionConfig
public ShardingSessionConfig(@Nullable SessionController sessionController, @Nullable VoiceDispatchInterceptor interceptor, @Nullable okhttp3.OkHttpClient httpClient, @Nullable okhttp3.OkHttpClient.Builder httpClientBuilder, @Nullable WebSocketFactory webSocketFactory, @Nullable IAudioSendFactory audioSendFactory, EnumSet<ConfigFlag> flags, EnumSet<ShardingConfigFlag> shardingFlags, int maxReconnectDelay, int largeThreshold)
-
-
Method Details
-
toSessionConfig
-
getShardingFlags
-
getHttpBuilder
-
getAudioSendFactory
-
getDefault
-