C# Class Adaptive.ReactiveTrader.Messaging.Abstraction.UserSessionCache

Inheritance: IUserSessionCache
Datei anzeigen Open project: AdaptiveConsulting/ReactiveTraderCloud Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Subscribe ( IUserSessionHandler userSessionHandler ) : IDisposable
Subscribe ( string sessionId, IUserSessionHandler userSessionHandler ) : IDisposable
TryDestroy ( string sessionId, IUserSession &userSession ) : bool
TryEstablish ( IUserSession session ) : bool
TryGetSession ( string sessionId, IUserSession &session ) : bool
TryRenew ( string sessionId ) : bool

Method Details

Clear() public method

public Clear ( ) : void
return void

Subscribe() public method

public Subscribe ( IUserSessionHandler userSessionHandler ) : IDisposable
userSessionHandler IUserSessionHandler
return IDisposable

Subscribe() public method

public Subscribe ( string sessionId, IUserSessionHandler userSessionHandler ) : IDisposable
sessionId string
userSessionHandler IUserSessionHandler
return IDisposable

TryDestroy() public method

public TryDestroy ( string sessionId, IUserSession &userSession ) : bool
sessionId string
userSession IUserSession
return bool

TryEstablish() public method

public TryEstablish ( IUserSession session ) : bool
session IUserSession
return bool

TryGetSession() public method

public TryGetSession ( string sessionId, IUserSession &session ) : bool
sessionId string
session IUserSession
return bool

TryRenew() public method

public TryRenew ( string sessionId ) : bool
sessionId string
return bool