コード例 #1
0
 internal TcpSocketChannel(IChannel parent, Socket socket, bool connected)
     : base(parent, socket)
 {
     this.config = new TcpSocketChannelConfig(this, socket);
     if (connected)
     {
         this.OnConnected();
     }
 }
コード例 #2
0
ファイル: TcpSocketChannel.cs プロジェクト: nayato/DotNetty
 internal TcpSocketChannel(IChannel parent, Socket socket, bool connected)
     : base(parent, socket)
 {
     this.config = new TcpSocketChannelConfig(this, socket);
     if (connected)
     {
         this.OnConnected();
     }
 }
コード例 #3
0
 internal CustTcpSocketChannel(IChannel parent, Socket socket, bool connected)
     : base(parent, socket)
 {
     bsp_dic          = new Dictionary <string, Bootstrap>();
     allclientchannel = new Dictionary <string, IChannel>();
     allclientCounter = new Dictionary <string, int>();
     this.config      = new CustTcpSocketChannelConfig(this, socket);
     if (connected)
     {
         this.OnConnected();
     }
 }
コード例 #4
0
 /// <summary>
 ///  Create a new instance
 /// 
 ///  @param parent    the {@link Channel} which created this instance or {@code null} if it was created by the user
 ///  @param socket    the {@link SocketChannel} which will be used
 /// </summary>
 public TcpSocketChannel(IChannel parent, Socket socket)
     : base(parent, socket)
 {
     this.config = new TcpSocketChannelConfig(this, socket);
 }
コード例 #5
0
ファイル: TcpSocketChannel.cs プロジェクト: seedyoon/DotNetty
 /// <summary>
 ///  Create a new instance
 ///
 ///  @param parent    the {@link Channel} which created this instance or {@code null} if it was created by the user
 ///  @param socket    the {@link SocketChannel} which will be used
 /// </summary>
 public TcpSocketChannel(IChannel parent, Socket socket)
     : base(parent, socket)
 {
     this.config = new TcpSocketChannelConfig(this, socket);
 }