CacheEntry Event
Shows in the internal cache.
Syntax
ANSI (Cross Platform) virtual int FireCacheEntry(SNMPAgentCacheEntryEventParams *e);
typedef struct {
const char *User;
const char *AuthenticationProtocol;
const char *AuthenticationPassword;
const char *EncryptionAlgorithm;
const char *EncryptionPassword; int reserved; } SNMPAgentCacheEntryEventParams; Unicode (Windows) virtual INT FireCacheEntry(SNMPAgentCacheEntryEventParams *e);
typedef struct {
LPCWSTR User;
LPCWSTR AuthenticationProtocol;
LPCWSTR AuthenticationPassword;
LPCWSTR EncryptionAlgorithm;
LPCWSTR EncryptionPassword; INT reserved; } SNMPAgentCacheEntryEventParams;
- (void)onCacheEntry:(NSString*)user :(NSString*)authenticationProtocol :(NSString*)authenticationPassword :(NSString*)encryptionAlgorithm :(NSString*)encryptionPassword;
#define EID_SNMPAGENT_CACHEENTRY 2 virtual INT IPWORKSSNMP_CALL FireCacheEntry(LPSTR &lpszUser, LPSTR &lpszAuthenticationProtocol, LPSTR &lpszAuthenticationPassword, LPSTR &lpszEncryptionAlgorithm, LPSTR &lpszEncryptionPassword);
Remarks
CacheEntry events are triggered by a call to ShowCache. One event is fired for each user.