public void ControlMessage(StressTestControl message) { ListenChk.Checked = message.Listen; SendChk.Checked = message.Send; BufferDelayBox.Text = message.BufferDelayMs.ToString(); SendIntervalBox.Text = message.SendIntervalMs.ToString(); BatchSizeBox.Text = message.SendBatchSize.ToString(); DataSizeBox.Text = message.SendMaxDataLength.ToString(); }
internal static void Send(StressTestControl message, string destination) { _controlPublisher.Send(message, destination); }