Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Nested_Event_Loop / test_i.h
blobdbb8a69a5740e5b2469916d7b42314aa8b0043a9
1 #include "testS.h"
3 class server_i : public POA_server
5 public:
6 server_i (CORBA::ORB_ptr orb);
8 void loop (client_ptr remote_partner,
9 CORBA::ULong event_loop_depth,
10 CORBA::ULong event_loop_iterations);
12 void run_no_ops (client_ptr remote_partner,
13 CORBA::ULong iterations);
15 void no_op (client_ptr remote_partner,
16 const act &act_for_iterations,
17 const act &act_for_flag);
19 void shutdown ();
21 private:
22 CORBA::ORB_var orb_;
25 class client_i : public POA_client
27 public:
28 client_i (server_ptr remote_partner);
30 void loop (CORBA::ULong event_loop_depth,
31 CORBA::ULong event_loop_iterations);
33 void oneway_no_op (const act &act_for_iterations,
34 const act &act_for_flag);
36 void twoway_no_op ();
38 private:
39 server_var remote_partner_;
40 client_var self_;