diff options
Diffstat (limited to 'java/demo/Freeze/bench/Client.java')
-rw-r--r-- | java/demo/Freeze/bench/Client.java | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/java/demo/Freeze/bench/Client.java b/java/demo/Freeze/bench/Client.java index 6492a3da01d..a1c3b17aca9 100644 --- a/java/demo/Freeze/bench/Client.java +++ b/java/demo/Freeze/bench/Client.java @@ -9,13 +9,8 @@ import Demo.*; -class TestApp extends Ice.Application +class Client extends Ice.Application { - TestApp(String envName) - { - _envName = envName; - } - void IntIntMapTest(Freeze.Map m, boolean fast) { @@ -594,18 +589,20 @@ class TestApp extends Ice.Application } } - private Freeze.Connection _connection; - private int _repetitions = 10000; - private StopWatch _watch = new StopWatch(); - private String _envName; -} + Client(String envName) + { + _envName = envName; + } -public class Client -{ static public void main(String[] args) { - TestApp app = new TestApp("db"); - app.main("test.Freeze.bench.Client", args); + Client app = new Client("db"); + app.main("demo.Freeze.bench.Client", args); } + + private Freeze.Connection _connection; + private int _repetitions = 10000; + private StopWatch _watch = new StopWatch(); + private String _envName; } |