Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / orbsvcs / examples / ImR / Advanced / Messenger_i.h
blobe81bf6810481e6990433ea62739b3b18f838aa99
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 (void);
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_ */