internal SocketReader( TcpClient tcpClient, SocketSettings settings, ClientHandlerThread responder, AcceptorSocketDescriptor acceptorDescriptor) { tcpClient_ = tcpClient; responder_ = responder; acceptorDescriptor_ = acceptorDescriptor; stream_ = Transport.StreamFactory.CreateServerStream(tcpClient, settings, responder.GetLog()); _readCancellationTokenSource = new CancellationTokenSource(); }
public SocketReader(TcpClient tcpClient, SocketSettings settings, ClientHandlerThread responder) { tcpClient_ = tcpClient; responder_ = responder; stream_ = Transport.StreamFactory.CreateServerStream(tcpClient, settings, responder.GetLog()); }
public SocketReader(TcpClient tcpClient, SocketSettings settings, ClientHandlerThread responder) { parser_ = new Parser(settings.Encoding); encoding_ = settings.Encoding; tcpClient_ = tcpClient; responder_ = responder; stream_ = Transport.StreamFactory.CreateServerStream(tcpClient, settings, responder.GetLog()); }
public SocketReader(TcpClient tcpClient, SocketSettings settings, ClientHandlerThread responder, Encoding encoding) { tcpClient_ = tcpClient; responder_ = responder; stream_ = Transport.StreamFactory.CreateServerStream(tcpClient, settings, responder.GetLog()); _messageEncoding = encoding; parser_ = new Parser(encoding); }
internal SocketReader( TcpClient tcpClient, SocketSettings settings, ClientHandlerThread responder, AcceptorSocketDescriptor acceptroDescriptor) { parser_ = new Parser(settings.Encoding); encoding_ = settings.Encoding; tcpClient_ = tcpClient; responder_ = responder; acceptorDescriptor_ = acceptroDescriptor; stream_ = Transport.StreamFactory.CreateServerStream(tcpClient, settings, responder.GetLog()); }