Interface ExternalJoinSelector
- All Known Implementing Classes:
TcpExternalJoinSelector, WebSocketExternalJoinSelector
public interface ExternalJoinSelector
Transport-type strategy used to apply connection-specific bootstrap defaults.
Connection types: tcp, websocket, udp, kcp The purpose of the Selector is to initialize the properties and codecs of the relevant implementation class based on the current connection type (implementation class): 1. getCodecPipeline: Codec-related Pipeline 2. defaultSetting: Some default settings for the corresponding connection type
- Author:
- 渔民小镇
- date:
- 2023-05-29
-
Method Summary
Modifier and TypeMethodDescriptionvoiddefaultSetting(ExternalServerBuilderSetting builderSetting) Apply transport-specific default settings to the builder state.Get the transport type handled by this selector.
-
Method Details
-
getExternalJoinEnum
ExternalJoinEnum getExternalJoinEnum()Get the transport type handled by this selector.- Returns:
- transport type
-
defaultSetting
Apply transport-specific default settings to the builder state.- Parameters:
builderSetting- mutable external server builder state
-