类的使用
com.iohao.game.bolt.broker.server.BrokerServerBuilder
-
com.iohao.game.bolt.broker.server中BrokerServerBuilder的使用
修饰符和类型方法说明BrokerServerBuilder.addConnectionEventProcessor
(com.alipay.remoting.ConnectionEventType type, Supplier<com.alipay.remoting.ConnectionEventProcessor> processorSupplier) 注册连接器BrokerServerBuilder.brokerClusterManagerBuilder
(BrokerClusterManagerBuilder brokerClusterManagerBuilder) 集群构建器BrokerServerBuilder.clearProcessor()
移除所有默认 处理器static BrokerServerBuilder
BrokerServer.newBuilder()
BrokerServerBuilder.registerUserProcessor
(Supplier<com.alipay.remoting.rpc.protocol.UserProcessor<?>> processorSupplier) 注册用户处理器BrokerServerBuilder.removeUserProcessor
(Class<? extends com.alipay.remoting.rpc.protocol.UserProcessor<?>> clazz) 移除用户处理器,使之不与自定义的用户处理器冲突 -
com.iohao.game.bolt.broker.server.enhance中BrokerServerBuilder的使用
修饰符和类型方法说明void
BrokerEnhance.enhance
(BrokerServerBuilder builder) void
BrokerEnhances.enhance
(BrokerServerBuilder builder)