summaryrefslogtreecommitdiff
path: root/sources/protocols/implementations/PingPongProtocol.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-24 16:47:06 +0000
committerPaul Buetow <paul@buetow.org>2008-05-24 16:47:06 +0000
commit7040b1acc44805ab7208fa3975242c656cbc95a2 (patch)
tree26259c0616116dc1324c4bd5b765243fc3fd7ee0 /sources/protocols/implementations/PingPongProtocol.java
parentafa47f26670f9248c19200f540df0dda735de0cc (diff)
new protocoleditor works.
Diffstat (limited to 'sources/protocols/implementations/PingPongProtocol.java')
-rw-r--r--sources/protocols/implementations/PingPongProtocol.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/protocols/implementations/PingPongProtocol.java b/sources/protocols/implementations/PingPongProtocol.java
index 47a222d..43fdb54 100644
--- a/sources/protocols/implementations/PingPongProtocol.java
+++ b/sources/protocols/implementations/PingPongProtocol.java
@@ -8,10 +8,13 @@ public class PingPongProtocol extends VSProtocol {
private int clientCounter;
private int serverCounter;
- protected void onInit() {
+ public PingPongProtocol() {
setClassname(getClass().toString());
}
+ protected void onInit() {
+ }
+
protected void onClientReset() {
clientCounter = 0;
}