summaryrefslogtreecommitdiff
path: root/java/demo/IcePack/hello/Server.java
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-10-10 20:51:09 +0000
committerMark Spruiell <mes@zeroc.com>2005-10-10 20:51:09 +0000
commit5c820414d32245f8f23ad323787b72fb94f2782b (patch)
tree7b00c76b0c76606ed30740849b83e65921b8be84 /java/demo/IcePack/hello/Server.java
parentadding IceGrid (diff)
downloadice-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.java30
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);
- }
-}