3 // ****** Code generated by the The ACE ORB (TAO) IDL Compiler *******
4 // TAO and the TAO IDL Compiler have been developed by the Center for
5 // Distributed Object Computing at Washington University, St. Louis.
7 // Information about TAO is available at:
8 // http://www.dre.vanderbilt.edu/~schmidt/TAO.html
10 #ifndef MESSENGER_IMPL_H_
11 #define MESSENGER_IMPL_H_
13 #include "MessengerS.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 class Messenger_i
: public virtual POA_Messenger
24 Messenger_i (unsigned int seconds_to_wait
= 0,
25 CORBA::Boolean throw_exception
= 0);
28 virtual ~Messenger_i ();
30 virtual CORBA::Boolean
send_message (
31 const char * user_name
,
34 CORBA::Long_out time_sent
38 // Specify an amount of time to wait inside
39 // send_message in order illustrate AMI callback usage
40 unsigned int seconds_to_wait_
;
42 // Force an exception to be thrown to test client-side
44 CORBA::Boolean throw_exception_
;
48 #endif /* MESSENGER_IMPL_H_ */