=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / Oneways_Invoking_Twoways / Sender_i.h
blobba0f87bbdfac7598d84e13e005a633e83848fa9f
1 // ===================================================================
2 /**
3 * @file Sender_i.h
5 * @author Balachandran Natarajan <bala@cs.wustl.edu>
6 **/
7 // ===================================================================
9 #ifndef TAO_TESTS_ONEWAYS_INVOKING_TWOWAYS_SENDER_I_H
10 #define TAO_TESTS_ONEWAYS_INVOKING_TWOWAYS_SENDER_I_H
11 #include /**/ "ace/pre.h"
13 #include "TestS.h"
15 /// Implement the Test::Sender interface
16 /**
17 * Implements the oneway call send_ready_message. This in turn calls
18 * the receiver with two way invocations..
21 class Sender_i
22 : public virtual POA_Test::Sender
24 public:
25 /// Constructor
26 Sender_i (CORBA::ORB_ptr orb,
27 CORBA::ULong no);
29 ///Destructor
30 virtual ~Sender_i ();
32 // = The skeleton methods
33 virtual void active_objects (CORBA::Short ao);
35 virtual void send_ready_message (Test::Receiver_ptr receiver);
37 virtual void ping ();
39 virtual void shutdown ();
41 private:
42 /// Our local ORB ptr
43 CORBA::ORB_var orb_;
45 /// Number of invocations to be made on the receiver
46 CORBA::ULong number_;
48 /// Number of active objects who are trying to connect
49 CORBA::Short active_objects_;
52 #include /**/ "ace/post.h"
53 #endif /*TAO_TESTS_ONEWAYS_INVOKING_TWOWAYS_SENDER_I_H*/