summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h')
-rw-r--r--trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h b/trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h
new file mode 100644
index 00000000000..237437daa5c
--- /dev/null
+++ b/trunk/TAO/orbsvcs/examples/ImR/Advanced/TestClient.h
@@ -0,0 +1,38 @@
+//$Id$
+#include "tao/ORB.h"
+
+#include "ace/Task.h"
+
+#include <vector>
+#include <string>
+#include "ace/Capabilities.h"
+
+class TestClient : public ACE_Task_Base, public ACE_Capabilities
+{
+public:
+ TestClient(CORBA::ORB_ptr orb, int argc, char* argv[]);
+
+ virtual ~TestClient();
+
+ void run();
+
+private:
+ int parseCommands(int argc, char* argv[]);
+ void buildIORList();
+ void pause(int milliseconds);
+ virtual int svc();
+
+ CORBA::ORB_var orb_;
+ std::vector<ACE_TString> iors_;
+
+ char pauseType_;
+ int startupPause_;
+ int threadCount_;
+ int instance_;
+ int iterations_;
+ int requestCount_;
+ bool randomRequests_;
+ bool shutdownOrb_;
+ bool expectHolding_;
+ bool expectNoProfile_;
+};