summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/slicing/exceptions/TestI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/slicing/exceptions/TestI.cpp')
-rw-r--r--cpp/test/Ice/slicing/exceptions/TestI.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/cpp/test/Ice/slicing/exceptions/TestI.cpp b/cpp/test/Ice/slicing/exceptions/TestI.cpp
index 5f2e701f06c..827908ab9e7 100644
--- a/cpp/test/Ice/slicing/exceptions/TestI.cpp
+++ b/cpp/test/Ice/slicing/exceptions/TestI.cpp
@@ -140,6 +140,40 @@ TestI::unknownMostDerived2AsBase(const ::Ice::Current&)
}
void
+TestI::unknownMostDerived2AsBaseCompact(const ::Ice::Current&)
+{
+ UnknownMostDerived2 umd2;
+ umd2.b = "UnknownMostDerived2.b";
+ umd2.ui = "UnknownMostDerived2.ui";
+ umd2.umd2 = "UnknownMostDerived2.umd2";
+ throw umd2;
+}
+
+void
+TestI::relayKnownPreservedAsBase(const RelayPrx& r, const ::Ice::Current&)
+{
+ r->knownPreservedAsBase();
+}
+
+void
+TestI::relayKnownPreservedAsKnownPreserved(const RelayPrx& r, const ::Ice::Current&)
+{
+ r->knownPreservedAsKnownPreserved();
+}
+
+void
+TestI::relayUnknownPreservedAsBase(const RelayPrx& r, const ::Ice::Current&)
+{
+ r->unknownPreservedAsBase();
+}
+
+void
+TestI::relayUnknownPreservedAsKnownPreserved(const RelayPrx& r, const ::Ice::Current&)
+{
+ r->unknownPreservedAsKnownPreserved();
+}
+
+void
TestI::shutdown(const ::Ice::Current& current)
{
current.adapter->getCommunicator()->shutdown();