|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprefs.VSPrefs
prefs.VSSerializablePrefs
events.VSAbstractEvent
protocols.VSAbstractProtocol
protocols.implementations.VSTwoPhaseCommitProtocol
public class VSTwoPhaseCommitProtocol
The class VSTwoPhaseCommitProtocol, an implementation of the two phase commit protocol.
| Field Summary |
|---|
| Fields inherited from class protocols.VSAbstractProtocol |
|---|
HAS_ON_CLIENT_START, HAS_ON_SERVER_START |
| Fields inherited from class events.VSAbstractEvent |
|---|
prefs, process |
| Fields inherited from class prefs.VSPrefs |
|---|
BOOLEAN_PREFIX, COLOR_PREFIX, FLOAT_PREFIX, id, INTEGER_PREFIX, LONG_PREFIX, STRING_PREFIX, VECTOR_PREFIX |
| Constructor Summary | |
|---|---|
VSTwoPhaseCommitProtocol()
Instantiates a two phase commit protocol object. |
|
| Method Summary | |
|---|---|
void |
onClientInit()
On client init. |
void |
onClientRecv(VSMessage recvMessage)
On client recv. |
void |
onClientReset()
On client reset. |
void |
onClientSchedule()
On client schedule. |
void |
onServerInit()
On server init. |
void |
onServerRecv(VSMessage recvMessage)
On server recv. |
void |
onServerReset()
On server reset. |
void |
onServerSchedule()
On server schedule. |
void |
onServerStart()
On server start. |
| Methods inherited from class protocols.VSAbstractProtocol |
|---|
currentContextIsServer, deserialize, getNumProcesses, hasOnServerStart, isClient, isClient, isRelevantMessage, isServer, isServer, onClientScheduleStart, onClientStart, onInit, onMessageRecvStart, onServerScheduleStart, onStart, removeSchedules, reset, scheduleAt, sendMessage, serialize, toString |
| Methods inherited from class events.VSAbstractEvent |
|---|
equals, getClassname, getCopy, getCopy, getName, getProcess, getShortname, init, init, log, setClassname, setShortname |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public VSTwoPhaseCommitProtocol()
| Method Detail |
|---|
public void onServerInit()
VSAbstractProtocol
onServerInit in class VSAbstractProtocolpublic void onServerReset()
VSAbstractProtocol
onServerReset in class VSAbstractProtocolpublic void onServerStart()
VSAbstractProtocol
onServerStart in class VSAbstractProtocolpublic void onServerRecv(VSMessage recvMessage)
VSAbstractProtocol
onServerRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onServerSchedule()
VSAbstractProtocol
onServerSchedule in class VSAbstractProtocolpublic void onClientInit()
VSAbstractProtocol
onClientInit in class VSAbstractProtocolpublic void onClientReset()
VSAbstractProtocol
onClientReset in class VSAbstractProtocolpublic void onClientRecv(VSMessage recvMessage)
VSAbstractProtocol
onClientRecv in class VSAbstractProtocolrecvMessage - the messagepublic void onClientSchedule()
VSAbstractProtocol
onClientSchedule in class VSAbstractProtocol
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||