Interface ExternalJoinSelector

All Known Implementing Classes:
TcpExternalJoinSelector, WebSocketExternalJoinSelector

public interface ExternalJoinSelector
External Server Connection Type Selector
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 Details

    • getExternalJoinEnum

      ExternalJoinEnum getExternalJoinEnum()
      Connection type
      Returns:
      Connection type
    • defaultSetting

      void defaultSetting(ExternalServerBuilderSetting builderSetting)
      Some default settings for the corresponding connection type
      Parameters:
      builderSetting - builderSetting