Пример #1
0
 private void InitializePortManager()
 {
     PortManager = new PortManager(this);
     PortManager.IncomingRequest += new PortManager.IncomingRequestEventHandler(PortManager_IncomingRequest);
 }
Пример #2
0
 /// <summary>
 /// Creates an instance of the <see cref="RequestHandler"/> class.
 /// </summary>
 public RequestHandler(PortManager portManager, Socket socket)
 {
     this.Socket = socket;
     this.PortManager = portManager;
 }
Пример #3
0
 /// <summary>
 /// Creates an instance of the <see cref="RequestHandler"/> class.
 /// </summary>
 public RequestHandler(PortManager portManager, Socket socket)
 {
     this.Socket      = socket;
     this.PortManager = portManager;
 }
Пример #4
0
 private void InitializePortManager()
 {
     PortManager = new PortManager(this);
     PortManager.IncomingRequest += new PortManager.IncomingRequestEventHandler(PortManager_IncomingRequest);
 }