2 // Option manager for ustreams.
4 // Since this is only included in Options.h these should stay
5 // inline, not ACE_INLINE.
6 // FUZZ: disable check_for_inline
10 Options::supplier_port (const ACE_TCHAR *port)
12 this->supplier_port_ = port;
15 inline const ACE_TCHAR *
16 Options::supplier_port ()
18 return this->supplier_port_;
22 Options::supplier_file (const ACE_TCHAR *file)
24 this->supplier_file_ = file;
27 inline const ACE_TCHAR *
28 Options::supplier_file ()
30 return this->supplier_file_;
34 Options::consumer_file (const ACE_TCHAR *file)
36 this->consumer_file_ = file;
39 inline const ACE_TCHAR *
40 Options::consumer_file ()
42 return this->consumer_file_;
46 Options::consumer_port (const ACE_TCHAR *port)
48 this->consumer_port_ = port;
51 inline const ACE_TCHAR *
52 Options::consumer_port ()
54 return this->consumer_port_;
58 Options::start_timer ()
60 this->itimer_.start ();
64 Options::stop_timer ()
66 this->itimer_.stop ();
70 Options::thr_count (size_t count)
72 this->thr_count_ = count;
78 return this->thr_count_;
82 Options::initial_queue_length (size_t length)
84 this->initial_queue_length_ = length;
88 Options::initial_queue_length ()
90 return this->initial_queue_length_;
94 Options::high_water_mark (size_t size)
96 this->high_water_mark_ = size;
100 Options::high_water_mark ()
102 return this->high_water_mark_;
106 Options::low_water_mark (size_t size)
108 this->low_water_mark_ = size;
112 Options::low_water_mark ()
114 return this->low_water_mark_;
118 Options::message_size (size_t size)
120 this->message_size_ = size;
124 Options::message_size ()
126 return this->message_size_;
130 Options::iterations (size_t n)
132 this->iterations_ = n;
136 Options::iterations ()
138 return this->iterations_;
142 Options::t_flags (long flag)
144 this->t_flags_ |= flag;
150 return this->t_flags_;
156 return this->debugging_;
162 return this->verbosity_;