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/eh_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/eh_i.h')
-rw-r--r-- | TAO/tests/NestedUpcall/Reactor/eh_i.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/TAO/tests/NestedUpcall/Reactor/eh_i.h b/TAO/tests/NestedUpcall/Reactor/eh_i.h new file mode 100644 index 00000000000..66fec52232f --- /dev/null +++ b/TAO/tests/NestedUpcall/Reactor/eh_i.h @@ -0,0 +1,36 @@ +// -*- c++ -*- +// $Id$ + +#ifndef EVENTHANDLER_I_H +# define EVENTHANDLER_I_H + +#include "ReactorS.h" + +class EventHandler_i : public POA_EventHandler +{ + // = TITLE + // Servant implementation for the <EventHandler> IDL interface. +public: + EventHandler_i (int quiet); + // Constructor. + + virtual ~EventHandler_i (void); + // Destructor. + + virtual CORBA::Long peer (CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + // Return some value...doesn't matter what. + + virtual CORBA::UShort decrement (Reactor_ptr eh, + CORBA::UShort num, + CORBA::Environment &env) + ACE_THROW_SPEC ((CORBA::SystemException)); + // decrement <num> by calling decrement thru <eh> until zero is + // reached, then return. + +private: + int quiet_; + // be quiet +}; + +#endif /* EVENTHANDLER_I_H */ |