Class StableNormal

java.lang.Object
  |
  +--Process
        |
        +--StableNormal
All Implemented Interfaces:
Lock, MsgHandler

public class StableNormal
extends Process
implements Lock


Constructor Summary
StableNormal(Linker initComm)
           
 
Method Summary
 void handleMsg(Msg m, int src, java.lang.String tag)
           
 void releaseCS()
           
 void requestCS()
           
 void sendToken()
           
 
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

StableNormal

public StableNormal(Linker initComm)
Method Detail

requestCS

public void requestCS()
Specified by:
requestCS in interface Lock

releaseCS

public void releaseCS()
Specified by:
releaseCS in interface Lock

sendToken

public void sendToken()

handleMsg

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