Package moe.kyokobot.koe.experimental
Class KoeOptionsBuilderExperimental
java.lang.Object
moe.kyokobot.koe.KoeOptionsBuilder
moe.kyokobot.koe.experimental.KoeOptionsBuilderExperimental
-
Field Summary
Fields inherited from class moe.kyokobot.koe.KoeOptionsBuilder
byteBufAllocator, cipherPreferencePolicy, codecRegistry, datagramChannelClass, daveFactoryProvider, deafened, enableDAVE, enableDAVELogSink, enableWSSPortOverride, eventLoopGroup, experimental, framePollerFactory, gatewayConnectTimeout, gatewayVersion, highPacketPriority, sendSpeakingStop, socketChannelClass, verifyWSSHostname -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()setCipherPreferencePolicy(@NotNull CipherPreferencePolicy cipherPreferencePolicy) Sets the policy which picks the transport encryption mode of voice sessions out of the ones offered by the voice server.setDaveFactoryProvider(@NotNull DaveFactoryProvider daveFactoryProvider) Sets a customNettyDaveFactoryprovider function.Methods inherited from class moe.kyokobot.koe.KoeOptionsBuilder
setByteBufAllocator, setCodecRegistry, setDatagramChannelClass, setDAVEEnabled, setDeafened, setEnableDAVELogSink, setEnableWSSPortOverride, setEventLoopGroup, setFramePollerFactory, setGatewayConnectTimeout, setGatewayVersion, setHighPacketPriority, setSendSpeakingStop, setSocketChannelClass, setVerifyWSSHostname
-
Constructor Details
-
KoeOptionsBuilderExperimental
public KoeOptionsBuilderExperimental()
-
-
Method Details
-
setCipherPreferencePolicy
public KoeOptionsBuilderExperimental setCipherPreferencePolicy(@NotNull @NotNull CipherPreferencePolicy cipherPreferencePolicy) Sets the policy which picks the transport encryption mode of voice sessions out of the ones offered by the voice server. Defaults toCipherPreferencePolicy.heuristic().- Parameters:
cipherPreferencePolicy- the policy to use- See Also:
-
setDaveFactoryProvider
public KoeOptionsBuilderExperimental setDaveFactoryProvider(@NotNull @NotNull DaveFactoryProvider daveFactoryProvider) Sets a customNettyDaveFactoryprovider function. This function will be called with a boolean indicating whether the DAVE log sink is enabled, and should return a new instance ofNettyDaveFactory. If this is not set, the default factory will be used.- Parameters:
daveFactoryProvider- the custom factory provider function
-
create
- Overrides:
createin classKoeOptionsBuilder
-