summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/hello/HelloI.cpp
diff options
context:
space:
mode:
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;
+}