diff options
author | Mark Spruiell <mes@zeroc.com> | 2005-10-10 20:51:09 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2005-10-10 20:51:09 +0000 |
commit | 5c820414d32245f8f23ad323787b72fb94f2782b (patch) | |
tree | 7b00c76b0c76606ed30740849b83e65921b8be84 /java/demo/IcePack/hello/Server.java | |
parent | adding IceGrid (diff) | |
download | ice-5c820414d32245f8f23ad323787b72fb94f2782b.tar.bz2 ice-5c820414d32245f8f23ad323787b72fb94f2782b.tar.xz ice-5c820414d32245f8f23ad323787b72fb94f2782b.zip |
bug 475: remove IcePack
Diffstat (limited to 'java/demo/IcePack/hello/Server.java')
-rw-r--r-- | java/demo/IcePack/hello/Server.java | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/java/demo/IcePack/hello/Server.java b/java/demo/IcePack/hello/Server.java deleted file mode 100644 index 1ab34cda561..00000000000 --- a/java/demo/IcePack/hello/Server.java +++ /dev/null @@ -1,30 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2005 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. -// -// ********************************************************************** - -public class Server extends Ice.Application -{ - public int - run(String[] args) - { - Ice.ObjectAdapter adapter = communicator().createObjectAdapter("Hello"); - String id = communicator().getProperties().getProperty("Identity"); - adapter.add(new HelloFactoryI(), Ice.Util.stringToIdentity(id)); - adapter.activate(); - communicator().waitForShutdown(); - return 0; - } - - public static void - main(String[] args) - { - Server app = new Server(); - int status = app.main("Server", args); - System.exit(status); - } -} |