version 1.143, 2005/01/07 22:45:01
|
version 1.147, 2005/01/29 06:23:55
|
|
|
// | // |
// Modified By: Amit K Arora, IBM (amitarora@in.ibm.com) - pep 167 | // Modified By: Amit K Arora, IBM (amitarora@in.ibm.com) - pep 167 |
// | // |
|
// Modified By: Josephine Eskaline Joyce, IBM (jojustin@in.ibm.com) - Bug#2555 |
|
// |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
| |
|
|
#endif | #endif |
} | } |
| |
Uint32 portNumberHttps; |
Uint32 portNumberHttps=0; |
Uint32 portNumberHttp; |
Uint32 portNumberHttp=0; |
Uint32 portNumberExportHttps; |
Uint32 portNumberExportHttps=0; |
| |
if (enableHttpsConnection) | if (enableHttpsConnection) |
{ | { |
|
|
CString portString = httpsPort.getCString(); | CString portString = httpsPort.getCString(); |
char* end = 0; | char* end = 0; |
Uint32 port = strtol(portString, &end, 10); | Uint32 port = strtol(portString, &end, 10); |
assert(end != 0 && *end == '\0'); |
if(!(end != 0 && *end == '\0')) |
|
{ |
|
PEGASUS_STD(cerr) << "Bad HTTPS Port Value" << PEGASUS_STD(endl); |
|
exit(1); |
|
} |
|
|
| |
// | // |
// Look up the WBEM-HTTPS port number | // Look up the WBEM-HTTPS port number |
|
|
CString portString = httpPort.getCString(); | CString portString = httpPort.getCString(); |
char* end = 0; | char* end = 0; |
Uint32 port = strtol(portString, &end, 10); | Uint32 port = strtol(portString, &end, 10); |
assert(end != 0 && *end == '\0'); |
if(!(end != 0 && *end == '\0')) |
|
{ |
|
PEGASUS_STD(cerr) << "Bad HTTP Port Value" << PEGASUS_STD(endl); |
|
exit(1); |
|
} |
// | // |
// Look up the WBEM-HTTP port number | // Look up the WBEM-HTTP port number |
// | // |
|
|
| |
| |
| |
#if defined(PEGASUS_USE_23HTTPMONITOR_SERVER) |
Monitor monitor; |
Monitor monitor(true); |
|
CIMServer server(&monitor); | CIMServer server(&monitor); |
#else |
|
monitor_2 monitor; |
|
CIMServer server(&monitor); |
|
#endif |
|
| |
CimserverHolder cimserverHolder( &server ); | CimserverHolder cimserverHolder( &server ); |
| |