/// <summary> /// Sends the specified command to the server using the current CommunicationProtocol and provides an /// alternate handler for the server response. /// </summary> /// <param name="command">The CommandTag to send to the server.</param> /// <param name="serverResponseCallback">The CommunicatorResponseEventHandler that will handle the /// response from this command.</param> public void SendCommand(RdlCommand command, CommunicatorResponseEventHandler serverResponseCallback) { RdlCommandGroup group = new RdlCommandGroup(new RdlCommand[] { command }); group.AuthKey = this.AuthKey; group.AuthKeyType = this.AuthKeyType; this.Init(); _communicator.Execute(group, serverResponseCallback); }