diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-11-26 14:18:59 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-11-26 14:18:59 -0330 |
commit | eb9894afe8da3a9ef6a7da0ca27e0a6b32676b0c (patch) | |
tree | b0abd1a4d60e7842b1b74ac8c9bbb02797db8a8b /java/test/Ice/invoke/Client.java | |
parent | Removed getCookie from C# AsyncResult (diff) | |
download | ice-eb9894afe8da3a9ef6a7da0ca27e0a6b32676b0c.tar.bz2 ice-eb9894afe8da3a9ef6a7da0ca27e0a6b32676b0c.tar.xz ice-eb9894afe8da3a9ef6a7da0ca27e0a6b32676b0c.zip |
Added invoke test
Cleaned up invoke demo
Fixed order of paramaters in end_ice_invoke in C++
Diffstat (limited to 'java/test/Ice/invoke/Client.java')
-rw-r--r-- | java/test/Ice/invoke/Client.java | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/java/test/Ice/invoke/Client.java b/java/test/Ice/invoke/Client.java new file mode 100644 index 00000000000..b987c4e3348 --- /dev/null +++ b/java/test/Ice/invoke/Client.java @@ -0,0 +1,40 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +package test.Ice.invoke; + +import test.Ice.invoke.Test.MyClassPrx; + +public class Client extends test.Util.Application +{ + public int run(String[] args) + { + MyClassPrx myClass = AllTests.allTests(communicator(), getWriter()); + myClass.shutdown(); + + return 0; + } + + protected Ice.InitializationData getInitData(Ice.StringSeqHolder argsH) + { + Ice.InitializationData initData = new Ice.InitializationData(); + initData.properties = Ice.Util.createProperties(argsH); + initData.properties.setProperty("Ice.Package.Test", "test.Ice.invoke"); + return initData; + } + + public static void main(String[] args) + { + Client c = new Client(); + int status = c.main("Client", args); + + System.gc(); + System.exit(status); + } +} |