|
pure virtual |
Sets up the object to run properly.
flags | [IN] Set perferences for the new object. These preferences are fixed during the lifetime of object. |
version | [IN] KMIP protocol version, { P6KMIP_VERSION_10, P6KMIP_VERSION_11, P6KMIP_VERSION_12 } are current supported values |
pPool | [IN] Caller provided memory pool for use in generating KMIP request/response messages stored in buffers from this pool. |
pPreferences | [IN] Allows the caller to tailor the actions of this KMIP encoder. This parameter is option and when set to NULL it is ignored. |
Success | P6R::eOk | |
Failure | P6R::eAlreadyInitialized | Method can only be called once successfully. |
P6R::eInvalidArg | pPool is NULL |