Package com.github.twitch4j.chat
Class TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C extends TwitchChatConnectionPool,B extends TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C,B>>
java.lang.Object
com.github.twitch4j.common.pool.AbstractConnectionPool.AbstractConnectionPoolBuilder<C,C2,B>
com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder<C,X,Y,Z,C2,B2>
com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchChat,String,String,Boolean,TwitchChatBuilder,C,B>
com.github.twitch4j.chat.TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C,B>
- Enclosing class:
- TwitchChatConnectionPool
public abstract static class TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C extends TwitchChatConnectionPool,B extends TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C,B>>
extends TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchChat,String,String,Boolean,TwitchChatBuilder,C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthRateLimit(Bandwidth authRateLimit) automaticallyPartOnBan(boolean automaticallyPartOnBan) Deprecated.abstract Cbuild()chatAccount(@NonNull Supplier<OAuth2Credential> chatAccount) chatRateLimit(Bandwidth chatRateLimit) connectionBackoffStrategy(IBackoffStrategy connectionBackoffStrategy) joinRateLimit(Bandwidth joinRateLimit) perChannelRateLimit(Bandwidth perChannelRateLimit) protected abstract Bself()toString()whisperRateLimit(Bandwidth[] whisperRateLimit) Methods inherited from class com.github.twitch4j.common.pool.TwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder
advancedConfiguration, connectionEventManager, eventManager, executor, proxyConfigMethods inherited from class com.github.twitch4j.common.pool.SubscriptionConnectionPool.SubscriptionConnectionPoolBuilder
disposeUnusedConnections, maxSubscriptionsPerConnection
-
Constructor Details
-
TwitchChatConnectionPoolBuilder
public TwitchChatConnectionPoolBuilder()
-
-
Method Details
-
chatAccount
- Returns:
this.
-
automaticallyPartOnBan
Deprecated.- Returns:
this.
-
chatRateLimit
- Returns:
this.
-
whisperRateLimit
- Returns:
this.
-
joinRateLimit
- Returns:
this.
-
authRateLimit
- Returns:
this.
-
perChannelRateLimit
- Returns:
this.
-
connectionBackoffStrategy
- Returns:
this.
-
self
- Specified by:
selfin classTwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchChat,String, String, Boolean, TwitchChatBuilder, C extends TwitchChatConnectionPool, B extends TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C, B>>
-
build
- Specified by:
buildin classTwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchChat,String, String, Boolean, TwitchChatBuilder, C extends TwitchChatConnectionPool, B extends TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C, B>>
-
toString
- Overrides:
toStringin classTwitchModuleConnectionPool.TwitchModuleConnectionPoolBuilder<TwitchChat,String, String, Boolean, TwitchChatBuilder, C extends TwitchChatConnectionPool, B extends TwitchChatConnectionPool.TwitchChatConnectionPoolBuilder<C, B>>
-