예제 #1
0
        public ClusterManager(
            ILogger <ClusterManager> logger,
            ClusterRemoteDirectory remoteDirectory,
            ClusterPeerNodeClientFactory peerClientFactory,
            IClusterSignalRMembershipProvider membershipProvider)
        {
            _logger             = logger;
            _membershipProvider = membershipProvider;
            _remoteDirectory    = remoteDirectory;
            _peerClientFactory  = peerClientFactory;

            var ignore = MonitorTask();
        }
예제 #2
0
 public ClusterHub(
     IClusterSignalRMembershipProvider membershipProvider,
     ClusterManager clusterManager,
     IServiceProvider serviceProvider,
     ClusterLocalNodeDirectory localDirectory,
     ClusterRemoteDirectory remoteDirectory,
     ClusterHubLifetimeManagerCache lifetimeManagerCache
     )
 {
     _clusterManager       = clusterManager;
     _membershipProvider   = membershipProvider;
     _localDirectory       = localDirectory;
     _remoteDirectory      = remoteDirectory;
     _serviceProvider      = serviceProvider;
     _lifetimeManagerCache = lifetimeManagerCache;
 }