/// <summary> /// Method to invoke to ask the server to modify an object /// </summary> /// <param name="id"></param> /// <param name="b"></param> public void ask_modif(int id, BoardElement b) { connexionServer.addInstruction("MOD" + Convert.ToString(id) + " " + b.GetString()); }
/*********************************************************************/ /**Method the main window can invoke to issue request to the server***/ /*********************************************************************/ /// <summary> /// Method to invoke to ask the server to add an object /// </summary> /// <param name="b">Object to be added</param> public void ask_add(BoardElement b) { connexionServer.addInstruction("ADD" + b.GetString()); }