Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPServerParser::setMessageBuffer ( P6UINT8  msgFormat,
p6IIoBuffer pInBuffer,
p6IDataStream pErrorStream 
)
pure virtual

Load the KMIP request message bytes into the parser.

These message bytes have been read off of a network socket or from a file.

Parameters
msgFormat[ in ] what is the format of the incoming message, on of the following: { KMIP_CMP_TTLV, KMIP_CMP_MSGXML, KMIP_CMP_MSGJSON }, see p6kmip.h
pInBuffer[ in ] an IoBuffer object containing a byte array that contains the incoming KMIP request message
pErrorStream[ in ] location to place parsing errors
Returns
SuccessP6R::eOk 
FailureP6R::eNoMemoryInsuffficient memory to properly initialize the component
P6R::eNotInitializedA successful call to initialize() was not done.
P6R::eInvalidArgpInBuffer is NULL