com.adventnet.snmp.snmp2.agent
Interface AuthenticationListener

All Known Implementing Classes:
SnmpInstrument

public interface AuthenticationListener

This interface specifies those methods of the SnmpGroupCounters whose implementation is internally handled by the SnmpAgent rather than the API .


Method Summary
 java.lang.Integer getSnmpEnableAuthenTraps()
          Handles the SNMP Get Request for snmpEnableAuthenTraps.
 java.lang.Long getSnmpInBadCommunityNames()
          Handles the SNMP Get Request for snmpInBadCommunityNames.
 java.lang.Long getSnmpInBadCommunityUses()
          Handles the SNMP Get Request for snmpInBadCommunityUses.
 java.lang.Long getSnmpOutTraps()
          Handles the SNMP Get Request for snmpOutTraps.
 java.lang.Long getSnmpProxyDrops()
          Handles the SNMP Get Request for snmpProxyDrops.
 java.lang.Long getSnmpSilentDrops()
          Handles the SNMP Get Request for snmpSilentDrops.
 void setSnmpEnableAuthenTraps(SnmpVar var)
          Handles the SNMP set Request for snmpEnableAutheTraps.
 void setSnmpInBadCommunityNames(java.lang.Long value)
          Handles the SNMP Set Request for snmpInBadCommunityNames.
 void setSnmpInBadCommunityUses(java.lang.Long value)
          Handles the SNMP Set Request for snmpInBadCommunityUses.
 void setSnmpOutTraps(java.lang.Long snmpOutTraps)
          Handles the SNMP Set Request for snmpOutTraps.
 void setSnmpProxyDrops(java.lang.Long value)
          Handles the SNMP Set Request for snmpProxyDrops.
 void setSnmpSilentDrops(java.lang.Long value)
          Handles the SNMP Set Request for snmpSilentDrops.
 

Method Detail

getSnmpEnableAuthenTraps

public java.lang.Integer getSnmpEnableAuthenTraps()
                                           throws AgentSnmpException
Handles the SNMP Get Request for snmpEnableAuthenTraps.
Returns:
The snmpEnableAuthenTraps Requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpEnableAuthenTraps

public void setSnmpEnableAuthenTraps(SnmpVar var)
                              throws AgentSnmpException
Handles the SNMP set Request for snmpEnableAutheTraps.
Parameters:
var - the snmpEnableAutheTraps value to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpInBadCommunityNames

public java.lang.Long getSnmpInBadCommunityNames()
                                          throws AgentSnmpException
Handles the SNMP Get Request for snmpInBadCommunityNames.
Returns:
The snmpInBadCommunityNames value requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpInBadCommunityNames

public void setSnmpInBadCommunityNames(java.lang.Long value)
                                throws AgentSnmpException
Handles the SNMP Set Request for snmpInBadCommunityNames.
Parameters:
value - The snmpInBadCommunityNames vlaue to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpInBadCommunityUses

public java.lang.Long getSnmpInBadCommunityUses()
                                         throws AgentSnmpException
Handles the SNMP Get Request for snmpInBadCommunityUses.
Returns:
The snmpInBadCommunityUses value Requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpOutTraps

public java.lang.Long getSnmpOutTraps()
                               throws AgentSnmpException
Handles the SNMP Get Request for snmpOutTraps.
Returns:
This returns the number of Traps sent out.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpOutTraps

public void setSnmpOutTraps(java.lang.Long snmpOutTraps)
Handles the SNMP Set Request for snmpOutTraps.
Parameters:
snmpOutTraps - The Long value of snmpOutTraps to be set.

setSnmpInBadCommunityUses

public void setSnmpInBadCommunityUses(java.lang.Long value)
                               throws AgentSnmpException
Handles the SNMP Set Request for snmpInBadCommunityUses.
Parameters:
value - The snmpInBadCommunityUses value to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpSilentDrops

public java.lang.Long getSnmpSilentDrops()
                                  throws AgentSnmpException
Handles the SNMP Get Request for snmpSilentDrops.
Returns:
The snmpSilentDrops value requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpSilentDrops

public void setSnmpSilentDrops(java.lang.Long value)
Handles the SNMP Set Request for snmpSilentDrops.
Parameters:
value - The value of snmpSilentDrops to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpProxyDrops

public java.lang.Long getSnmpProxyDrops()
                                 throws AgentSnmpException
Handles the SNMP Get Request for snmpProxyDrops.
Returns:
The snmpProxyDrops value requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpProxyDrops

public void setSnmpProxyDrops(java.lang.Long value)
Handles the SNMP Set Request for snmpProxyDrops.
Parameters:
value - The snmpProxyDrops value to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.