Exemple #1
0
        public UvTcpConnection(UvThread thread, UvTcpHandle handle)
        {
            _thread = thread;
            _handle = handle;

            _input  = _thread.ChannelFactory.CreateChannel();
            _output = _thread.ChannelFactory.CreateChannel();

            ProcessReads();
            _sendingTask = ProcessWrites();
        }
Exemple #2
0
 public UvTcpListener(UvThread thread, IPEndPoint endpoint)
 {
     _thread   = thread;
     _endpoint = endpoint;
 }
Exemple #3
0
 public UvTcpClientConnection(UvThread thread, UvTcpHandle handle) :
     base(thread, handle)
 {
 }
Exemple #4
0
 public UvTcpServerConnection(UvThread thread, UvTcpHandle handle) :
     base(thread, handle)
 {
 }
Exemple #5
0
 public UvTcpClient(UvThread thread, IPEndPoint endPoint)
 {
     _thread     = thread;
     _ipEndPoint = endPoint;
 }