diff options
Diffstat (limited to 'ACE/TAO/tests/Bug_2935_Regression/middle_i.h')
-rw-r--r-- | ACE/TAO/tests/Bug_2935_Regression/middle_i.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Bug_2935_Regression/middle_i.h b/ACE/TAO/tests/Bug_2935_Regression/middle_i.h new file mode 100644 index 00000000000..74de26395d4 --- /dev/null +++ b/ACE/TAO/tests/Bug_2935_Regression/middle_i.h @@ -0,0 +1,53 @@ +// -*- C++ -*- +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/examples/Simple/time +// +// = FILENAME +// middle_i.h +// +// = DESCRIPTION +// This class implements the Time IDL interface. +// +// = AUTHOR +// Darrell Brunsch <brunsch@cs.wustl.edu> +// +// ============================================================================ + +#ifndef MIDDLE_I_H +#define MIDDLE_I_H + +#include "ThreeTierC.h" +#include "ThreeTierS.h" + +class Middle_i: public POA_ThreeTier +{ + // = TITLE + // ThreeTier Object Implementation as middle + // + // = DESCRIPTION + // The middle implementaiton of the ThreeTier interface simply + // forwards requests to + // +public: + Middle_i (CORBA::ORB_ptr orb, ThreeTier_ptr target); + ~Middle_i (); + + bool parse_args (int argc, ACE_TCHAR* argv[] ); + + ////////////////////////////////////// + /// Implement the ThreeTier interface + virtual void tick (); + virtual void tock (); + virtual ::CORBA::ULong tickCount (); + virtual ::CORBA::ULong tockCount (); + virtual void shutdown (); + +private: + CORBA::ORB_var orb_; + ThreeTier_var target_; +}; +#endif /* MIDDLE_I_H */ |