summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/CallbackTest/Callback.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tests/CallbackTest/Callback.h')
-rw-r--r--ACE/TAO/tests/CallbackTest/Callback.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ACE/TAO/tests/CallbackTest/Callback.h b/ACE/TAO/tests/CallbackTest/Callback.h
new file mode 100644
index 00000000000..98b92c1bb72
--- /dev/null
+++ b/ACE/TAO/tests/CallbackTest/Callback.h
@@ -0,0 +1,31 @@
+//
+// $Id$
+//
+
+#ifndef CALLBACK_CALLBACK_H
+#define CALLBACK_CALLBACK_H
+#include /**/ "ace/pre.h"
+
+#include "TestS.h"
+
+/// Implement the Test::Callback interface
+class Callback
+ : public virtual POA_Test::Callback
+{
+public:
+ /// Constructor
+ Callback (CORBA::ORB_ptr orb);
+
+ // = The skeleton methods
+ virtual CORBA::Boolean are_you_there (CORBA::String_out answer);
+
+ virtual void test_oneway (void);
+
+ virtual void shutdown (void);
+private:
+ /// Use an ORB reference to shutdown the application.
+ CORBA::ORB_var orb_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* CALLBACK_CALLBACK_H */