Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6IKMIPClient::poll ( P6BCSTR  asynchCorrelation,
P6KMIP_MSGEXTENSION pExtension,
p6IKMIPResult **  pResult 
)
pure virtual

Poll the KMIP server to determine the result of a previous request made to the KMIP server.

The result of this function can be that the server is still working on the request or the same output as the original request (e.g., the locateObject call above results in a returned p6IKMIPStr enumerator).

Parameters
asynchCorrelation[ in ] a handle previously returned by the KMIP server to be used as an identifier for a pending request
pExtension[ in ] optional can be NULL, vendor defined extension to the operation
pResult[ out ] An enumerator containing all the batch results of a previous request
Returns
FailureP6R::eNotInitializedA successful call to initialize() is required.
P6R::eNotConnA successful call to open() is required before this function is called.
P6R::eInvalidArgpResult is NULL.
P6R::eFormatErrorParsing error occurred while parsing a KMIP server response.
P6R::eTooBigMessage returned by server is too big to fit in configured buffers.
P6R::eTooSmallThe configured buffer size in P6KMIP_PREF.maxBufferSize is too small to hold the request message.