public override void JoinDenied(ClusterMessage.ConfigurationResponseState configurationResponseState) { if (configurationResponseState == null) { throw new System.ArgumentException("Join denied configuration response state was null"); } this._joinDeniedConfigurationResponseState = configurationResponseState; }
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; }
public override void Joining(string name, IEnumerable <URI> instanceList) { _joiningInstances = instanceList; _discoveredInstances.Clear(); _joinDeniedConfigurationResponseState = null; }