ImmutableMap.<String, TDuplexProtocolFactory>of("header", new TDuplexHeaderProtocolFactory()),
ImmutableMap.<String, ExecutorService>of(),
new NiftyNoOpSecurityFactory());
fb303Handler.setShutdownHandler(new ServerShutdownHandler(server));
server.start();
}
/**
* Start a {@link ThriftServer} using Guice
*/