ThriftInterfaceExecutorService executorService = new ThriftInterfaceExecutorService(
cfg);
ThriftServer clientServer = new ThriftServer(clientProcessor,
executorService, new InetSocketAddress("127.0.0.1", 7979));
clientServer.start();
ThriftServer server = new ThriftServer(serverProcessor,
executorService, new InetSocketAddress("127.0.0.1", 19191));
server.start();