diff options
author | Michi Henning <michi@zeroc.com> | 2008-05-13 13:47:40 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2008-05-13 13:47:40 +1000 |
commit | 5d7c1d7e91e73eee8749fa1f111b6f3d1346b9ed (patch) | |
tree | 47ddba5c73570b5a53a514d980d031786a0c6974 /java/demo/book/map_filesystem/Client.java | |
parent | fixing perms on C# files (diff) | |
download | ice-5d7c1d7e91e73eee8749fa1f111b6f3d1346b9ed.tar.bz2 ice-5d7c1d7e91e73eee8749fa1f111b6f3d1346b9ed.tar.xz ice-5d7c1d7e91e73eee8749fa1f111b6f3d1346b9ed.zip |
Reverted changes to freeze demos.
Squashed commit of the following:
commit 8538f7592c2394757efe5770e7ee64e6c798cc54
Author: Michi Henning <michi@zeroc.com>
Date: Tue May 13 13:40:14 2008 +1000
Revert "Updated Freeze demos to align with life cycle chapter. Added interactive"
This reverts commit 3fc7fe8faf1c73e85fdb6f1274ed380155f9a8fc.
commit 4c8f5001f7488c942e6e42b4c935925b255c8de6
Author: Michi Henning <michi@zeroc.com>
Date: Tue May 13 13:39:52 2008 +1000
Revert "Removed freeze_filesystem demo (now called evictor_filesystem)."
This reverts commit 024c99e50dc0a3e2dee903d1470e028273706ace.
commit db921eebbfea02a628a6d7ac2fc3fe876005da7c
Author: Michi Henning <michi@zeroc.com>
Date: Tue May 13 13:39:33 2008 +1000
Revert "Added map filesystem demo for Java."
This reverts commit ed82a00405e11037b739b2a9e3a33d820a44d34d.
Diffstat (limited to 'java/demo/book/map_filesystem/Client.java')
-rw-r--r-- | java/demo/book/map_filesystem/Client.java | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/java/demo/book/map_filesystem/Client.java b/java/demo/book/map_filesystem/Client.java deleted file mode 100644 index 8599d43e81d..00000000000 --- a/java/demo/book/map_filesystem/Client.java +++ /dev/null @@ -1,56 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2008 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. -// -// ********************************************************************** - -import Filesystem.*; - -public class Client extends Ice.Application -{ - public int - run(String[] args) - { - // Terminate cleanly on receipt of a signal. - // - shutdownOnInterrupt(); - - // Create a proxy for the root directory - // - Ice.ObjectPrx base = communicator().stringToProxy("RootDir:default -p 10000"); - if(base == null) - { - throw new Error("Could not create proxy"); - } - - // Down-cast the proxy to a Directory proxy. - // - DirectoryPrx rootDir = DirectoryPrxHelper.checkedCast(base); - if(rootDir == null) - { - throw new Error("Invalid proxy"); - } - - Parser p = new Parser(rootDir); - return p.parse(); - } - - static public void - main(String[] args) - { - Client app = new Client(); - app.main("demo.book.lifecycle.Client", args); - } - - static private class Error extends RuntimeException - { - public Error(String msg) - { - super(msg); - } - } - -} |