summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/hello/HelloI.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2007-05-04 05:24:44 +0000
committerMichi Henning <michi@zeroc.com>2007-05-04 05:24:44 +0000
commitdf88a798fff56373464751cb95f0cb26e585ebc1 (patch)
tree99a83f212da9ca161a6ec408c895486bf71486d7 /cpp/demo/Ice/hello/HelloI.cpp
parenthttp://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=2181 (diff)
downloadice-df88a798fff56373464751cb95f0cb26e585ebc1.tar.bz2
ice-df88a798fff56373464751cb95f0cb26e585ebc1.tar.xz
ice-df88a798fff56373464751cb95f0cb26e585ebc1.zip
Bug 1022.
Diffstat (limited to 'cpp/demo/Ice/hello/HelloI.cpp')
-rw-r--r--cpp/demo/Ice/hello/HelloI.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/demo/Ice/hello/HelloI.cpp b/cpp/demo/Ice/hello/HelloI.cpp
index 13eb3ae90bd..2e996b0bb6b 100644
--- a/cpp/demo/Ice/hello/HelloI.cpp
+++ b/cpp/demo/Ice/hello/HelloI.cpp
@@ -29,3 +29,15 @@ HelloI::shutdown(const Ice::Current& c)
cout << "Shutting down..." << endl;
c.adapter->getCommunicator()->shutdown();
}
+
+string
+HelloI::proxy(const Demo::HelloPrx& p, const Ice::Current& c)
+{
+ return c.adapter->getCommunicator()->proxyToString(p);
+}
+
+Demo::HelloPrx
+HelloI::echo(const Demo::HelloPrx& p, const Ice::Current& c)
+{
+ return p;
+}