コード例 #1
0
        public UvTcpConnection(UvThread thread, UvTcpHandle handle)
        {
            _thread = thread;
            _handle = handle;

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

            ProcessReads();
            _sendingTask = ProcessWrites();
        }
コード例 #2
0
ファイル: UvTcpListener.cs プロジェクト: myFirstway/Channels
 public UvTcpListener(UvThread thread, IPEndPoint endpoint)
 {
     _thread   = thread;
     _endpoint = endpoint;
 }
コード例 #3
0
 public UvTcpClientConnection(UvThread thread, UvTcpHandle handle) :
     base(thread, handle)
 {
 }
コード例 #4
0
 public UvTcpServerConnection(UvThread thread, UvTcpHandle handle) :
     base(thread, handle)
 {
 }
コード例 #5
0
ファイル: UvTcpClient.cs プロジェクト: zsybupt/Channels
 public UvTcpClient(UvThread thread, IPEndPoint endPoint)
 {
     _thread     = thread;
     _ipEndPoint = endPoint;
 }