Package discord4j.gateway
Class GatewayOptions
java.lang.Object
discord4j.gateway.GatewayOptions
A set of options targeting the configuration of
GatewayClient
implementations.-
Constructor Summary
ConstructorDescriptionGatewayOptions
(String token, GatewayReactorResources reactorResources, PayloadReader payloadReader, PayloadWriter payloadWriter, ReconnectOptions reconnectOptions, IdentifyOptions identifyOptions, GatewayObserver initialObserver, PayloadTransformer identifyLimiter, int maxMissedHeartbeatAck) GatewayOptions
(String token, GatewayReactorResources reactorResources, PayloadReader payloadReader, PayloadWriter payloadWriter, ReconnectOptions reconnectOptions, IdentifyOptions identifyOptions, GatewayObserver initialObserver, PayloadTransformer identifyLimiter, int maxMissedHeartbeatAck, boolean unpooled, EmissionStrategy emissionStrategy) -
Method Summary
-
Constructor Details
-
GatewayOptions
public GatewayOptions(String token, GatewayReactorResources reactorResources, PayloadReader payloadReader, PayloadWriter payloadWriter, ReconnectOptions reconnectOptions, IdentifyOptions identifyOptions, GatewayObserver initialObserver, PayloadTransformer identifyLimiter, int maxMissedHeartbeatAck) -
GatewayOptions
public GatewayOptions(String token, GatewayReactorResources reactorResources, PayloadReader payloadReader, PayloadWriter payloadWriter, ReconnectOptions reconnectOptions, IdentifyOptions identifyOptions, GatewayObserver initialObserver, PayloadTransformer identifyLimiter, int maxMissedHeartbeatAck, boolean unpooled, EmissionStrategy emissionStrategy)
-
-
Method Details
-
getToken
-
getReactorResources
-
getPayloadReader
-
getPayloadWriter
-
getReconnectOptions
-
getIdentifyOptions
-
getInitialObserver
-
getIdentifyLimiter
-
getMaxMissedHeartbeatAck
public int getMaxMissedHeartbeatAck() -
isUnpooled
public boolean isUnpooled() -
getEmissionStrategy
-