Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / examples / ImR / Advanced / Messenger_i.h
blobebeaf37715210af187b6fa00cc0b7ed1fefab8fa
1 // -*- C++ -*-
2 #ifndef MESSENGERI_H_
3 #define MESSENGERI_H_
5 #include "MessengerS.h"
7 #if !defined (ACE_LACKS_PRAGMA_ONCE)
8 #pragma once
9 #endif /* ACE_LACKS_PRAGMA_ONCE */
11 class Messenger_i
12 : public virtual POA_Messenger
14 public:
15 Messenger_i (CORBA::ORB_ptr orb, long instance);
17 virtual ~Messenger_i ();
19 virtual
20 CORBA::Long send_message (
21 ::CORBA::Long thread,
22 ::CORBA::Long iter,
23 ::CORBA::Long obj,
24 ::CORBA::Long req);
26 virtual void shutdownOrb ();
28 bool acknowledgeHit();
30 private:
31 long instance_;
32 CORBA::ORB_var orb_;
33 bool isHit_;
37 #endif /* MESSENGERI_H_ */