internal Session(SessionManager sessionManager, string id) { _sessionManager = sessionManager; _id = id; SetIsNew(true); SetIsValid(true); this.CanStream = true; }
internal Session(SessionManager sessionManager) { _sessionManager = sessionManager; _id = Guid.NewGuid().ToString("D"); SetIsNew(true); SetIsValid(true); this.CanStream = true; }
/// <summary> /// Initializes a new instance of the MessageBroker class. /// </summary> public MessageBroker(MessageServer messageServer) { _messageServer = messageServer; _services = new CopyOnWriteDictionary(); _endpoints = new CopyOnWriteDictionary(); _factories = new CopyOnWriteDictionary(); _destinationServiceMap = new CopyOnWriteDictionary(); _destinations = new CopyOnWriteDictionary(); _clientManager = new ClientManager(this); _sessionManager = new SessionManager(this); _loginManager = new LoginManager(); }
public HttpSession(SessionManager sessionManager, string id) : base(sessionManager, id) { }
private HttpSession(SessionManager sessionManager) : base(sessionManager) { }
internal ConnectionSession(SessionManager sessionManager, IConnection connection) : base(sessionManager, Guid.NewGuid().ToString("D") /*connection.ConnectionId*/) { _connection = connection; }