Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Bug_1476_Regression / Sender_i.h
blob575284c03be93a43bde70c0ecb3ef5048d972cf6
1 // ===================================================================
2 /**
3 * @file Sender_i.h
5 * @author Johnny Willemsen <jwillemsen@remedy.nl>
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);
28 ///Destructor
29 virtual ~Sender_i ();
31 // = The skeleton methods
32 virtual void active_objects (CORBA::ULong ao);
34 virtual void send_ready_message ();
36 CORBA::ULong get_number_received () const;
38 CORBA::ULong get_active_objects () const;
40 private:
41 /// Our local ORB ptr
42 CORBA::ORB_var orb_;
44 /// Number of active objects who are trying to connect
45 CORBA::ULong active_objects_;
47 /// Number of invocations received
48 CORBA::ULong number_received_;
51 #include /**/ "ace/post.h"
52 #endif /*TAO_TESTS_ONEWAYS_INVOKING_TWOWAYS_SENDER_I_H*/