Split Connection and ConnectionState
This commit is contained in:
parent
7b8e947567
commit
ad2724b22c
|
|
@ -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; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
using System;
|
using System;
|
||||||
using Channels;
|
|
||||||
|
|
||||||
namespace Microsoft.AspNetCore.Sockets
|
namespace Microsoft.AspNetCore.Sockets
|
||||||
{
|
{
|
||||||
|
|
@ -9,10 +8,4 @@ namespace Microsoft.AspNetCore.Sockets
|
||||||
public bool Active { get; set; } = true;
|
public bool Active { get; set; } = true;
|
||||||
public Connection Connection { get; set; }
|
public Connection Connection { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Connection
|
|
||||||
{
|
|
||||||
public string ConnectionId { get; set; }
|
|
||||||
public IChannel Channel { get; set; }
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue