Esempio n. 1
0
 internal Session(SessionManager sessionManager)
 {
     _sessionManager = sessionManager;
     _id = Guid.NewGuid().ToString("D");
     SetIsNew(true);
     SetIsValid(true);
     this.CanStream = true;
 }
Esempio n. 2
0
 internal ConnectionSession(SessionManager sessionManager, IConnection connection)
     : base(sessionManager, Guid.NewGuid().ToString("D") /*connection.ConnectionId*/)
 {
     _connection = connection;
 }
Esempio n. 3
0
		/// <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();
		}
Esempio n. 4
0
 public HttpSession(SessionManager sessionManager, string id)
     : base(sessionManager, id)
 {
 }
Esempio n. 5
0
 private HttpSession(SessionManager sessionManager)
     : base(sessionManager)
 {
 }
Esempio n. 6
0
 internal Session(SessionManager sessionManager, string id)
 {
     _sessionManager = sessionManager;
     _id = id;
     SetIsNew(true);
     SetIsValid(true);
     this.CanStream = true;
 }