summaryrefslogtreecommitdiff
path: root/TAO/tests/LongWrites/Coordinator.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/LongWrites/Coordinator.h')
-rw-r--r--TAO/tests/LongWrites/Coordinator.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/TAO/tests/LongWrites/Coordinator.h b/TAO/tests/LongWrites/Coordinator.h
index db00336489a..9fe37a8e699 100644
--- a/TAO/tests/LongWrites/Coordinator.h
+++ b/TAO/tests/LongWrites/Coordinator.h
@@ -22,7 +22,8 @@ class Coordinator
{
public:
/// Constructor
- Coordinator (void);
+ Coordinator (CORBA::ULong initial_payload_size,
+ CORBA::Long test_iterations);
/// Destructor
virtual ~Coordinator (void);
@@ -46,13 +47,27 @@ public:
};
private:
+ /// Initial payload size
+ CORBA::ULong initial_payload_size_;
+
+ /// Number of iterations performed by each server.
+ CORBA::Long test_iterations_;
+
+ /// Synchronize internal data structure
ACE_SYNCH_MUTEX mutex_;
+ /// Set to 1 once the test has shutdown
int shutdown_called_;
+ /** @name List of pairs
+ *
+ * Implement a simple list of pairs
+ */
+ //@{
size_t pairs_count_;
size_t pairs_length_;
Pair* pairs_;
+ //@}
};
#if defined(_MSC_VER) && (_MSC_VER >= 1200)