version 1.58, 2002/09/13 21:40:42
|
version 1.59, 2002/10/07 17:42:04
|
|
|
#include <Pegasus/Common/CIMObjectPath.h> | #include <Pegasus/Common/CIMObjectPath.h> |
#include <Pegasus/Common/CIMPropertyList.h> | #include <Pegasus/Common/CIMPropertyList.h> |
#include <Pegasus/Common/CIMParamValue.h> | #include <Pegasus/Common/CIMParamValue.h> |
|
#include <Pegasus/Common/Message.h> |
#include <Pegasus/Common/Linkage.h> | #include <Pegasus/Common/Linkage.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
|
|
const CIMName& cimMethod, | const CIMName& cimMethod, |
const String& cimObject, | const String& cimObject, |
const String& authenticationHeader, | const String& authenticationHeader, |
|
HttpMethod httpMethod, |
Uint32 contentLength); | Uint32 contentLength); |
| |
static void appendMethodResponseHeader( | static void appendMethodResponseHeader( |
Array<Sint8>& out, | Array<Sint8>& out, |
|
HttpMethod httpMethod, |
Uint32 contentLength); | Uint32 contentLength); |
| |
static void appendHttpErrorResponseHeader( | static void appendHttpErrorResponseHeader( |
|
|
const CIMName& methodName, | const CIMName& methodName, |
const Array<CIMParamValue>& parameters, | const Array<CIMParamValue>& parameters, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const String& authenticationHeader); | const String& authenticationHeader); |
| |
static Array<Sint8> formatSimpleMethodRspMessage( | static Array<Sint8> formatSimpleMethodRspMessage( |
const CIMName& methodName, | const CIMName& methodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleMethodErrorRspMessage( | static Array<Sint8> formatSimpleMethodErrorRspMessage( |
const CIMName& methodName, | const CIMName& methodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const CIMException& cimException); | const CIMException& cimException); |
| |
static Array<Sint8> formatSimpleIMethodReqMessage( | static Array<Sint8> formatSimpleIMethodReqMessage( |
|
|
const CIMNamespaceName& nameSpace, | const CIMNamespaceName& nameSpace, |
const CIMName& iMethodName, | const CIMName& iMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const String& authenticationHeader, | const String& authenticationHeader, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleIMethodRspMessage( | static Array<Sint8> formatSimpleIMethodRspMessage( |
const CIMName& iMethodName, | const CIMName& iMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleIMethodErrorRspMessage( | static Array<Sint8> formatSimpleIMethodErrorRspMessage( |
const CIMName& iMethodName, | const CIMName& iMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const CIMException& cimException); | const CIMException& cimException); |
| |
static void appendEMethodRequestHeader( | static void appendEMethodRequestHeader( |
|
|
const char* requestUri, | const char* requestUri, |
const char* host, | const char* host, |
const CIMName& cimMethod, | const CIMName& cimMethod, |
|
HttpMethod httpMethod, |
const String& authenticationHeader, | const String& authenticationHeader, |
Uint32 contentLength); | Uint32 contentLength); |
| |
static void appendEMethodResponseHeader( | static void appendEMethodResponseHeader( |
Array<Sint8>& out, | Array<Sint8>& out, |
|
HttpMethod httpMethod, |
Uint32 contentLength); | Uint32 contentLength); |
| |
static Array<Sint8> formatSimpleEMethodReqMessage( | static Array<Sint8> formatSimpleEMethodReqMessage( |
|
|
const char* host, | const char* host, |
const CIMName& eMethodName, | const CIMName& eMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const String& authenticationHeader, | const String& authenticationHeader, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleEMethodRspMessage( | static Array<Sint8> formatSimpleEMethodRspMessage( |
const CIMName& eMethodName, | const CIMName& eMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const Array<Sint8>& body); | const Array<Sint8>& body); |
| |
static Array<Sint8> formatSimpleEMethodErrorRspMessage( | static Array<Sint8> formatSimpleEMethodErrorRspMessage( |
const CIMName& eMethodName, | const CIMName& eMethodName, |
const String& messageId, | const String& messageId, |
|
HttpMethod httpMethod, |
const CIMException& cimException); | const CIMException& cimException); |
| |
static void indentedPrint( | static void indentedPrint( |