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); } }
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); } }
public RequestDelegate(InputHTTPAction action) { this.action = action; }
public InputHTTPHandle(ref Socket mySocket, InputHTTPAction action, List<String> availableSlides) { this.mySocket = mySocket; this.action = action; this.availableSlides = availableSlides; }