Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2935_Regression / source_i.h
blob203664e4ae320343b369796d87f74b68527d2502
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file source_i.h
7 * This class implements the source for a three tier system
8 * Adapted from TAO/examples/Simple/time
10 * @author Dale Wilson <wilsond@ociweb.com>
12 //=============================================================================
15 #ifndef SOURCE_I_H
16 #define SOURCE_I_H
18 #include "ThreeTierC.h"
20 /**
21 * @class Source_i
23 * @brief Source interface subclass.
25 * a source of data for the three tier test
27 class Source_i
29 public:
30 Source_i (ThreeTier_ptr target);
32 ~Source_i ();
34 bool parse_args(int argc, ACE_TCHAR *argv[]);
36 /// Execute the methods
37 int run ();
39 private:
40 ThreeTier_var target_;
42 // Number of messages to send (make this configurable)
43 unsigned long counter_;
48 #endif /* SOURCE_I_H */