summaryrefslogtreecommitdiff
path: root/sources/protocols/implementations/PingPongProtocol.java
diff options
context:
space:
mode:
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;
}