Class FastLeaderElection.Messenger

  • Enclosing class:
    FastLeaderElection

    protected class FastLeaderElection.Messenger
    extends Object
    Multi-threaded implementation of message handler. Messenger implements two sub-classes: WorkReceiver and WorkSender. The functionality of each is obvious from the name. Each of these spawns a new thread.