/// <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();
		}
Beispiel #2
0
 internal Client(ClientManager clientManager, string id)
 {
     _clientManager = clientManager;
     _id = id;
     _clientLeaseTime = 0;
     SetIsNew(true);
     SetIsValid(true);
 }