C# Class UlteriusServer.TerminalServer.Session.ConnectionManager

Inheritance: IDisposable
Afficher le fichier Open project: Ulterius/server Class Usage Examples

Méthodes publiques

Свойство Type Description
UserSessionCookieName string
_connections UserConnection>.ConcurrentDictionary

Méthodes publiques

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

Private Methods

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

Method Details

ConnectionManager() public méthode

public ConnectionManager ( IMessageBus mBus, ILogger log, ISystemInfo sysinfo ) : System
mBus IMessageBus
log ILogger
sysinfo ISystemInfo
Résultat System

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetConnection() public méthode

public GetConnection ( System.Guid connectionId ) : UserConnection
connectionId System.Guid
Résultat UserConnection

Property Details

UserSessionCookieName public_oe static_oe property

public static string UserSessionCookieName
Résultat string

_connections public_oe static_oe property

public static ConcurrentDictionary _connections
Résultat UserConnection>.ConcurrentDictionary