类 BroadcastMessageExternalProcessor

java.lang.Object
com.alipay.remoting.AbstractLifeCycle
com.alipay.remoting.rpc.protocol.AbstractUserProcessor<BroadcastMessage>
com.alipay.remoting.rpc.protocol.AsyncUserProcessor<BroadcastMessage>
com.iohao.game.bolt.broker.core.common.AbstractAsyncUserProcessor<BroadcastMessage>
com.iohao.game.external.core.broker.client.processor.BroadcastMessageExternalProcessor
所有已实现的接口:
com.alipay.remoting.LifeCycle, com.alipay.remoting.rpc.protocol.UserProcessor<BroadcastMessage>, UserProcessorExecutorAware, UserProcessorInNettyThreadAware, UserSessionsAware

public final class BroadcastMessageExternalProcessor extends AbstractAsyncUserProcessor<BroadcastMessage> implements UserSessionsAware
接收并处理 来自网关的广播消息
作者:
渔民小镇
日期:
2023-02-21
  • 构造器详细资料

    • BroadcastMessageExternalProcessor

      public BroadcastMessageExternalProcessor()
  • 方法详细资料

    • setUserSessions

      public void setUserSessions(UserSessions<?,?> userSessions)
      从接口复制的说明: UserSessionsAware
      框架会调用此方法,将 UserSessions 对象传入
      指定者:
      setUserSessions 在接口中 UserSessionsAware
      参数:
      userSessions - userSessions
    • handleRequest

      public void handleRequest(com.alipay.remoting.BizContext bizCtx, com.alipay.remoting.AsyncContext asyncCtx, BroadcastMessage message)
      指定者:
      handleRequest 在接口中 com.alipay.remoting.rpc.protocol.UserProcessor<BroadcastMessage>
      指定者:
      handleRequest 在类中 com.alipay.remoting.rpc.protocol.AsyncUserProcessor<BroadcastMessage>
    • interest

      public String interest()
      指定者:
      interest 在接口中 com.alipay.remoting.rpc.protocol.UserProcessor<BroadcastMessage>
      指定者:
      interest 在类中 com.alipay.remoting.rpc.protocol.AsyncUserProcessor<BroadcastMessage>