Ejemplo n.º 1
0
 public SwitchboardServer(IPEndPoint listenEp, ISwitchboardRequestHandler handler)
 {
     cancellationTokenSource = new CancellationTokenSource(TimeSpan.FromSeconds(60));
     this.server             = new TcpListener(listenEp);
     this.handler            = handler;
 }
Ejemplo n.º 2
0
 public SecureSwitchboardServer(IPEndPoint endPoint, ISwitchboardRequestHandler handler, X509Certificate certificate)
     : base(endPoint, handler)
 {
     this.certificate = certificate;
 }
Ejemplo n.º 3
0
 public SwitchboardServer(IPEndPoint listenEp, ISwitchboardRequestHandler handler)
 {
     this.server  = new TcpListener(listenEp);
     this.handler = handler;
 }
Ejemplo n.º 4
0
 public SwitchboardServer(IPEndPoint listenEp, ISwitchboardRequestHandler handler)
 {
     this.server = new TcpListener(listenEp);
     this.handler = handler;
 }
Ejemplo n.º 5
0
 public SecureSwitchboardServer(IPEndPoint endPoint, ISwitchboardRequestHandler handler, X509Certificate certificate)
     : base(endPoint, handler)
 {
     this.certificate = certificate;
 }