summaryrefslogtreecommitdiff
path: root/ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h')
-rw-r--r--ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h b/ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h
new file mode 100644
index 00000000000..7e844371990
--- /dev/null
+++ b/ACE/TAO/DevGuideExamples/RTCORBA/Messenger_i.h
@@ -0,0 +1,40 @@
+/* -*- C++ -*- $Id$ */
+
+// ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
+// TAO and the TAO IDL Compiler have been developed by the Center for
+// Distributed Object Computing at Washington University, St. Louis.
+//
+// Information about TAO is available at:
+// http://www.cs.wustl.edu/~schmidt/TAO.html
+
+#ifndef MESSENGERI_H_
+#define MESSENGERI_H_
+
+#include "MessengerS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "tao/RTCORBA/RTCORBA.h"
+
+//Class Messenger_i
+class Messenger_i : public virtual POA_Messenger
+{
+public:
+ //Constructor
+ Messenger_i(CORBA::ORB_ptr orb);
+
+ //Destructor
+ virtual ~Messenger_i();
+
+ virtual CORBA::Boolean send_message(const char* user_name,
+ const char* subject,
+ char*& message);
+
+private:
+ RTCORBA::Current_var rt_current_;
+};
+
+
+#endif /* MESSENGERI_H_ */