Exemplo n.º 1
0
 public override void JoinDenied(ClusterMessage.ConfigurationResponseState configurationResponseState)
 {
     if (configurationResponseState == null)
     {
         throw new System.ArgumentException("Join denied configuration response state was null");
     }
     this._joinDeniedConfigurationResponseState = configurationResponseState;
 }
Exemplo n.º 2
0
 private ClusterContextImpl(InstanceId me, CommonContextState commonState, LogProvider logging, Timeouts timeouts, IEnumerable <URI> joiningInstances, ClusterMessage.ConfigurationResponseState joinDeniedConfigurationResponseState, Executor executor, ObjectOutputStreamFactory objectOutputStreamFactory, ObjectInputStreamFactory objectInputStreamFactory, LearnerContext learnerContext, HeartbeatContext heartbeatContext, Config config) : base(me, commonState, logging, timeouts)
 {
     this._joiningInstances = joiningInstances;
     this._joinDeniedConfigurationResponseState = joinDeniedConfigurationResponseState;
     this._executor = executor;
     this._objectOutputStreamFactory = objectOutputStreamFactory;
     this._objectInputStreamFactory  = objectInputStreamFactory;
     this._learnerContext            = learnerContext;
     this._heartbeatContext          = heartbeatContext;
     this._config = config;
 }
Exemplo n.º 3
0
 public override void Joining(string name, IEnumerable <URI> instanceList)
 {
     _joiningInstances = instanceList;
     _discoveredInstances.Clear();
     _joinDeniedConfigurationResponseState = null;
 }