summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/proxy/TestAMDI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/proxy/TestAMDI.h')
-rw-r--r--cpp/test/Ice/proxy/TestAMDI.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/cpp/test/Ice/proxy/TestAMDI.h b/cpp/test/Ice/proxy/TestAMDI.h
new file mode 100644
index 00000000000..e0e9b7f5acb
--- /dev/null
+++ b/cpp/test/Ice/proxy/TestAMDI.h
@@ -0,0 +1,39 @@
+// **********************************************************************
+//
+// 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.
+//
+// **********************************************************************
+
+#ifndef TEST_AMD_I_H
+#define TEST_AMD_I_H
+
+#include <IceUtil/Thread.h>
+#include <TestAMD.h>
+
+class MyDerivedClassI : public Test::MyDerivedClass
+{
+public:
+
+ MyDerivedClassI();
+
+ virtual void shutdown_async(const Test::AMD_MyClass_shutdownPtr&,
+ const Ice::Current&);
+
+ virtual void opSleep_async(const Test::AMD_MyClass_opSleepPtr&,
+ int,
+ const Ice::Current&);
+
+ virtual void getContext_async(const Test::AMD_MyClass_getContextPtr& cb,
+ const Ice::Current&);
+ virtual bool ice_isA(const std::string&, const Ice::Current&) const;
+
+
+private:
+
+ mutable Ice::Context _ctx;
+};
+
+#endif