private boolean connectionTypeSet = false;
private long requestIdGen;
private final ILogger logger;
public SocketTextReader(TcpIpConnection connection) {
IOService ioService = connection.getConnectionManager().getIOHandler();
this.textCommandService = ioService.getTextCommandService();
this.socketTextWriter = (SocketTextWriter) connection.getWriteHandler().getSocketWriter();
this.connection = connection;
this.memcacheEnabled = ioService.isMemcacheEnabled();
this.restEnabled = ioService.isRestEnabled();
this.logger = ioService.getLogger(this.getClass().getName());
}