namespace Microsoft.Xna.Framework.Net
{
///
/// Quality of service information for a network session.
///
public class QualityOfService
{
///
/// Gets the average round trip time in milliseconds.
///
public TimeSpan AverageRoundTripTime { get; internal set; } = TimeSpan.FromMilliseconds(50);
///
/// Gets the minimum round trip time in milliseconds.
///
public TimeSpan MinimumRoundTripTime { get; internal set; } = TimeSpan.FromMilliseconds(20);
///
/// Gets the maximum round trip time in milliseconds.
///
public TimeSpan MaximumRoundTripTime { get; internal set; } = TimeSpan.FromMilliseconds(100);
///
/// Gets the bytes per second being sent.
///
public int BytesPerSecondSent { get; internal set; } = 0;
///
/// Gets the bytes per second being received.
///
public int BytesPerSecondReceived { get; internal set; } = 0;
///
/// Gets whether the connection is available.
///
public bool IsAvailable { get; internal set; } = true;
}
}