Exemplo n.º 1
0
 /// <summary>
 /// Instantiates an instance of the TcpClientHandler class with the specified SocketBinder and parent TcpServerHandler.
 /// </summary>
 /// <param name="binder">SocketBinder to bind the client's new socket too.</param>
 /// <param name="server">TcpServerHandler this client connection belongs too.</param>
 public TcpClientHandler(SocketBinder binder, TcpServerHandler server, uint timeout) : base(binder)
 {
     Server   = server;
     Timeout  = timeout;
     Receiver = null;
     Stream   = null;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Instantiates an instance of the TcpClientHandler class with the specified SocketBinder and parent TcpServerHandler.
 /// </summary>
 /// <param name="binder">SocketBinder to bind the client's new socket too.</param>
 /// <param name="server">TcpServerHandler this client connection belongs too.</param>
 public TcpClientHandler( SocketBinder binder, TcpServerHandler server, uint timeout )
     : base(binder)
 {
     Server = server;
     Timeout = timeout;
     Receiver = null;
     Stream = null;
 }