Split Connection and ConnectionState

This commit is contained in:
David Fowler 2016-10-01 00:57:35 -07:00
parent 7b8e947567
commit ad2724b22c
2 changed files with 14 additions and 7 deletions

View File

@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Channels;
namespace Microsoft.AspNetCore.Sockets
{
public class Connection
{
public string ConnectionId { get; set; }
public IChannel Channel { get; set; }
}
}

View File

@ -1,5 +1,4 @@
using System;
using Channels;
namespace Microsoft.AspNetCore.Sockets
{
@ -9,10 +8,4 @@ namespace Microsoft.AspNetCore.Sockets
public bool Active { get; set; } = true;
public Connection Connection { get; set; }
}
public class Connection
{
public string ConnectionId { get; set; }
public IChannel Channel { get; set; }
}
}