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

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

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

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

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

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

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

void setSnmpOutTraps(java.lang.Long snmpOutTraps)
Handles the SNMP Set Request for snmpOutTraps.

Parameters:
snmpOutTraps - The Long value of snmpOutTraps to be set.

setSnmpInBadCommunityUses

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

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

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

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

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.