diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-26 15:59:39 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-26 15:59:39 +0000 |
| commit | d0b6e434d76cfea9e3096f0d50706c9a286a4b9d (patch) | |
| tree | eeb76b267bdfb08e328794679e713065dd6755b5 /sources/protocols/implementations/TwoPhaseCommitProtocol.java | |
| parent | 9ffbf6d8b94e8ae40ebc291eab6bd96aff3477b0 (diff) | |
VSPrefs sorted.
Diffstat (limited to 'sources/protocols/implementations/TwoPhaseCommitProtocol.java')
| -rw-r--r-- | sources/protocols/implementations/TwoPhaseCommitProtocol.java | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sources/protocols/implementations/TwoPhaseCommitProtocol.java b/sources/protocols/implementations/TwoPhaseCommitProtocol.java new file mode 100644 index 0000000..7bc079a --- /dev/null +++ b/sources/protocols/implementations/TwoPhaseCommitProtocol.java @@ -0,0 +1,65 @@ +/* + * VS is (c) 2008 by Paul C. Buetow + * vs@dev.buetow.org + */ +package protocols.implementations; + +import protocols.VSProtocol; +import core.VSMessage; + +/** + * The Class TwoPhaseCommitProtocol + */ +public class TwoPhaseCommitProtocol extends VSProtocol { + private static final long serialVersionUID = 1L; + + /** + * Instantiates a new two phase commit protocol. + */ + public TwoPhaseCommitProtocol() { + setClassname(getClass().toString()); + } + + /* (non-Javadoc) + * @see events.VSEvent#onInit() + */ + protected void onInit() { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#onClientReset() + */ + protected void onClientReset() { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#onClientStart() + */ + protected void onClientStart() { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#onClientRecv(core.VSMessage) + */ + protected void onClientRecv(VSMessage recvMessage) { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#onServerReset() + */ + protected void onServerReset() { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#onServerRecv(core.VSMessage) + */ + protected void onServerRecv(VSMessage recvMessage) { + } + + /* (non-Javadoc) + * @see protocols.VSProtocol#toString() + */ + public String toString() { + return super.toString(); + } +} |
