接口 BrokerClientAware

所有已知实现类:
BrokerClientOfflineMessageExternalProcessor, BrokerClientOfflineMessageLogicProcessor, BrokerClientOnlineMessageExternalProcessor, BrokerClientOnlineMessageLogicProcessor, BrokerClusterMessageClientProcessor, EventBusMessageClientProcessor, RequestMessageClientProcessor, SocketRequestBrokerHandler, SocketUserSessionHandler

public interface BrokerClientAware
BoltBrokerClient aware
     设置与 broker(游戏网关)的 Client

     只要 bolt 处理器(逻辑处理器和连接器)实现了该接口,框架会调用 setBrokerClient 方法并赋值
 
作者:
渔民小镇
日期:
2022-05-14
  • 方法概要

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

    • setBrokerClient

      void setBrokerClient(BrokerClient brokerClient)
      set BoltBrokerClient
      参数:
      brokerClient - BoltBrokerClient