diff options
Diffstat (limited to 'ACE/TAO/tests/Bug_2935_Regression/source_i.h')
-rw-r--r-- | ACE/TAO/tests/Bug_2935_Regression/source_i.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Bug_2935_Regression/source_i.h b/ACE/TAO/tests/Bug_2935_Regression/source_i.h new file mode 100644 index 00000000000..add472917c2 --- /dev/null +++ b/ACE/TAO/tests/Bug_2935_Regression/source_i.h @@ -0,0 +1,52 @@ +// -*- C++ -*- +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/examples/Simple/ThreeTier +// +// = FILENAME +// source_i.h +// +// = DESCRIPTION +// This class implements the source for a three tier system +// Adapted from TAO/examples/Simple/time +// +// = AUTHOR +// Dale Wilson <wilsond@ociweb.com> +// +// ============================================================================ + +#ifndef SOURCE_I_H +#define SOURCE_I_H + +#include "ThreeTierC.h" + +class Source_i +{ + // = TITLE + // Source interface subclass. + // + // = DESCRIPTION + // a source of data for the three tier test +public: + Source_i (ThreeTier_ptr target); + + ~Source_i (); + + bool parse_args(int argc, ACE_TCHAR *argv[]); + + int run (); + // Execute the methods + +private: + ThreeTier_var target_; + + // Number of messages to send (make this configurable) + unsigned long counter_; + +}; + + +#endif /* SOURCE_I_H */ |