diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-24 16:47:06 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-24 16:47:06 +0000 |
| commit | 7040b1acc44805ab7208fa3975242c656cbc95a2 (patch) | |
| tree | 26259c0616116dc1324c4bd5b765243fc3fd7ee0 /sources/protocols/implementations/PingPongProtocol.java | |
| parent | afa47f26670f9248c19200f540df0dda735de0cc (diff) | |
new protocoleditor works.
Diffstat (limited to 'sources/protocols/implementations/PingPongProtocol.java')
| -rw-r--r-- | sources/protocols/implementations/PingPongProtocol.java | 5 |
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; } |
