private void initialise() { Log.logPrefix = "EasyIOI"; this.iois = new IOIs(this); SessionOptions sessionOptions = new SessionOptions(); sessionOptions.ServerHost = this.host; sessionOptions.ServerPort = this.port; this.session = new Session(sessionOptions, new EventHandler(processEvent)); try { this.session.StartAsync(); } catch (Exception ex) { Console.WriteLine(ex.ToString()); } while (!this.ready) { ; } }
internal IOI(IOIs iois, string id) { this.iois = iois; this.id = id; this.fields = new Fields(this); }
internal IOI(IOIs iois) { this.iois = iois; this.fields = new Fields(this); }