/// <summary> /// Retrieves the available options of the current layouter of yComp and the current values. /// </summary> /// <returns>A description of the available options of the current layouter of yComp /// and the current values.</returns> public String GetLayoutOptions() { ycompStream.Write("getLayoutOptions\n"); String msg = ""; do { msg += ycompStream.Read(); }while(!msg.EndsWith("endoptions\n")); return(msg.Substring(0, msg.Length - 11)); // remove "endoptions\n" from message }
public String ReadCommand() { return(ycompStream.Read()); }