C# Class UlteriusServer.TerminalServer.Session.ConnectionManager

Inheritance: IDisposable
Datei anzeigen Open project: Ulterius/server Class Usage Examples

Public Properties

Property Type Description
UserSessionCookieName string
_connections UserConnection>.ConcurrentDictionary

Public Methods

Method Description
ConnectionManager ( IMessageBus mBus, ILogger log, ISystemInfo sysinfo ) : System
Dispose ( ) : void
GetConnection ( System.Guid connectionId ) : UserConnection

Private Methods

Method Description
CheckForDisconnectedAsync ( ) : Task
HandleConnectionRequest ( IConsumeContext ctx ) : void
HandleDisconnectionRequest ( ConnectionDisconnectedRequest disconnect ) : void
HandleSessionConnection ( UserConnectionEvent connection ) : void

Method Details

ConnectionManager() public method

public ConnectionManager ( IMessageBus mBus, ILogger log, ISystemInfo sysinfo ) : System
mBus IMessageBus
log ILogger
sysinfo ISystemInfo
return System

Dispose() public method

public Dispose ( ) : void
return void

GetConnection() public method

public GetConnection ( System.Guid connectionId ) : UserConnection
connectionId System.Guid
return UserConnection

Property Details

UserSessionCookieName public_oe static_oe property

public static string UserSessionCookieName
return string

_connections public_oe static_oe property

public static ConcurrentDictionary _connections
return UserConnection>.ConcurrentDictionary