/// <summary> /// Signals the end of the transmission. /// </summary> public void End() { if (OutgoingBytes > IncomingBytes) { Speed.SetData(OutgoingBytes); Speed.End(); MessageRate.SetData(OutgoingMessages); MessageRate.End(); } else { Speed.SetData(IncomingBytes); Speed.End(); MessageRate.SetData(IncomingMessages); MessageRate.End(); } }