Example #1
0
 public void Start()
 {
     if (this.currentReplicaState.Leaders.Count == 0)
     {
         throw new InvalidOperationException("You need to setup leaders in the replica's state before starting replicas");
     }
     loopListener.Execute();
 }
Example #2
0
 public void Start()
 {
     if (this.currentReplicaState.Leaders.Count == 0)
     {
         throw new InvalidOperationException("You need to setup leaders in the replica's state before starting replicas");
     }
     logger.Info($"{this.currentReplicaState.MessageSender.UniqueId} is starting");
     loopListener.Execute();
 }
Example #3
0
 public void Start()
 {
     loopListener.Execute();
 }
Example #4
0
 public void Start()
 {
     logger.Info($"{this.currentAcceptorState.MessageSender.UniqueId} is starting");
     loopListener.Execute();
 }
Example #5
0
 public void Start()
 {
     logger.Info($"{this.currentState.MessageSender.UniqueId} is starting");
     solicitateBallot();
     loopListener.Execute();
 }
Example #6
0
 public void Start()
 {
     solicitateBallot();
     loopListener.Execute();
 }