类的使用
com.iohao.game.bolt.broker.core.client.BrokerClientBuilder
程序包
说明
逻辑服,逻辑服通常指的是游戏对外服和游戏逻辑服。
游戏对外服 - broker client
-
com.iohao.game.bolt.broker.client中BrokerClientBuilder的使用
修饰符和类型方法说明BrokerClientStartup.createBrokerClientBuilder()
BoltBrokerClient 构建器BrokerClientApplication.initConfig
(AbstractBrokerClientStartup brokerClientStartup) 修饰符和类型方法说明void
AbstractBrokerClientStartup.connectionEventProcessor
(BrokerClientBuilder brokerClientBuilder) void
BrokerClientStartup.connectionEventProcessor
(BrokerClientBuilder brokerClientBuilder) 添加连接处理器void
AbstractBrokerClientStartup.registerUserProcessor
(BrokerClientBuilder brokerClientBuilder) void
BrokerClientStartup.registerUserProcessor
(BrokerClientBuilder brokerClientBuilder) 注册用户处理器BrokerClientApplication.start
(BrokerClientBuilder builder) -
com.iohao.game.bolt.broker.core.client中BrokerClientBuilder的使用
修饰符和类型方法说明BrokerClientBuilder.addConnectionEventProcessor
(com.alipay.remoting.ConnectionEventType type, Supplier<com.alipay.remoting.ConnectionEventProcessor> processorSupplier) 添加连接器BrokerClientBuilder.addListener
(BrokerClientListener listener) 添加监听static BrokerClientBuilder
BrokerClient.newBuilder()
BrokerClientBuilder.registerUserProcessor
(Supplier<com.alipay.remoting.rpc.protocol.UserProcessor<?>> processorSupplier) 注册处理器BrokerClientBuilder.removeUserProcessor
(Class<? extends com.alipay.remoting.rpc.protocol.UserProcessor<?>> processorClass) 移除不需要的处理器 -
com.iohao.game.external.core.broker.client中BrokerClientBuilder的使用