internal ReplicatedValueStore(IServiceAddress address, IServiceConnector connector, IDatabase localDb, Object dbWriteLock, ServiceStatusTracker tracker) { this.address = address; this.connector = connector; blockDatabase = localDb; blockDbWriteLock = dbWriteLock; this.tracker = tracker; comm = new MessageCommunicator(connector, tracker); cluster = new List<IServiceAddress>(9); ClearAllMachines(); // Add listener for service status updates, tracker.StatusChange += TrackerOnStatusChange; }
public MCServiceMessageQueue(MessageCommunicator communicator) { this.communicator = communicator; }