Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef P6ERR(* P6R::KMIP_SERVER_REQ)(P6VOID *pContext, P6KMIP_INCOMING_REQUEST *pRequest)

KMIP Server Request Callback.

Used to notify the client application of a requested operation by a KMIP Server. Note, that the implementation of the call back function must be thread safe since several operations can arrive at the same time.

pContext - this is the client application's object returned back to it (was passed in as an parameter to CKMIPServer::initialize() pRequest - object provided by the CKMIPServer instance containing the parsed KMIP Server's request for the application.

The return value is used in the KMIP response to the server. Current error code mapping from P6R error returned by this call back into KMIP error codes: eFormatError: KMIP_INVALID_MESSAGE eAccess: KMIP_AUTHENTICATION_FAILURE eNotFound: KMIP_ITEN_NOTFOUND eNotSupported: KMIP_OPREATION_NOTSUPPORTED eNotImplemented: KMIP_FEATURE_NOT_SUPPORTED eFail: KMIP_GENERAL_FAILURE any other error code: KMIP_PERMISSION_DENIED

Definition at line 164 of file p6kmipserver.h.