summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h')
-rw-r--r--ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h b/ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h
new file mode 100644
index 00000000000..c6a85237a95
--- /dev/null
+++ b/ACE/TAO/orbsvcs/tests/Miop/McastHello/McastHello.h
@@ -0,0 +1,47 @@
+//
+// $Id$
+//
+
+#ifndef MCASTHELLO_H
+#define MCASTHELLO_H
+#include /**/ "ace/pre.h"
+
+#include "TestS.h"
+
+/// Implement the Test::McastHello interface
+class McastHello
+ : public virtual POA_Test::McastHello
+{
+public:
+ /// Constructor
+ McastHello (CORBA::ORB_ptr orb,
+ int instance);
+
+ // = The skeleton methods
+ virtual void send_forty_two (CORBA::Long forty_two);
+
+ virtual void shutdown (void);
+
+ /// Return whether all test requests have been received successfully.
+ CORBA::Boolean get_status ();
+
+ // Silence the builds
+ void send_large_octet_array (const Test::Octets &);
+
+private:
+ /// Use an ORB reference to convert strings to objects and shutdown
+ /// the application.
+ CORBA::ORB_var orb_;
+
+ /// The instance number. (Useful when debugging multiple servants)
+ int instance_;
+
+ /// Track the success/failure of the small request.
+ CORBA::Boolean small_request_status_;
+
+ /// Track the success/failure of the large request.
+ CORBA::Boolean large_request_status_;
+};
+
+#include /**/ "ace/post.h"
+#endif /* MCASTHELLO_H */