Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2935_Regression / middle_i.h
blob60388ac8d2cf19e352249683f1971c7497c48c80
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file middle_i.h
7 * This class implements the Time IDL interface.
9 * @author Darrell Brunsch <brunsch@cs.wustl.edu>
11 //=============================================================================
14 #ifndef MIDDLE_I_H
15 #define MIDDLE_I_H
17 #include "ThreeTierC.h"
18 #include "ThreeTierS.h"
20 /**
21 * @class Middle_i:
23 * @brief ThreeTier Object Implementation as middle
25 * The middle implementaiton of the ThreeTier interface simply
26 * forwards requests to
28 class Middle_i: public POA_ThreeTier
30 public:
31 Middle_i (CORBA::ORB_ptr orb, ThreeTier_ptr target);
32 ~Middle_i ();
34 bool parse_args (int argc, ACE_TCHAR* argv[] );
36 //////////////////////////////////////
37 /// Implement the ThreeTier interface
38 virtual void tick ();
39 virtual void tock ();
40 virtual ::CORBA::ULong tickCount ();
41 virtual ::CORBA::ULong tockCount ();
42 virtual void shutdown ();
44 private:
45 CORBA::ORB_var orb_;
46 ThreeTier_var target_;
48 #endif /* MIDDLE_I_H */