version 1.31, 2007/06/05 10:25:03
|
version 1.32, 2007/06/11 15:07:48
|
|
|
return PEGASUS_CIMSERVER_START_FILE; | return PEGASUS_CIMSERVER_START_FILE; |
} | } |
| |
int cimserver_run(int argc, char** argv, bool shutdownOption); |
int cimserver_run( |
|
int argc, |
|
char** argv, |
|
Boolean shutdownOption, |
|
Boolean debugOutputOption); |
| |
void cimserver_stop(void); | void cimserver_stop(void); |
}; | }; |
|
|
{ | { |
String pegasusHome; | String pegasusHome; |
Boolean shutdownOption = false; | Boolean shutdownOption = false; |
|
Boolean debugOutputOption = false; |
| |
//l10n | //l10n |
// Set Message loading to process locale | // Set Message loading to process locale |
|
|
// Do the plaform specific run | // Do the plaform specific run |
// | // |
| |
return _cimServerProcess->platform_run( argc, argv, shutdownOption ); |
return _cimServerProcess->platform_run( |
|
argc, argv, shutdownOption, debugOutputOption); |
} | } |
| |
void CIMServerProcess::cimserver_stop() | void CIMServerProcess::cimserver_stop() |
|
|
// specific runs may need to deal with bettter (instead of exit(), etc). | // specific runs may need to deal with bettter (instead of exit(), etc). |
// | // |
| |
int CIMServerProcess::cimserver_run( int argc, char** argv, Boolean shutdownOption ) |
int CIMServerProcess::cimserver_run( |
|
int argc, |
|
char** argv, |
|
Boolean shutdownOption, |
|
Boolean debugOutputOption) |
{ | { |
String logsDirectory; | String logsDirectory; |
Boolean daemonOption = false; | Boolean daemonOption = false; |
|
|
| |
if (enableHttpConnection) | if (enableHttpConnection) |
{ | { |
_cimServer->addAcceptor(false, portNumberHttp, false, false); |
_cimServer->addAcceptor(false, portNumberHttp, false); |
| |
Logger::put_l( | Logger::put_l( |
Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, | Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, |
|
|
| |
if (enableHttpsConnection) | if (enableHttpsConnection) |
{ | { |
_cimServer->addAcceptor(false, portNumberHttps, true, false); |
_cimServer->addAcceptor(false, portNumberHttps, true); |
| |
Logger::put_l( | Logger::put_l( |
Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, | Logger::STANDARD_LOG, System::CIMSERVER, Logger::INFORMATION, |