Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / DevGuideExamples / SmartProxies / Smart_Messenger_Proxy.h
blob7ecceedf1a06dbee074840c6d2f2fcafeaba799a
1 // Smart_Messenger_Proxy.h
4 #include "MessengerC.h"
5 #include "LoggerC.h"
7 class Smart_Messenger_Proxy_Factory : public TAO_Messenger_Default_Proxy_Factory
9 public:
10 Smart_Messenger_Proxy_Factory(CORBA::ORB_ptr orb);
11 virtual Messenger_ptr create_proxy (
12 Messenger_ptr proxy);
13 private:
14 Logger_var logger_;
18 class Smart_Messenger_Proxy : public TAO_Messenger_Smart_Proxy_Base
20 public:
21 Smart_Messenger_Proxy(Messenger_ptr proxy, Logger_ptr logger);
22 virtual CORBA::Boolean send_message(
23 const char * user_name,
24 const char * subject,
25 char *& message);
26 private:
27 Logger_var logger_;