summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/protobuf/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/protobuf/TestI.cpp')
-rw-r--r--cpp/test/Ice/protobuf/TestI.cpp33
1 files changed, 33 insertions, 0 deletions
diff --git a/cpp/test/Ice/protobuf/TestI.cpp b/cpp/test/Ice/protobuf/TestI.cpp
new file mode 100644
index 00000000000..668e2f761b5
--- /dev/null
+++ b/cpp/test/Ice/protobuf/TestI.cpp
@@ -0,0 +1,33 @@
+// **********************************************************************
+//
+// 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.
+//
+// **********************************************************************
+
+#include <TestI.h>
+#include <Ice/Ice.h>
+
+using namespace std;
+using namespace Ice;
+
+test::Message
+MyClassI::opMessage(const test::Message& i, test::Message& o, const Ice::Current&)
+{
+ o = i;
+ return i;
+}
+
+void
+MyClassI::opMessageAMD_async(const Test::AMD_MyClass_opMessageAMDPtr& cb, const test::Message& i, const Ice::Current&)
+{
+ cb->ice_response(i, i);
+}
+
+void
+MyClassI::shutdown(const Ice::Current& current)
+{
+ current.adapter->getCommunicator()->shutdown();
+}