CacheEntry Event
Shows in the internal cache.
Syntax
ANSI (Cross Platform) virtual int FireCacheEntry(SNMPTCPAgentCacheEntryEventParams *e);
typedef struct {
const char *User;
const char *AuthenticationProtocol;
const char *AuthenticationPassword;
const char *EncryptionAlgorithm;
const char *EncryptionPassword; int reserved; } SNMPTCPAgentCacheEntryEventParams; Unicode (Windows) virtual INT FireCacheEntry(SNMPTCPAgentCacheEntryEventParams *e);
typedef struct {
LPCWSTR User;
LPCWSTR AuthenticationProtocol;
LPCWSTR AuthenticationPassword;
LPCWSTR EncryptionAlgorithm;
LPCWSTR EncryptionPassword; INT reserved; } SNMPTCPAgentCacheEntryEventParams;
- (void)onCacheEntry:(NSString*)user :(NSString*)authenticationProtocol :(NSString*)authenticationPassword :(NSString*)encryptionAlgorithm :(NSString*)encryptionPassword;
#define EID_SNMPTCPAGENT_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.