Class KingBGA

java.lang.Object
  |
  +--Process
        |
        +--KingBGA
All Implemented Interfaces:
MsgHandler

public class KingBGA
extends Process


Constructor Summary
KingBGA(Linker initComm, int f)
           
 
Method Summary
 int decide()
           
 void handleMsg(Msg m, int src, java.lang.String tag)
           
 void propose(int val)
           
 
Methods inherited from class Process
broadcastMsg, isNeighbor, myWait, receiveMsg, sendMsg, sendMsg, sendMsg, sendMsg, sendToNeighbors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KingBGA

public KingBGA(Linker initComm,
               int f)
Method Detail

propose

public void propose(int val)

decide

public int decide()

handleMsg

public void handleMsg(Msg m,
                      int src,
                      java.lang.String tag)
Overrides:
handleMsg in class Process