Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_933_Regression / Messenger_i.h
blob3736ecb672e6d29cea020f1b1814d96a9d7af3cf
1 #ifndef MESSENGER_I_H_
2 #define MESSENGER_I_H_
4 #include "MessengerS.h"
6 #if !defined (ACE_LACKS_PRAGMA_ONCE)
7 #pragma once
8 #endif /* ACE_LACKS_PRAGMA_ONCE */
10 //Class Messenger_i
11 class Messenger_i : public virtual POA_Messenger
13 public:
14 Messenger_i (CORBA::ORB_ptr orb);
16 virtual ~Messenger_i (void);
18 virtual void send_message (const CORBA::OctetSeq & user_name);
20 virtual void shutdown (void);
21 private:
22 /// Use an ORB reference to convert strings to objects and shutdown
23 /// the application.
24 CORBA::ORB_var orb_;
29 #endif /* MESSENGERI_H_ */