Example #1
0
 public ControlServer(
     ControlMessageHandler handler,
     BootStrapContext context,
     ConnectionManagerRegistry connectionRegistry) {
   super(
       ControlRpcConfig.getMapping(context.getConfig(), context.getExecutor()),
       context.getAllocator().getAsByteBufAllocator(),
       context.getBitLoopGroup());
   this.handler = handler;
   this.connectionRegistry = connectionRegistry;
   this.allocator = context.getAllocator();
 }