static void Main(string[] args) { App core = new App(); Comunication comunicationSet = new Comunication(); Messages messages = new Messages(core, comunicationSet); comunicationSet.setterMessages(messages); Thread listener = new Thread(() => comunicationSet.StartListening(8083)); listener.Start(); //Apps prueba = new Apps(comunicationSet); //prueba.startApps("APP3"); //prueba.startApps("APP1"); //comunicationSet.sendMessage("{cmd:start, src:GUI, dest:APP, msg:\"APP1\"}", 8083); //messages.Actions(""); //messages.Actions("{cmd:start,src:GUI,dest:APP,msg:\"APP1\"}"); }
public Messages(App core, Comunication comunication) { this.comunication = comunication; this.core = core; this.functions = new Apps(comunication); }
public Apps(Comunication comunications) { this.comunications = comunications; }