|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Process | +--GlobalFunc
Constructor Summary | |
GlobalFunc(Linker initComm,
boolean isRoot)
|
Method Summary | |
int |
computeGlobal()
|
void |
handleMsg(Msg m,
int src,
java.lang.String tag)
|
void |
initialize(int myValue,
FuncUser prog)
|
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 |
public GlobalFunc(Linker initComm, boolean isRoot)
Method Detail |
public void initialize(int myValue, FuncUser prog)
initialize
in interface GlobalService
public int computeGlobal()
computeGlobal
in interface GlobalService
public void handleMsg(Msg m, int src, java.lang.String tag)
handleMsg
in interface MsgHandler
handleMsg
in class Process
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |