Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / TAO / DevGuideExamples / Messaging / AMIcallback / MessengerHandler.h
blobaa36a1377f47314727ace1144a4d7b9c22a031cc
1 #ifndef MESSENGERHANDLER_H
2 #define MESSENGERHANDLER_H
4 #include "MessengerS.h"
6 class MessengerHandler : public virtual POA_AMI_MessengerHandler
8 public:
9 //Constructor
10 MessengerHandler (CORBA::ORB_ptr orb);
12 //Destructor
13 virtual ~MessengerHandler ();
15 virtual void send_message (
16 CORBA::Boolean ami_return_val,
17 const char * message,
18 CORBA::Long time
21 virtual void send_message_excep (
22 Messaging::ExceptionHolder * excep_holder
26 int message_was_sent()
28 return time_ > 0;
31 private:
32 CORBA::Long time_;
33 CORBA::ORB_var orb_;
36 #endif