func broadcastInstallSeq(destinationView *view.View, installSeqMsg InstallSeqMsg) {
	comm.BroadcastRPCRequest(destinationView, "ReconfigurationRequest.InstallSeq", installSeqMsg)
}
func broadcastReconfigRequest(destinationView *view.View, reconfigMsg ReconfigMsg) {
	comm.BroadcastRPCRequest(destinationView, "ReconfigurationRequest.Reconfig", reconfigMsg)
}
func broadcastStateUpdate(destinationView *view.View, syncStateMsg SyncStateMsg) {
	comm.BroadcastRPCRequest(destinationView, "ReconfigurationRequest.StateUpdate", syncStateMsg)
}
func broadcastViewInstalled(destinationView *view.View, viewInstalledMsg ViewInstalledMsg) {
	comm.BroadcastRPCRequest(destinationView, "ReconfigurationRequest.ViewInstalled", viewInstalledMsg)
}
Beispiel #5
0
func broadcastLearnRequest(destinationView *view.View, proposal Proposal) {
	comm.BroadcastRPCRequest(destinationView, "ConsensusRequest.Learn", proposal)
}
Beispiel #6
0
func broadcastViewSequenceConv(destinationView *view.View, seqConvMsg SeqConvMsg) {
	comm.BroadcastRPCRequest(destinationView, "ViewGeneratorRequest.SeqConv", seqConvMsg)
}
Beispiel #7
0
// -------- Broadcast functions -----------
func broadcastViewSequence(destinationView *view.View, viewSeqMsg ViewSeqMsg) {
	destinationViewWithoutThisProcess := destinationView.NewCopyWithUpdates(view.Update{Type: view.Leave, Process: globalServer.thisProcess})
	comm.BroadcastRPCRequest(destinationViewWithoutThisProcess, "ViewGeneratorRequest.ProposeSeqView", viewSeqMsg)
}