diff options
Diffstat (limited to 'java/demo/IceGrid/simple/HelloI.java')
-rw-r--r-- | java/demo/IceGrid/simple/HelloI.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/java/demo/IceGrid/simple/HelloI.java b/java/demo/IceGrid/simple/HelloI.java new file mode 100644 index 00000000000..e4dea49e024 --- /dev/null +++ b/java/demo/IceGrid/simple/HelloI.java @@ -0,0 +1,26 @@ +// ********************************************************************** +// +// 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. +// +// ********************************************************************** + +import Demo.*; + +public class HelloI extends _HelloDisp +{ + public void + sayHello(Ice.Current current) + { + System.out.println("Hello World!"); + } + + public void + shutdown(Ice.Current current) + { + System.out.println("Shutting down..."); + current.adapter.getCommunicator().shutdown(); + } +} |