summaryrefslogtreecommitdiff
path: root/java/demo/Ice/multicast/DiscoverI.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-01-16 10:51:58 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-01-16 10:51:58 -0330
commit56edc882ca5c9fb83001c107d1cf411a3815b9ec (patch)
treebb040a6650459b4b294026068b566cc3fb1cbc5a /java/demo/Ice/multicast/DiscoverI.java
parentPartial fix for bug #2642 (diff)
downloadice-56edc882ca5c9fb83001c107d1cf411a3815b9ec.tar.bz2
ice-56edc882ca5c9fb83001c107d1cf411a3815b9ec.tar.xz
ice-56edc882ca5c9fb83001c107d1cf411a3815b9ec.zip
Added multicast discovery demo
Diffstat (limited to 'java/demo/Ice/multicast/DiscoverI.java')
-rw-r--r--java/demo/Ice/multicast/DiscoverI.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/java/demo/Ice/multicast/DiscoverI.java b/java/demo/Ice/multicast/DiscoverI.java
new file mode 100644
index 00000000000..38e45519831
--- /dev/null
+++ b/java/demo/Ice/multicast/DiscoverI.java
@@ -0,0 +1,26 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2007 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 DiscoverI extends _DiscoverDisp
+{
+ DiscoverI(Ice.ObjectPrx obj)
+ {
+ _obj = obj;
+ }
+
+ public void
+ lookup(DiscoverReplyPrx reply, Ice.Current current)
+ {
+ reply.reply(_obj);
+ }
+
+ private Ice.ObjectPrx _obj;
+}