From 7040b1acc44805ab7208fa3975242c656cbc95a2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 24 May 2008 16:47:06 +0000 Subject: new protocoleditor works. --- sources/protocols/implementations/PingPongProtocol.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sources/protocols/implementations/PingPongProtocol.java') 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; } -- cgit v1.2.3