version 1.48, 2008/12/16 18:56:01
|
version 1.51, 2012/02/28 14:09:37
|
|
|
TRC_INDICATION_RECEIPT, | TRC_INDICATION_RECEIPT, |
TRC_CMPIPROVIDERINTERFACE, | TRC_CMPIPROVIDERINTERFACE, |
TRC_WSMSERVER, | TRC_WSMSERVER, |
TRC_LOGMSG |
TRC_LOGMSG, |
|
TRC_WMI_MAPPER_CONSUMER, |
|
TRC_INTERNALPROVIDER |
}; | }; |
| |
/** Token used for tracing functions. | /** Token used for tracing functions. |
|
|
const Uint32 level, | const Uint32 level, |
const CIMException& cimException); | const CIMException& cimException); |
| |
|
/** Formats the message given in data as hex dump if binary is true |
|
@param data Message to be formatted |
|
@param binary flag indicating if message is binary or not |
|
*/ |
|
static SharedArrayPtr<char> traceFormatChars( |
|
const Buffer& data, |
|
bool binary); |
|
|
/** Gets an HTTP request message. | /** Gets an HTTP request message. |
| |
|
Given a binary HTTP request message(application/x-openpegasus |
|
this method returns the request message formatted in hex dump format |
|
and returns. |
|
|
Given an HTTP request message, this method checks if the | Given an HTTP request message, this method checks if the |
message contains a "Basic" authorization header. | message contains a "Basic" authorization header. |
| |
|
|
static const char _METHOD_ENTER_MSG[]; | static const char _METHOD_ENTER_MSG[]; |
static const char _METHOD_EXIT_MSG[]; | static const char _METHOD_EXIT_MSG[]; |
| |
|
// Function formats size bytes of binary data given in data in a nicely |
|
// readable hex format and writes the output to targetBuffer |
|
// Return value: Pointer to one byte behind last position that was written |
|
static char* _formatHexDump( |
|
char* targetBuffer, |
|
const char* data,Uint32 size); |
|
|
// Factory function to create an instance of the matching trace handler | // Factory function to create an instance of the matching trace handler |
// for the given type of traceFacility. | // for the given type of traceFacility. |
// @param traceFacility type of trace handler to create | // @param traceFacility type of trace handler to create |