예제 #1
0
파일: Session.cs 프로젝트: GodLesZ/svn-dump
		internal Session(SessionManager sessionManager, string id) {
			_sessionManager = sessionManager;
			_id = id;
			SetIsNew(true);
			SetIsValid(true);
			this.CanStream = true;
		}
예제 #2
0
파일: Session.cs 프로젝트: GodLesZ/svn-dump
		internal Session(SessionManager sessionManager) {
			_sessionManager = sessionManager;
			_id = Guid.NewGuid().ToString("D");
			SetIsNew(true);
			SetIsValid(true);
			this.CanStream = true;
		}
예제 #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();
		}
예제 #4
0
		public HttpSession(SessionManager sessionManager, string id)
			: base(sessionManager, id) {
		}
예제 #5
0
		private HttpSession(SessionManager sessionManager)
			: base(sessionManager) {
		}
예제 #6
0
		internal ConnectionSession(SessionManager sessionManager, IConnection connection)
			: base(sessionManager, Guid.NewGuid().ToString("D") /*connection.ConnectionId*/) {
			_connection = connection;
		}