We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb624c commit be67c10Copy full SHA for be67c10
src/main/kotlin/cz/ctu/fee/dsv/semwork/rastvdmy/MessageReceiver.kt
@@ -95,6 +95,7 @@ class MessageReceiver(node: Node?) : NodeCommands {
95
override fun nodeMissing(addr: Address?) {
96
println("NodeMissing was called with $addr")
97
if (addr!!.compareTo(myNode!!.neighbours!!.right) == 0) {
98
+ // readln() // Waiting for the user to press entering (blocking the nodes for an election process)
99
// It's for me
100
val myNeighbours = myNode!!.neighbours
101
// to my nnext send msg ChPrev with myaddr -> my nnext = next
0 commit comments