diff options
| author | Paul Buetow <paul@buetow.org> | 2008-05-18 19:29:30 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-05-18 19:29:30 +0000 |
| commit | 2d45de18df35f6d3ba4ca0b86ec1188e49637413 (patch) | |
| tree | 6c84c8cd14a89a6dabeada811c6477d1e5459767 /sources/protocols/implementations/DummyProtocol.java | |
| parent | c46ed2242876bfb267ed0b6823c8a3e99ac62dd6 (diff) | |
The TaskManager works partly.
Diffstat (limited to 'sources/protocols/implementations/DummyProtocol.java')
| -rw-r--r-- | sources/protocols/implementations/DummyProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/protocols/implementations/DummyProtocol.java b/sources/protocols/implementations/DummyProtocol.java index e79f62d..4e5d2cf 100644 --- a/sources/protocols/implementations/DummyProtocol.java +++ b/sources/protocols/implementations/DummyProtocol.java @@ -5,7 +5,7 @@ import core.VSMessage; public class DummyProtocol extends VSProtocol { protected void onInit() { - setProtocolClassname(getClass().toString()); + setClassname(getClass().toString()); } protected void onClientReset() { @@ -15,7 +15,7 @@ public class DummyProtocol extends VSProtocol { protected void onClientStart() { logg("onClientStart()"); - VSMessage message = new VSMessage(getProtocolClassname()); + VSMessage message = new VSMessage(getClassname()); message.setString("Greeting", "Hello World!"); message.setInteger("A number", 1); message.setBoolean("A boolean", true); |
