Example #1
0
        public void setup(Dictionary<string, string> variableList)
        {
            action = new InputHTTPAction(core);
            try
            {
                port = CMSConfig.httpport;
                myListener = new TcpListener(port);
            }
            catch (Exception e)
            {
                UIMain.fatalError("[InputHTTP] Unable to open port : "+port+"\n"+e.Message);
            }

        }
Example #2
0
 public void setup(Dictionary<string, string> variableList)
 {
     action = new InputHTTPAction(core);
     try
     {
         //port = CMSConfig.httpport;
         scheduler = KayakScheduler.Factory.Create(new SchedulerDelegate());
         server = KayakServer.Factory.CreateHttp(new RequestDelegate(action), scheduler);
     }
     catch (Exception e)
     {
         UIMain.fatalError("[InputHTTP] Unable to open port : " + CMSConfig.httpport + "\n" + e.Message);
     }
 }
Example #3
0
 public RequestDelegate(InputHTTPAction action)
 {
     this.action = action;
 }
Example #4
0
 public InputHTTPHandle(ref Socket mySocket, InputHTTPAction action, List<String> availableSlides)
 {
     this.mySocket = mySocket;
     this.action = action;
     this.availableSlides = availableSlides;
 }