/// <summary> /// Constructs the Communicator class and registers callbacks /// No commands are sent. /// /// Definitions: /// UpdateCell - Callback that sends back successful cell edits. /// ErrorCB - Callback that sends back error codes and information about the error. /// isEditable- Callback that initiates when all cells have been received from the initial cell population. /// /// </summary> /// <param name="port"></param> /// <param name="serverIP"></param> /// <param name="e"></param> public Communicator(UpdateCell c, ErrorCB error, isEditable editable) { //Registering all callbacks updateCell = c; this.error = error; this.editable = editable; }