com.adventnet.snmp.snmp2.usm
Class USMStats

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.usm.USMStats

public class USMStats
extends java.lang.Object

This class contains methods to get and increment the counter values received by the SNMP engine which were dropped because of errors like unsupportedSecurityLevel, notInTimeWindows, unknownUserNames, unknownEngineIDs, wrongDigests and decryptionErrors.


Constructor Summary
USMStats()
           
 
Method Summary
static long getDecryptionErrors()
          Returns the decryptionErrors count.
static long getNotInTimeWindows()
          Returns the notInTimeWindows count.
static long getUnknownEngineIDs()
          Returns the unknownEngineIDs count.
static long getUnknownUserNames()
          Returns the unknownUserNames count.
static long getUnsupportedSecLevels()
          Returns the unsupportedSecurityLevel count.
static long getWrongDigests()
          Returns the wrongDigets count.
static void incrDecryptionErrors()
          Increments the decryptionErrors count by 1.
static void incrNotInTimeWindows()
          Increments the notInTimeWindows count by 1.
static void incrUnknownEngineIDs()
          Increments the unknownEngineIDs count by 1.
static void incrUnknownUserNames()
          Increments the unknownUserNames count by 1.
static void incrUnsupportedSecLevels()
          Increments the unsupportedSecLevels count by 1.
static void incrWrongDigests()
          Increments the wrongDigests count by 1.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

USMStats

public USMStats()
Method Detail

getUnsupportedSecLevels

public static long getUnsupportedSecLevels()
Returns the unsupportedSecurityLevel count. UnsupportedSecLevels is the total number of packets received by the SNMP engine which were dropped because they requested a securityLevel that was unknown to the SNMP engine or otherwise unavailable.
Returns:
The unsupportedSecurityLevel value.

incrUnsupportedSecLevels

public static void incrUnsupportedSecLevels()
Increments the unsupportedSecLevels count by 1. UnsupportedSecLevels is the total number of packets received by the SNMP engine which were dropped because they requested a securityLevel that was unknown to the SNMP engine or otherwise unavailable.

getNotInTimeWindows

public static long getNotInTimeWindows()
Returns the notInTimeWindows count. NotInTimeWindows is the total number of packets received by the SNMP engine which were dropped because they appeared outside of the authoritative SNMP engine's window.
Returns:
The notInTimeWindows value.

incrNotInTimeWindows

public static void incrNotInTimeWindows()
Increments the notInTimeWindows count by 1. NotInTimeWindows is the total number of packets received by the SNMP engine which were dropped because they appeared outside of the authoritative SNMP engine's window.

getUnknownUserNames

public static long getUnknownUserNames()
Returns the unknownUserNames count. UnknownUserNames is the total number of packets received by the SNMP engine which were dropped because they referenced a user that was not known to the SNMP engine.
Returns:
The unknownUserNames count.

incrUnknownUserNames

public static void incrUnknownUserNames()
Increments the unknownUserNames count by 1. UnknownUserNames is the total number of packets received by the SNMP engine which were dropped because they referenced a user that was not known to the SNMP engine.

getUnknownEngineIDs

public static long getUnknownEngineIDs()
Returns the unknownEngineIDs count. UnknownEngineIDs is the total number of packets received by the SNMP engine which were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.
Returns:
The unknownEngineIDs count.

incrUnknownEngineIDs

public static void incrUnknownEngineIDs()
Increments the unknownEngineIDs count by 1. UnknownEngineIDs is the total number of packets received by the SNMP engine which were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.

getWrongDigests

public static long getWrongDigests()
Returns the wrongDigets count. WrongDigests is the total number of packets received by the SNMP engine which were dropped because they didn't contain the expected digest value.
Returns:
The wrongDigests count.

incrWrongDigests

public static void incrWrongDigests()
Increments the wrongDigests count by 1. WrongDigests is the total number of packets received by the SNMP engine which were dropped because they didn't contain the expected digest value.

getDecryptionErrors

public static long getDecryptionErrors()
Returns the decryptionErrors count. DecryptionErrors is the total number of packets received by the SNMP engine which were dropped because they could not be decrypted.
Returns:
The decryptionErrors count.

incrDecryptionErrors

public static void incrDecryptionErrors()
Increments the decryptionErrors count by 1. DecryptionErrors is the total number of packets received by the SNMP engine which were dropped because they could not be decrypted.


Copyright (c)AdventNet Inc., 1996-2004