version 1.211.2.12, 2007/10/06 13:18:27
|
version 1.211.2.13, 2007/10/09 21:41:40
|
|
|
#include <Pegasus/Common/Tracer.h> | #include <Pegasus/Common/Tracer.h> |
#include <Pegasus/Common/LanguageParser.h> | #include <Pegasus/Common/LanguageParser.h> |
#include <Pegasus/Config/ConfigManager.h> | #include <Pegasus/Config/ConfigManager.h> |
#include <Pegasus/Client/CIMClient.h> |
|
#include <Pegasus/Server/CIMServer.h> | #include <Pegasus/Server/CIMServer.h> |
#include <Service/ServerProcess.h> | #include <Service/ServerProcess.h> |
#include <Service/ServerShutdownClient.h> |
|
#include <Service/ServerRunStatus.h> | #include <Service/ServerRunStatus.h> |
| |
|
#if !defined(PEGASUS_REMOVE_SERVER_CLIENT_USAGE) |
|
# include <Pegasus/Client/CIMClient.h> |
|
# include <Service/ServerShutdownClient.h> |
|
#endif |
|
|
#if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) | #if defined(PEGASUS_PLATFORM_ZOS_ZSERIES_IBM) |
#include <Pegasus/Common/SetFileDescriptorToEBCDICEncoding.h> | #include <Pegasus/Common/SetFileDescriptorToEBCDICEncoding.h> |
#include <Service/ARM_zOS.h> | #include <Service/ARM_zOS.h> |
|
|
#endif | #endif |
| |
// | // |
|
// Some platforms do not support using client to shutdown server. |
|
// |
|
#if !defined(PEGASUS_REMOVE_SERVER_CLIENT_USAGE) |
|
// |
// Check to see if we need to shutdown CIMOM | // Check to see if we need to shutdown CIMOM |
// | // |
if (shutdownOption) | if (shutdownOption) |
|
|
cout << MessageLoader::getMessage(parms) << endl; | cout << MessageLoader::getMessage(parms) << endl; |
return 0; | return 0; |
} | } |
|
#endif /* PEGASUS_REMOVE_SERVER_CLIENT_USAGE */ |
| |
#if defined(PEGASUS_DEBUG) && !defined(PEGASUS_USE_SYSLOGS) | #if defined(PEGASUS_DEBUG) && !defined(PEGASUS_USE_SYSLOGS) |
// Leave this in until people get familiar with the logs. | // Leave this in until people get familiar with the logs. |