public AsyncReader(IByteParser parser, byte[] buffer, IAcceptor acceptor, ISocketErrorHandler errorHandler, Socket socket) { _parser = parser; _buffer = buffer; _acceptor = acceptor; _errorHandler = errorHandler; _socket = socket; _endpoint = socket.RemoteEndPoint; _log = LogManager.GetLogger(_endpoint.ToString()); }