HOME

com.ireasoning.protocol.snmp
Class AgentUsmStats

java.lang.Object
  extended bycom.ireasoning.protocol.snmp.StatsChangeSupport
      extended bycom.ireasoning.protocol.snmp.AgentUsmStats
All Implemented Interfaces:
Serializable

public class AgentUsmStats
extends com.ireasoning.protocol.snmp.StatsChangeSupport

SNMPv3 USM stats counters.

See Also:
Serialized Form

Field Summary
static SnmpOID USM_STATS_DECRYPTION_ERRORS
          usmStatsDecryptionErrors OID
static SnmpOID USM_STATS_NOT_IN_TIMEWINDOWS
          usmStatsNotInTimeWindows OID
static SnmpOID USM_STATS_UNKNOWN_ENGINE_IDS
          usmStatsUnknownEngineIDs OID
static SnmpOID USM_STATS_UNKNOWN_USER_NAMES
          usmStatsUnknownUserNames OID
static SnmpOID USM_STATS_UNSUPPORTED_SEC_LEVELS
          usmStatsUnsupportedSecLevels OID
static SnmpOID USM_STATS_WRONG_DIGESTS
          usmStatsWrongDigests OID
 
Constructor Summary
AgentUsmStats()
           
 
Method Summary
 void addPropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
          Adds a PropertyChangeListener to the listener list.
 void addUsmStatsDecryptionErrors(long l)
           
 void addUsmStatsNotInTimeWindows(long l)
           
 void addUsmStatsUnknownEngineIDs(long l)
           
 void addUsmStatsUnknownUserNames(long l)
           
 void addUsmStatsUnsupportedSecLevels(long l)
           
 void addUsmStatsWrongDigests(long l)
           
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
          Supports reporting bound property changes.
 long getUsmStatsDecryptionErrors()
          Returns the usmStatsDecryptionErrors counter.
 long getUsmStatsNotInTimeWindows()
          Returns the usmStatsNotInTimeWindows counter.
 long getUsmStatsUnknownEngineIDs()
          Returns the usmStatsUnknownEngineIDs counter.
 long getUsmStatsUnknownUserNames()
          Returns the usmStatsUnknownUserNames counter.
 long getUsmStatsUnsupportedSecLevels()
          Returns the usmStatsUnsupportedSecLevels counter.
 long getUsmStatsWrongDigests()
          Returns the usmStatsWrongDigests counter.
 void removePropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
          Removes a PropertyChangeListener from the listener list.
 void setUsmStatsDecryptionErrors(long l)
           
 void setUsmStatsNotInTimeWindows(long l)
           
 void setUsmStatsUnknownEngineIDs(long l)
           
 void setUsmStatsUnknownUserNames(long l)
           
 void setUsmStatsUnsupportedSecLevels(long l)
           
 void setUsmStatsWrongDigests(long l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USM_STATS_UNSUPPORTED_SEC_LEVELS

public static final SnmpOID USM_STATS_UNSUPPORTED_SEC_LEVELS
usmStatsUnsupportedSecLevels OID


USM_STATS_NOT_IN_TIMEWINDOWS

public static final SnmpOID USM_STATS_NOT_IN_TIMEWINDOWS
usmStatsNotInTimeWindows OID


USM_STATS_UNKNOWN_USER_NAMES

public static final SnmpOID USM_STATS_UNKNOWN_USER_NAMES
usmStatsUnknownUserNames OID


USM_STATS_UNKNOWN_ENGINE_IDS

public static final SnmpOID USM_STATS_UNKNOWN_ENGINE_IDS
usmStatsUnknownEngineIDs OID


USM_STATS_WRONG_DIGESTS

public static final SnmpOID USM_STATS_WRONG_DIGESTS
usmStatsWrongDigests OID


USM_STATS_DECRYPTION_ERRORS

public static final SnmpOID USM_STATS_DECRYPTION_ERRORS
usmStatsDecryptionErrors OID

Constructor Detail

AgentUsmStats

public AgentUsmStats()
Method Detail

getUsmStatsUnsupportedSecLevels

public long getUsmStatsUnsupportedSecLevels()
Returns the usmStatsUnsupportedSecLevels counter. Number of packets received by the SNMP engine that were dropped because they requested a security level that was unknown to the SNMP engine or otherwise unavailable.


setUsmStatsUnsupportedSecLevels

public void setUsmStatsUnsupportedSecLevels(long l)

addUsmStatsUnsupportedSecLevels

public void addUsmStatsUnsupportedSecLevels(long l)

getUsmStatsNotInTimeWindows

public long getUsmStatsNotInTimeWindows()
Returns the usmStatsNotInTimeWindows counter. Number of packets received by the SNMP engine that were dropped because they appeared outside of the authoritative SNMP engine's window.


setUsmStatsNotInTimeWindows

public void setUsmStatsNotInTimeWindows(long l)

addUsmStatsNotInTimeWindows

public void addUsmStatsNotInTimeWindows(long l)

getUsmStatsUnknownUserNames

public long getUsmStatsUnknownUserNames()
Returns the usmStatsUnknownUserNames counter. Number of packets received by the SNMP engine that were dropped because they referenced a user that was not known to the SNMP engine.


setUsmStatsUnknownUserNames

public void setUsmStatsUnknownUserNames(long l)

addUsmStatsUnknownUserNames

public void addUsmStatsUnknownUserNames(long l)

getUsmStatsUnknownEngineIDs

public long getUsmStatsUnknownEngineIDs()
Returns the usmStatsUnknownEngineIDs counter. Number of packets received by the SNMP engine that were dropped because they referenced an snmpEngineID that was not known to the SNMP engine.


setUsmStatsUnknownEngineIDs

public void setUsmStatsUnknownEngineIDs(long l)

addUsmStatsUnknownEngineIDs

public void addUsmStatsUnknownEngineIDs(long l)

getUsmStatsWrongDigests

public long getUsmStatsWrongDigests()
Returns the usmStatsWrongDigests counter. Number of packets received by the SNMP engine that were dropped because they did not contain the expected digest value.


setUsmStatsWrongDigests

public void setUsmStatsWrongDigests(long l)

addUsmStatsWrongDigests

public void addUsmStatsWrongDigests(long l)

getUsmStatsDecryptionErrors

public long getUsmStatsDecryptionErrors()
Returns the usmStatsDecryptionErrors counter. Number of packets received by the SNMP engine that were dropped because they could not be decrypted.


setUsmStatsDecryptionErrors

public void setUsmStatsDecryptionErrors(long l)

addUsmStatsDecryptionErrors

public void addUsmStatsDecryptionErrors(long l)

firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
Supports reporting bound property changes. This method can be called when a bound property has changed and it will send the appropriate PropertyChangeEvent to any registered PropertyChangeListeners.


addPropertyChangeListener

public void addPropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list. The listener is registered for all properties.

A PropertyChangeEvent will get fired in response to setting a bound property, e.g. setFont, setBackground, or setForeground. Note that if the current component is inheriting its foreground, background, or font from its container, then no event will be fired in response to a change in the inherited property.

Parameters:
listener - The PropertyChangeListener to be added

removePropertyChangeListener

public void removePropertyChangeListener(com.ireasoning.protocol.snmp.PropertyChangeListener listener)
Removes a PropertyChangeListener from the listener list. This removes a PropertyChangeListener that was registered for all properties.

Parameters:
listener - the PropertyChangeListener to be removed

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.