C# Class Microsoft.R.Host.Broker.Sessions.SessionManager

Datei anzeigen Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
BlockSessionsCreationForUser ( IIdentity user, bool terminateSession ) : IDisposable
CreateSession ( IIdentity user, string id, Interpreter interpreter, SecureString password, string profilePath, string commandLineArguments ) : Session
GetSession ( IIdentity user, string id ) : Session
GetSessions ( IIdentity user ) : IEnumerable
GetUsers ( ) : IEnumerable

Private Methods

Method Description
GetOrCreateSessionList ( IIdentity user ) : List
SessionManager ( InterpreterManager interpManager, IOptions loggingOptions, ILogger sessionLogger, ILogger messageLogger, ILogger hostOutputLogger ) : System
Session_StateChanged ( object sender, SessionStateChangedEventArgs e ) : void
UnblockSessionCreationForUser ( IIdentity user ) : void

Method Details

BlockSessionsCreationForUser() public method

public BlockSessionsCreationForUser ( IIdentity user, bool terminateSession ) : IDisposable
user IIdentity
terminateSession bool
return IDisposable

CreateSession() public method

public CreateSession ( IIdentity user, string id, Interpreter interpreter, SecureString password, string profilePath, string commandLineArguments ) : Session
user IIdentity
id string
interpreter Microsoft.R.Host.Broker.Interpreters.Interpreter
password System.Security.SecureString
profilePath string
commandLineArguments string
return Session

GetSession() public method

public GetSession ( IIdentity user, string id ) : Session
user IIdentity
id string
return Session

GetSessions() public method

public GetSessions ( IIdentity user ) : IEnumerable
user IIdentity
return IEnumerable

GetUsers() public method

public GetUsers ( ) : IEnumerable
return IEnumerable