接口 BrokerServerAware

所有已知实现类:
BroadcastMessageBrokerProcessor, BroadcastOrderMessageBrokerProcessor, ConnectionCloseEventBrokerProcessor, ConnectionEventBrokerProcessor, EndPointLogicServerMessageBrokerProcessor, EventBusMessageBrokerProcessor, InnerModuleMessageBrokerProcessor, InnerModuleRequestCollectExternalMessageBrokerProcessor, InnerModuleRequestCollectMessageBrokerProcessor, InnerModuleVoidMessageBrokerProcessor, PulseSignalRequestBrokerProcessor, PulseSignalResponseBrokerProcessor, RegisterBrokerClientModuleMessageBrokerProcessor, RequestMessageBrokerProcessor, ResponseMessageBrokerProcessor, SettingUserIdMessageBrokerProcessor

public interface BrokerServerAware
BrokerServerAware
     设置与 broker(游戏网关)server

     只要 bolt 处理器(逻辑处理器和连接器)实现了该接口,框架会调用 setBrokerServer 方法并赋值

 
作者:
渔民小镇
日期:
2022-05-16
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    set BrokerServer
  • 方法详细资料

    • setBrokerServer

      void setBrokerServer(BrokerServer brokerServer)
      set BrokerServer
      参数:
      brokerServer - brokerServer