Ejemplo n.º 1
0
 public void ReceiveCallback(IAsyncResult AR)
 {
     lock (lockReceive)
     {
         RequestPreProcessor preProcessor = new RequestPreProcessor(AR);
         preProcessor.Process();
     }
 }
        public BasicControllerRequestProcess(RequestPreProcessor preProcessor)
        {
            serviceManager  = ServiceManager.GetInstance();
            logger          = serviceManager.GetService <ILoggingService>();
            basicController = serviceManager.GetService <IBasicServerController>();
            coreServer      = serviceManager.GetService <ICoreServerService>("realserver");
            encoder         = serviceManager.GetService <IEncodingConverterService>();

            this.preProcessor = preProcessor;
        }