2012-08-09 09:45:04 +00:00
|
|
|
#region Using Statements
|
2011-12-14 19:22:17 +00:00
|
|
|
using System;
|
|
|
|
using System.Net;
|
2012-10-10 16:07:28 +00:00
|
|
|
using ANX.Framework.NonXNA.Development;
|
2011-12-14 19:22:17 +00:00
|
|
|
|
|
|
|
#endregion // Using Statements
|
2011-11-16 15:00:54 +00:00
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// This file is part of the ANX.Framework created by the
|
|
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
|
|
// For details see: http://anxframework.codeplex.com/license
|
2011-11-18 10:41:44 +00:00
|
|
|
|
2011-11-16 15:00:54 +00:00
|
|
|
namespace ANX.Framework.Net
|
|
|
|
{
|
2012-10-14 12:17:15 +00:00
|
|
|
[PercentageComplete(95)]
|
2012-10-16 16:43:18 +00:00
|
|
|
[Developer("Glatzemann")]
|
2012-10-10 16:07:28 +00:00
|
|
|
[TestState(TestStateAttribute.TestState.Untested)]
|
|
|
|
public sealed class AvailableNetworkSession
|
|
|
|
{
|
2012-10-14 12:17:15 +00:00
|
|
|
internal AvailableNetworkSession()
|
2012-10-10 16:07:28 +00:00
|
|
|
{
|
|
|
|
QualityOfService = new QualityOfService();
|
2011-12-14 19:22:17 +00:00
|
|
|
}
|
|
|
|
|
2012-10-10 16:07:28 +00:00
|
|
|
public int CurrentGamerCount { get; internal set; }
|
|
|
|
public string HostGamertag { get; internal set; }
|
|
|
|
public int OpenPrivateGamerSlots { get; internal set; }
|
|
|
|
public int OpenPublicGamerSlots { get; internal set; }
|
|
|
|
public QualityOfService QualityOfService { get; internal set; }
|
|
|
|
public NetworkSessionProperties SessionProperties { get; internal set; }
|
|
|
|
|
|
|
|
#if !WINDOWSMETRO //TODO: search replacement for Win8
|
|
|
|
internal IPEndPoint EndPoint { get; set; }
|
|
|
|
internal IPEndPoint InternalEndpont { get; set; }
|
2012-02-21 07:52:20 +00:00
|
|
|
#endif
|
2012-10-10 16:07:28 +00:00
|
|
|
|
|
|
|
internal NetworkSessionType SessionType { get; set; }
|
2011-12-14 19:22:17 +00:00
|
|
|
}
|
2011-11-16 15:00:54 +00:00
|
|
|
}
|