throw new IOException("Could not create ServerSocket to listen for callback");
}
TTransportFactory transportFactory = new TFramedTransport.Factory();
TProtocolFactory protocolFactory = new TBinaryProtocol.Factory();
TProcessor processor = new ClientConsole.Processor(consoleImpl);
mConsoleServer = new TSimpleServer(processor, consoleTransport, transportFactory,
protocolFactory);
// TODO: Is this technically a race? The Thread.start() method returns
// when the thread is switched to RUNNING, but there is an arbitrary