CacheEntry Event
Shows engines and users in the internal cache.
Syntax
class SNMPTCPTrapMgrCacheEntryEventParams { public: const QByteArray &EngineId(); int EngineBoots(); int EngineTime(); const QString &User(); const QString &AuthenticationProtocol(); const QString &AuthenticationPassword(); const QString &EncryptionAlgorithm(); const QString &EncryptionPassword(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void CacheEntry(SNMPTCPTrapMgrCacheEntryEventParams *e);
// Or, subclass SNMPTCPTrapMgr and override this emitter function. virtual int FireCacheEntry(SNMPTCPTrapMgrCacheEntryEventParams *e) {...}
Remarks
CacheEntry events are triggered by a call to ShowCache. One event is fired for each user and engine. If there are no users for a particular engine, a single event is fired with the engine information, but empty values for user information.