Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / NotifyService / SupplierSideNC / Messenger_i.h
blob28e15e9d4f9f5f1ab175613f20bce4cbbc86b1a5
1 #ifndef MESSENGERI_H_
2 #define MESSENGERI_H_
4 #include "orbsvcs/CosNotifyChannelAdminC.h"
5 #include "orbsvcs/CosNotifyCommC.h"
6 #include "orbsvcs/CosNamingC.h"
8 #include "MessengerS.h"
10 //Class Messenger_i
11 class Messenger_i : public virtual POA_Messenger
13 public:
14 //Constructor
15 Messenger_i (CORBA::ORB_ptr orb);
17 //Destructor
18 virtual ~Messenger_i (void);
20 CORBA::Boolean send_message (
21 const char * user_name,
22 const char * subject,
23 char *& message
26 private:
27 CORBA::ORB_var orb_;
28 CosNotifyChannelAdmin::StructuredProxyPushConsumer_var consumer_proxy_;
31 #endif /* MESSENGERI_H_ */