summaryrefslogtreecommitdiff
path: root/sources/protocols/implementations/PingPongProtocol.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-26 19:12:29 +0000
committerPaul Buetow <paul@buetow.org>2008-05-26 19:12:29 +0000
commita2cd723c26d9999b752ca5474f7a24de952b5fdb (patch)
tree611282b1e2e9e059180078324f1efcc93406fa9c /sources/protocols/implementations/PingPongProtocol.java
parent05d5e9fd51052e8f63a49a7e9529e7e710ca0e0a (diff)
All abstract classes now have an Abstract in it's name
Diffstat (limited to 'sources/protocols/implementations/PingPongProtocol.java')
-rw-r--r--sources/protocols/implementations/PingPongProtocol.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/sources/protocols/implementations/PingPongProtocol.java b/sources/protocols/implementations/PingPongProtocol.java
index 543b8df..167feb6 100644
--- a/sources/protocols/implementations/PingPongProtocol.java
+++ b/sources/protocols/implementations/PingPongProtocol.java
@@ -5,13 +5,13 @@
package protocols.implementations;
import core.VSMessage;
-import protocols.VSProtocol;
+import protocols.VSAbstractProtocol;
// TODO: Auto-generated Javadoc
/**
* The Class PingPongProtocol.
*/
-public class PingPongProtocol extends VSProtocol {
+public class PingPongProtocol extends VSAbstractProtocol {
private static final long serialVersionUID = 1L;
/** The client counter. */
@@ -28,20 +28,20 @@ public class PingPongProtocol extends VSProtocol {
}
/* (non-Javadoc)
- * @see events.VSEvent#onInit()
+ * @see events.VSAbstractEvent#onInit()
*/
protected void onInit() {
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#onClientReset()
+ * @see protocols.VSAbstractProtocol#onClientReset()
*/
protected void onClientReset() {
clientCounter = 0;
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#onClientStart()
+ * @see protocols.VSAbstractProtocol#onClientStart()
*/
protected void onClientStart() {
VSMessage message = new VSMessage();
@@ -51,7 +51,7 @@ public class PingPongProtocol extends VSProtocol {
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#onClientRecv(core.VSMessage)
+ * @see protocols.VSAbstractProtocol#onClientRecv(core.VSMessage)
*/
protected void onClientRecv(VSMessage recvMessage) {
if (!recvMessage.getBoolean("fromServer"))
@@ -66,14 +66,14 @@ public class PingPongProtocol extends VSProtocol {
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#onServerReset()
+ * @see protocols.VSAbstractProtocol#onServerReset()
*/
protected void onServerReset() {
serverCounter = 0;
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#onServerRecv(core.VSMessage)
+ * @see protocols.VSAbstractProtocol#onServerRecv(core.VSMessage)
*/
protected void onServerRecv(VSMessage recvMessage) {
if (!recvMessage.getBoolean("fromClient"))
@@ -88,7 +88,7 @@ public class PingPongProtocol extends VSProtocol {
}
/* (non-Javadoc)
- * @see protocols.VSProtocol#toString()
+ * @see protocols.VSAbstractProtocol#toString()
*/
public String toString() {
return super.toString();