Borg Examples: Whiteboard
WhiteBoardServer.borg
- An illustration how to write a whiteboard with disconnect -> continue/wait
voting. (the main program is
WhiteBoardServer.borg). This examples is accompagnied by
WhiteBoardContVoter.borg, which will always vote 'yes, continue'
if somebody disconnects.
WhiteBoardWaitVoter.borg, which will always vote for a 'no, wait' if
somebody is disconnected and
WhiteBoardOkayFailer.borg, which will never send an 'okay' back to the
whiteboard after receiving a message.