version 1.4, 2007/02/13 19:00:55
|
version 1.5, 2007/09/10 11:53:58
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Aruran (aruran.shanmug@in.ibm.com) & Melvin (msolomon@in.ibm.com), |
|
// IBM for PEP# 241 |
|
// Modified By: |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "TestStressTestClient.h" | #include "TestStressTestClient.h" |
|
|
{"help", "false", false, Option::BOOLEAN, 0, 0, "help", | {"help", "false", false, Option::BOOLEAN, 0, 0, "help", |
"Prints help message with command line options "}, | "Prints help message with command line options "}, |
| |
|
#ifdef PEGASUS_HAS_SSL |
{"ssl", "false", false, Option::BOOLEAN, 0, 0, "ssl", "use SSL"}, | {"ssl", "false", false, Option::BOOLEAN, 0, 0, "ssl", "use SSL"}, |
|
#endif |
| |
{"username", "", false, Option::STRING, 0, 0, "username", | {"username", "", false, Option::STRING, 0, 0, "username", |
"Specifies user name"}, | "Specifies user name"}, |
|
|
{ | { |
if (useSSL) | if (useSSL) |
{ | { |
|
#ifdef PEGASUS_HAS_SSL |
// | // |
// Get environment variables. | // Get environment variables. |
// | // |
|
|
<< endl; | << endl; |
} | } |
client->connect (host, portNumber, sslContext, userName, password); | client->connect (host, portNumber, sslContext, userName, password); |
|
#else |
|
PEGASUS_ASSERT(false); |
|
#endif |
} /* useSSL. */ | } /* useSSL. */ |
else | else |
{ | { |