Processor<Iface> processor = new Processor<Iface>(TraceWrap.service(new MasterClientServiceHandler())); ServerPort serverPort = TServerUtils.startServer(getSystemConfiguration(), Property.MASTER_CLIENTPORT, processor, "Master", "Master Client Service Handler", null, Property.MASTER_MINTHREADS, Property.MASTER_THREADCHECK, Property.GENERAL_MAX_MESSAGE_SIZE);
Iface rpcProxy = RpcWrapper.service(clientHandler, new Processor<Iface>(clientHandler)); final Processor<Iface> processor; if (ThriftServerType.SASL == getThriftServerType()) { Iface tcredsProxy = TCredentialsUpdatingWrapper.service(rpcProxy, clientHandler.getClass(), getConfiguration()); processor = new Processor<>(tcredsProxy); } else { processor = new Processor<>(rpcProxy);