Request Event
Fires when a request is received from the client.
Syntax
ANSI (Cross Platform) virtual int FireRequest(KMIPServerRequestEventParams *e);
typedef struct {
int64 ConnectionId;
const char *Operation;
const char *Username;
int Reject; int reserved; } KMIPServerRequestEventParams; Unicode (Windows) virtual INT FireRequest(KMIPServerRequestEventParams *e);
typedef struct {
LONG64 ConnectionId;
LPCWSTR Operation;
LPCWSTR Username;
BOOL Reject; INT reserved; } KMIPServerRequestEventParams;
- (void)onRequest:(long long)connectionId :(NSString*)operation :(NSString*)username :(int*)reject;
#define EID_KMIPSERVER_REQUEST 10 virtual INT SECUREBLACKBOX_CALL FireRequest(LONG64 &lConnectionId, LPSTR &lpszOperation, LPSTR &lpszUsername, BOOL &bReject);
Remarks
The Operation parameter specifies the operation to perform, and Username the originator of the request. Use the Reject parameter to reject the request.