|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--Process
|
+--TwoPhaseParticipant
| Constructor Summary | |
TwoPhaseParticipant(Linker initComm)
|
|
| Method Summary | |
boolean |
decide()
|
void |
handleMsg(Msg m,
int src,
java.lang.String tag)
|
void |
propose(boolean vote)
|
| 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 |
public TwoPhaseParticipant(Linker initComm)
| Method Detail |
public void propose(boolean vote)
public boolean decide()
public void handleMsg(Msg m,
int src,
java.lang.String tag)
handleMsg in class Process
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||