Class BetaSynch

java.lang.Object
  |
  +--Process
        |
        +--BetaSynch
All Implemented Interfaces:
MsgHandler, Synchronizer

public class BetaSynch
extends Process
implements Synchronizer


Constructor Summary
BetaSynch(Linker initComm, boolean isRoot)
           
 
Method Summary
 void handleMsg(Msg m, int src, java.lang.String tag)
           
 void initialize(MsgHandler initProg)
           
 void nextPulse()
           
 void sendMessage(int destId, java.lang.String tag, int msg)
           
 
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
 
Methods inherited from interface MsgHandler
receiveMsg
 

Constructor Detail

BetaSynch

public BetaSynch(Linker initComm,
                 boolean isRoot)
Method Detail

initialize

public void initialize(MsgHandler initProg)
Specified by:
initialize in interface Synchronizer

handleMsg

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

sendMessage

public void sendMessage(int destId,
                        java.lang.String tag,
                        int msg)
Specified by:
sendMessage in interface Synchronizer

nextPulse

public void nextPulse()
Specified by:
nextPulse in interface Synchronizer