diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 15:17:59 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-25 15:17:59 +0000 |
commit | 4c5c96950d4b61e3a814f4abe93e974544973539 (patch) | |
tree | e9a1bfb52cf88ef8affcd5ef6d7a551107173ed3 /TAO/tests/NestedUpcall/Reactor/reactor_i.h | |
parent | a45865482cade7523b3229deaa42362cd41475a7 (diff) | |
download | ATCD-pre-PI.tar.gz |
This commit was manufactured by cvs2svn to create branch 'pre-PI'.pre-PI
Diffstat (limited to 'TAO/tests/NestedUpcall/Reactor/reactor_i.h')
-rw-r--r-- | TAO/tests/NestedUpcall/Reactor/reactor_i.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/TAO/tests/NestedUpcall/Reactor/reactor_i.h b/TAO/tests/NestedUpcall/Reactor/reactor_i.h new file mode 100644 index 00000000000..22efef2f87b --- /dev/null +++ b/TAO/tests/NestedUpcall/Reactor/reactor_i.h @@ -0,0 +1,47 @@ +// -*- c++ -*- +// $Id$ + +#ifndef REACTOR_I_H +# define REACTOR_I_H + +#include "ReactorS.h" + +class Reactor_i : public POA_Reactor +{ + // = TITLE + // Implement the <Reactor> IDL interface. +public: + Reactor_i (void); + // Constructor. + + virtual ~Reactor_i (void); + // Destructor. + + void be_quiet (int quiet); + // Set to 1 if the test should be quiet + + virtual CORBA::Long register_handler(EventHandler_ptr eh, + CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Register (with nothing...it's an example!) + + virtual void set_value (CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + + virtual CORBA::UShort decrement (EventHandler_ptr eh, + CORBA::UShort num, + CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + // deccrement <num> by calling decrement thru <eh> until zero is + // reached, then return. + + virtual void stop (CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Stops the reactor. + +private: + int quiet_; + // be quiet +}; + +#endif /* REACTOR_I_H */ |