version 1.15, 2011/10/13 05:21:41
|
version 1.16, 2012/07/26 11:14:54
|
|
|
Uint64 serverStartTimeMicroseconds; | Uint64 serverStartTimeMicroseconds; |
| |
if (!in.getUint64(serverStartTimeMicroseconds)) | if (!in.getUint64(serverStartTimeMicroseconds)) |
return false; |
return 0; |
| |
// [providerTimeMicroseconds] | // [providerTimeMicroseconds] |
Uint64 providerTimeMicroseconds; | Uint64 providerTimeMicroseconds; |
| |
if (!in.getUint64(providerTimeMicroseconds)) | if (!in.getUint64(providerTimeMicroseconds)) |
return false; |
return 0; |
| |
#endif | #endif |
| |
|
|
Boolean isComplete; | Boolean isComplete; |
| |
if (!in.getBoolean(isComplete)) | if (!in.getBoolean(isComplete)) |
return false; |
return 0; |
| |
// [index] | // [index] |
| |
Uint32 index; | Uint32 index; |
| |
if (!in.getUint32(index)) | if (!in.getUint32(index)) |
return false; |
return 0; |
| |
// [operationContext] | // [operationContext] |
| |
|
|
CIMPropertyList propertyList; | CIMPropertyList propertyList; |
| |
if (!_getInstance(in, modifiedInstance)) | if (!_getInstance(in, modifiedInstance)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeQualifiers)) | if (!in.getBoolean(includeQualifiers)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
return new CIMModifyInstanceRequestMessage( | return new CIMModifyInstanceRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMPropertyList propertyList; | CIMPropertyList propertyList; |
| |
if (!in.getBoolean(deepInheritance)) | if (!in.getBoolean(deepInheritance)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeQualifiers)) | if (!in.getBoolean(includeQualifiers)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeClassOrigin)) | if (!in.getBoolean(includeClassOrigin)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
return new CIMEnumerateInstancesRequestMessage( | return new CIMEnumerateInstancesRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String query; | String query; |
| |
if (!in.getString(queryLanguage) || !in.getString(query)) | if (!in.getString(queryLanguage) || !in.getString(query)) |
return false; |
return 0; |
| |
return new CIMExecQueryRequestMessage( | return new CIMExecQueryRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMPropertyList propertyList; | CIMPropertyList propertyList; |
| |
if (!_getObjectPath(in, objectName)) | if (!_getObjectPath(in, objectName)) |
return false; |
return 0; |
| |
if (!_getName(in, assocClass)) | if (!_getName(in, assocClass)) |
return false; |
return 0; |
| |
if (!_getName(in, resultClass)) | if (!_getName(in, resultClass)) |
return false; |
return 0; |
| |
if (!in.getString(role)) | if (!in.getString(role)) |
return false; |
return 0; |
| |
if (!in.getString(resultRole)) | if (!in.getString(resultRole)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeQualifiers)) | if (!in.getBoolean(includeQualifiers)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeClassOrigin)) | if (!in.getBoolean(includeClassOrigin)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
return new CIMAssociatorsRequestMessage( | return new CIMAssociatorsRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String resultRole; | String resultRole; |
| |
if (!_getObjectPath(in, objectName)) | if (!_getObjectPath(in, objectName)) |
return false; |
return 0; |
| |
if (!_getName(in, assocClass)) | if (!_getName(in, assocClass)) |
return false; |
return 0; |
| |
if (!_getName(in, resultClass)) | if (!_getName(in, resultClass)) |
return false; |
return 0; |
| |
if (!in.getString(role)) | if (!in.getString(role)) |
return false; |
return 0; |
| |
if (!in.getString(resultRole)) | if (!in.getString(resultRole)) |
return false; |
return 0; |
| |
return new CIMAssociatorNamesRequestMessage( | return new CIMAssociatorNamesRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMPropertyList propertyList; | CIMPropertyList propertyList; |
| |
if (!_getObjectPath(in, objectName)) | if (!_getObjectPath(in, objectName)) |
return false; |
return 0; |
| |
if (!_getName(in, resultClass)) | if (!_getName(in, resultClass)) |
return false; |
return 0; |
| |
if (!in.getString(role)) | if (!in.getString(role)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeQualifiers)) | if (!in.getBoolean(includeQualifiers)) |
return false; |
return 0; |
| |
if (!in.getBoolean(includeClassOrigin)) | if (!in.getBoolean(includeClassOrigin)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
return new CIMReferencesRequestMessage( | return new CIMReferencesRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String role; | String role; |
| |
if (!_getObjectPath(in, objectName)) | if (!_getObjectPath(in, objectName)) |
return false; |
return 0; |
| |
if (!_getName(in, resultClass)) | if (!_getName(in, resultClass)) |
return false; |
return 0; |
| |
if (!in.getString(role)) | if (!in.getString(role)) |
return false; |
return 0; |
| |
return new CIMReferenceNamesRequestMessage( | return new CIMReferenceNamesRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMName propertyName; | CIMName propertyName; |
| |
if (!_getObjectPath(in, instanceName)) | if (!_getObjectPath(in, instanceName)) |
return false; |
return 0; |
| |
if (!_getName(in, propertyName)) | if (!_getName(in, propertyName)) |
return false; |
return 0; |
| |
return new CIMGetPropertyRequestMessage( | return new CIMGetPropertyRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMParamValue newValue; | CIMParamValue newValue; |
| |
if (!_getObjectPath(in, instanceName)) | if (!_getObjectPath(in, instanceName)) |
return false; |
return 0; |
| |
if (!_getParamValue(in, newValue)) | if (!_getParamValue(in, newValue)) |
return false; |
return 0; |
| |
return new CIMSetPropertyRequestMessage( | return new CIMSetPropertyRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<CIMParamValue> inParameters; | Array<CIMParamValue> inParameters; |
| |
if (!_getObjectPath(in, instanceName)) | if (!_getObjectPath(in, instanceName)) |
return false; |
return 0; |
| |
if (!_getName(in, methodName)) | if (!_getName(in, methodName)) |
return false; |
return 0; |
| |
if (!in.getParamValueA(inParameters)) | if (!in.getParamValueA(inParameters)) |
return false; |
return 0; |
| |
return new CIMInvokeMethodRequestMessage( | return new CIMInvokeMethodRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String query; | String query; |
| |
if (!_getNamespaceName(in, nameSpace)) | if (!_getNamespaceName(in, nameSpace)) |
return false; |
return 0; |
| |
if (!_getInstance(in, subscriptionInstance)) | if (!_getInstance(in, subscriptionInstance)) |
return false; |
return 0; |
| |
if (!in.getNameA(classNames)) | if (!in.getNameA(classNames)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
if (!in.getUint16(repeatNotificationPolicy)) | if (!in.getUint16(repeatNotificationPolicy)) |
return false; |
return 0; |
| |
if (!in.getString(query)) | if (!in.getString(query)) |
return false; |
return 0; |
| |
return new CIMCreateSubscriptionRequestMessage( | return new CIMCreateSubscriptionRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String query; | String query; |
| |
if (!_getNamespaceName(in, nameSpace)) | if (!_getNamespaceName(in, nameSpace)) |
return false; |
return 0; |
| |
if (!_getInstance(in, subscriptionInstance)) | if (!_getInstance(in, subscriptionInstance)) |
return false; |
return 0; |
| |
if (!in.getNameA(classNames)) | if (!in.getNameA(classNames)) |
return false; |
return 0; |
| |
if (!_getPropertyList(in, propertyList)) | if (!_getPropertyList(in, propertyList)) |
return false; |
return 0; |
| |
if (!in.getUint16(repeatNotificationPolicy)) | if (!in.getUint16(repeatNotificationPolicy)) |
return false; |
return 0; |
| |
if (!in.getString(query)) | if (!in.getString(query)) |
return false; |
return 0; |
| |
return new CIMModifySubscriptionRequestMessage( | return new CIMModifySubscriptionRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<CIMName> classNames; | Array<CIMName> classNames; |
| |
if (!_getNamespaceName(in, nameSpace)) | if (!_getNamespaceName(in, nameSpace)) |
return false; |
return 0; |
| |
if (!_getInstance(in, subscriptionInstance)) | if (!_getInstance(in, subscriptionInstance)) |
return false; |
return 0; |
| |
if (!in.getNameA(classNames)) | if (!in.getNameA(classNames)) |
return false; |
return 0; |
| |
return new CIMDeleteSubscriptionRequestMessage( | return new CIMDeleteSubscriptionRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMInstance indicationInstance; | CIMInstance indicationInstance; |
| |
if (!_getUserInfo(in, authType, userName)) | if (!_getUserInfo(in, authType, userName)) |
return false; |
return 0; |
| |
if (!in.getString(destinationPath)) | if (!in.getString(destinationPath)) |
return false; |
return 0; |
| |
if (!_getInstance(in, indicationInstance)) | if (!_getInstance(in, indicationInstance)) |
return false; |
return 0; |
| |
return new CIMExportIndicationRequestMessage( | return new CIMExportIndicationRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Uint32 timeoutMilliSec; | Uint32 timeoutMilliSec; |
| |
if (!_getNamespaceName(in, nameSpace)) | if (!_getNamespaceName(in, nameSpace)) |
return false; |
return 0; |
| |
if (!_getInstance(in, indicationInstance)) | if (!_getInstance(in, indicationInstance)) |
return false; |
return 0; |
| |
if (!in.getObjectPathA(subscriptionInstanceNames)) | if (!in.getObjectPathA(subscriptionInstanceNames)) |
return false; |
return 0; |
| |
if (!_getInstance(in, provider)) | if (!_getInstance(in, provider)) |
return false; |
return 0; |
| |
if (!in.getUint32(timeoutMilliSec)) | if (!in.getUint32(timeoutMilliSec)) |
return false; |
return 0; |
| |
return new CIMProcessIndicationRequestMessage( | return new CIMProcessIndicationRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<Boolean> indicationProviders; | Array<Boolean> indicationProviders; |
| |
if (!_getUserInfo(in, authType, userName)) | if (!_getUserInfo(in, authType, userName)) |
return false; |
return 0; |
| |
if (!_getInstance(in, providerModule)) | if (!_getInstance(in, providerModule)) |
return false; |
return 0; |
| |
if (!in.getInstanceA(providers)) | if (!in.getInstanceA(providers)) |
return false; |
return 0; |
| |
if (!in.getBoolean(disableProviderOnly)) | if (!in.getBoolean(disableProviderOnly)) |
return false; |
return 0; |
| |
if (!in.getBooleanA(indicationProviders)) | if (!in.getBooleanA(indicationProviders)) |
return false; |
return 0; |
| |
return new CIMDisableModuleRequestMessage( | return new CIMDisableModuleRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMInstance providerModule; | CIMInstance providerModule; |
| |
if (!_getUserInfo(in, authType, userName)) | if (!_getUserInfo(in, authType, userName)) |
return false; |
return 0; |
| |
if (!_getInstance(in, providerModule)) | if (!_getInstance(in, providerModule)) |
return false; |
return 0; |
| |
return new CIMEnableModuleRequestMessage( | return new CIMEnableModuleRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Uint32 shutdownTimeout; | Uint32 shutdownTimeout; |
| |
if (!in.getUint32(shutdownTimeout)) | if (!in.getUint32(shutdownTimeout)) |
return false; |
return 0; |
| |
return new CIMStopAllProvidersRequestMessage( | return new CIMStopAllProvidersRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Boolean subscriptionInitComplete; | Boolean subscriptionInitComplete; |
| |
if (!in.getString(pegasusHome)) | if (!in.getString(pegasusHome)) |
return false; |
return 0; |
| |
if (!in.getUint32(size)) | if (!in.getUint32(size)) |
return false; |
return 0; |
| |
for (Uint32 i = 0; i < size; i++) | for (Uint32 i = 0; i < size; i++) |
{ | { |
|
|
String second; | String second; |
| |
if (!in.getString(first) || !in.getString(second)) | if (!in.getString(first) || !in.getString(second)) |
return false; |
return 0; |
| |
configProperties.append(ConfigPair(first, second)); | configProperties.append(ConfigPair(first, second)); |
} | } |
| |
if (!in.getBoolean(bindVerbose)) | if (!in.getBoolean(bindVerbose)) |
return false; |
return 0; |
| |
if (!in.getBoolean(subscriptionInitComplete)) | if (!in.getBoolean(subscriptionInitComplete)) |
return false; |
return 0; |
| |
return new CIMInitializeProviderAgentRequestMessage( | return new CIMInitializeProviderAgentRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Boolean currentValueModified; | Boolean currentValueModified; |
| |
if (!in.getString(propertyName)) | if (!in.getString(propertyName)) |
return false; |
return 0; |
| |
if (!in.getString(newPropertyValue)) | if (!in.getString(newPropertyValue)) |
return false; |
return 0; |
| |
if (!in.getBoolean(currentValueModified)) | if (!in.getBoolean(currentValueModified)) |
return false; |
return 0; |
| |
return new CIMNotifyConfigChangeRequestMessage( | return new CIMNotifyConfigChangeRequestMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String messageID; | String messageID; |
| |
if (!in.getString(messageID)) | if (!in.getString(messageID)) |
return false; |
return 0; |
| |
if (!in.getNamespaceName(nsName)) | if (!in.getNamespaceName(nsName)) |
return false; |
return 0; |
| |
if (!in.getName(className)) | if (!in.getName(className)) |
return false; |
return 0; |
| |
return new ProvAgtGetScmoClassRequestMessage( | return new ProvAgtGetScmoClassRequestMessage( |
messageID, | messageID, |
|
|
CIMObjectPath instanceName; | CIMObjectPath instanceName; |
| |
if (!_getObjectPath(in, instanceName)) | if (!_getObjectPath(in, instanceName)) |
return false; |
return 0; |
| |
return new CIMCreateInstanceResponseMessage( | return new CIMCreateInstanceResponseMessage( |
String::EMPTY, | String::EMPTY, |
|
|
CIMParamValue value; | CIMParamValue value; |
| |
if (!_getParamValue(in, value)) | if (!_getParamValue(in, value)) |
return false; |
return 0; |
| |
return new CIMGetPropertyResponseMessage( | return new CIMGetPropertyResponseMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<CIMParamValue> outParameters; | Array<CIMParamValue> outParameters; |
| |
if (!_getParamValue(in, retValue)) | if (!_getParamValue(in, retValue)) |
return false; |
return 0; |
| |
if (!in.getParamValueA(outParameters)) | if (!in.getParamValueA(outParameters)) |
return false; |
return 0; |
| |
if (!_getName(in, methodName)) | if (!_getName(in, methodName)) |
return false; |
return 0; |
| |
return new CIMInvokeMethodResponseMessage( | return new CIMInvokeMethodResponseMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<Uint16> operationalStatus; | Array<Uint16> operationalStatus; |
| |
if (!in.getUint16A(operationalStatus)) | if (!in.getUint16A(operationalStatus)) |
return false; |
return 0; |
| |
return new CIMDisableModuleResponseMessage( | return new CIMDisableModuleResponseMessage( |
String::EMPTY, | String::EMPTY, |
|
|
Array<Uint16> operationalStatus; | Array<Uint16> operationalStatus; |
| |
if (!in.getUint16A(operationalStatus)) | if (!in.getUint16A(operationalStatus)) |
return false; |
return 0; |
| |
return new CIMEnableModuleResponseMessage( | return new CIMEnableModuleResponseMessage( |
String::EMPTY, | String::EMPTY, |
|
|
String messageID; | String messageID; |
| |
if (!in.getString(messageID)) | if (!in.getString(messageID)) |
return false; |
return 0; |
| |
if (!in.getSCMOClass(theClass)) | if (!in.getSCMOClass(theClass)) |
return false; |
return 0; |
| |
return new ProvAgtGetScmoClassResponseMessage( | return new ProvAgtGetScmoClassResponseMessage( |
messageID, | messageID, |