Exemple #1
0
 public void Start(ILoginValidator aLoginValidator)
 {
     iLoginValidator = aLoginValidator;
     iHttpServer = new HttpServer(kNumServerThreads);
     iHttpServer.Start(kRemoteAccessPort, ProcessRequest);
     Logger.InfoFormat("Started proxy server on port {0}", kRemoteAccessPort);
 }
Exemple #2
0
 public void Stop()
 {
     if (iHttpServer != null)
     {
         iHttpServer.Dispose();
         iHttpServer = null;
     }
 }