DestroyAction Event
Fires when an object destruction request is received.
Syntax
class KMIPServerDestroyActionEventParams { public: qint64 ConnectionId(); const QString &UniqueIdentifier(); int ObjectType(); int ObjectState(); bool Remove(); void SetRemove(bool bRemove); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void DestroyAction(KMIPServerDestroyActionEventParams *e);
// Or, subclass KMIPServer and override this emitter function. virtual int FireDestroyAction(KMIPServerDestroyActionEventParams *e) {...}
Remarks
The class fires this event when it receives a request from the client to destroy and existing object. Set Remove to true to proceed with the destruction, or to false to reject the request.