diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-05 10:32:55 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-02-05 10:32:55 +0000 |
commit | 1c96941df98af331e100f0e39c7554f157ebe4ef (patch) | |
tree | 9d415f5f6ca6a6c809b0e5507ba498293e98a8dd /TAO/tests/Nested_Event_Loop/test_i.h | |
parent | 0852ed7f5b2c6be475cf1b625196eee8f1e80187 (diff) | |
download | ATCD-1c96941df98af331e100f0e39c7554f157ebe4ef.tar.gz |
ChangeLogTag: Sat Feb 05 04:24:09 2000 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tests/Nested_Event_Loop/test_i.h')
-rw-r--r-- | TAO/tests/Nested_Event_Loop/test_i.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/TAO/tests/Nested_Event_Loop/test_i.h b/TAO/tests/Nested_Event_Loop/test_i.h new file mode 100644 index 00000000000..2bd388c8cd7 --- /dev/null +++ b/TAO/tests/Nested_Event_Loop/test_i.h @@ -0,0 +1,54 @@ +// $Id$ + +#include "testS.h" + +class server_i : public POA_server +{ +public: + server_i (CORBA::ORB_ptr orb); + + void loop (client_ptr remote_partner, + CORBA::ULong event_loop_depth, + CORBA::ULong event_loop_iterations, + CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void run_no_ops (client_ptr remote_partner, + CORBA::ULong iterations, + CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void no_op (client_ptr remote_partner, + CORBA::ULong act_for_iterations, + CORBA::ULong act_for_flag, + CORBA::Environment &) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void shutdown (CORBA::Environment &ACE_TRY_ENV) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + CORBA::ORB_var orb_; +}; + +class client_i : public POA_client +{ +public: + client_i (server_ptr remote_partner); + + void loop (CORBA::ULong event_loop_depth, + CORBA::ULong event_loop_iterations, + CORBA::Environment &) + ACE_THROW_SPEC (()); + + void oneway_no_op (CORBA::ULong act_for_iterations, + CORBA::ULong act_for_flag, + CORBA::Environment &) + ACE_THROW_SPEC (()); + + void twoway_no_op (CORBA::Environment &) + ACE_THROW_SPEC (()); + +private: + server_var remote_partner_; +}; |