com.adventnet.snmp.snmp2.agent
Class SnmpInstrument

java.lang.Object
  |
  +--com.adventnet.snmp.snmp2.agent.SnmpInstrument

class SnmpInstrument
extends java.lang.Object
implements AuthenticationListener


Field Summary
protected  java.lang.Integer snmpEnableAuthenTraps
           
protected  java.lang.Long snmpInASNParseErrs
           
protected  java.lang.Long snmpInBadCommunityNames
           
protected  java.lang.Long snmpInBadCommunityUses
           
protected  java.lang.Long snmpInBadValues
           
protected  java.lang.Long snmpInBadVersions
           
protected  java.lang.Long snmpInGenErrs
           
protected  java.lang.Long snmpInGetNexts
           
protected  java.lang.Long snmpInGetRequests
           
protected  java.lang.Long snmpInGetResponses
           
protected  java.lang.Long snmpInNoSuchNames
           
protected  java.lang.Long snmpInPkts
           
protected  java.lang.Long snmpInReadOnlys
           
protected  java.lang.Long snmpInSetRequests
           
protected  java.lang.Long snmpInTooBigs
           
protected  java.lang.Long snmpInTotalReqVars
           
protected  java.lang.Long snmpInTotalSetVars
           
protected  java.lang.Long snmpInTraps
           
protected  java.lang.Long snmpOutBadValues
           
protected  java.lang.Long snmpOutGenErrs
           
protected  java.lang.Long snmpOutGetNexts
           
protected  java.lang.Long snmpOutGetRequests
           
protected  java.lang.Long snmpOutGetResponses
           
protected  java.lang.Long snmpOutNoSuchNames
           
protected  java.lang.Long snmpOutPkts
           
protected  java.lang.Long snmpOutSetRequests
           
protected  java.lang.Long snmpOutTooBigs
           
protected  java.lang.Long snmpOutTraps
           
protected  java.lang.Long snmpProxyDrops
           
protected  java.lang.Long snmpSilentDrops
           
 
Constructor Summary
(package private) SnmpInstrument()
           
 
Method Summary
 java.lang.Integer getSnmpEnableAuthenTraps()
          Handles the SNMP Get Request for snmpEnableAuthenTraps
 java.lang.Long getSnmpInASNParseErrs()
          Handles the SNMP Get Request for snmpInASNParseErrs
 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 getSnmpInBadValues()
          Handles the SNMP Get Request for snmpInBadValues
 java.lang.Long getSnmpInBadVersions()
          Handles the SNMP Get Request for snmpInBadVersions
 java.lang.Long getSnmpInGenErrs()
          Handles the SNMP Get Request for snmpInGenErrs
 java.lang.Long getSnmpInGetNexts()
          Handles the SNMP Get Request for snmpInGetNexts
 java.lang.Long getSnmpInGetRequests()
          Handles the SNMP Get Request for snmpInGetRequests
 java.lang.Long getSnmpInGetResponses()
          Handles the SNMP Get Request for snmpInGetResponses
 java.lang.Long getSnmpInNoSuchNames()
          Handles the SNMP Get Request for snmpInNoSuchNames
 java.lang.Long getSnmpInPkts()
          Handles the SNMP Get Request for snmpInPkts
 java.lang.Long getSnmpInReadOnlys()
          Handles the SNMP Get Request for snmpInReadOnlys
 java.lang.Long getSnmpInSetRequests()
          Handles the SNMP Get Request for snmpInSetRequests
 java.lang.Long getSnmpInTooBigs()
          Handles the SNMP Get Request for snmpInTooBigs
 java.lang.Long getSnmpInTotalReqVars()
          Handles the SNMP Get Request for snmpInTotalReqVars
 java.lang.Long getSnmpInTotalSetVars()
          Handles the SNMP Get Request for snmpInTotalSetVars
 java.lang.Long getSnmpInTraps()
          Handles the SNMP Get Request for snmpInTraps
 java.lang.Long getSnmpOutBadValues()
          Handles the SNMP Get Request for snmpOutBadValues
 java.lang.Long getSnmpOutGenErrs()
          Handles the SNMP Get Request for snmpOutGenErrs
 java.lang.Long getSnmpOutGetNexts()
          Handles the SNMP Get Request for snmpOutGetNexts
 java.lang.Long getSnmpOutGetRequests()
          Handles the SNMP Get Request for snmpOutGetRequests
 java.lang.Long getSnmpOutGetResponses()
          Handles the SNMP Get Request for snmpOutGetResponses
 java.lang.Long getSnmpOutNoSuchNames()
          Handles the SNMP Get Request for snmpOutNoSuchNames
 java.lang.Long getSnmpOutPkts()
          Handles the SNMP Get Request for snmpOutPkts
 java.lang.Long getSnmpOutSetRequests()
          Handles the SNMP Get Request for snmpOutSetRequests
 java.lang.Long getSnmpOutTooBigs()
          Handles the SNMP Get Request for snmpOutTooBigs
 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 setAgentRef(AgentSnmpGroup agentRef)
           
 void setSnmpEnableAuthenTraps(SnmpVar var)
          Handles the SNMP Set Request for snmpEnableAuthenTraps
 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
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

snmpInPkts

protected java.lang.Long snmpInPkts

snmpOutPkts

protected java.lang.Long snmpOutPkts

snmpInBadVersions

protected java.lang.Long snmpInBadVersions

snmpInBadCommunityNames

protected java.lang.Long snmpInBadCommunityNames

snmpInBadCommunityUses

protected java.lang.Long snmpInBadCommunityUses

snmpInASNParseErrs

protected java.lang.Long snmpInASNParseErrs

snmpInTooBigs

protected java.lang.Long snmpInTooBigs

snmpInNoSuchNames

protected java.lang.Long snmpInNoSuchNames

snmpInBadValues

protected java.lang.Long snmpInBadValues

snmpInReadOnlys

protected java.lang.Long snmpInReadOnlys

snmpInGenErrs

protected java.lang.Long snmpInGenErrs

snmpInTotalReqVars

protected java.lang.Long snmpInTotalReqVars

snmpInTotalSetVars

protected java.lang.Long snmpInTotalSetVars

snmpInGetRequests

protected java.lang.Long snmpInGetRequests

snmpInGetNexts

protected java.lang.Long snmpInGetNexts

snmpInSetRequests

protected java.lang.Long snmpInSetRequests

snmpInGetResponses

protected java.lang.Long snmpInGetResponses

snmpInTraps

protected java.lang.Long snmpInTraps

snmpOutTooBigs

protected java.lang.Long snmpOutTooBigs

snmpOutNoSuchNames

protected java.lang.Long snmpOutNoSuchNames

snmpOutBadValues

protected java.lang.Long snmpOutBadValues

snmpOutGenErrs

protected java.lang.Long snmpOutGenErrs

snmpOutGetRequests

protected java.lang.Long snmpOutGetRequests

snmpOutGetNexts

protected java.lang.Long snmpOutGetNexts

snmpOutSetRequests

protected java.lang.Long snmpOutSetRequests

snmpOutGetResponses

protected java.lang.Long snmpOutGetResponses

snmpOutTraps

protected java.lang.Long snmpOutTraps

snmpEnableAuthenTraps

protected java.lang.Integer snmpEnableAuthenTraps

snmpSilentDrops

protected java.lang.Long snmpSilentDrops

snmpProxyDrops

protected java.lang.Long snmpProxyDrops
Constructor Detail

SnmpInstrument

SnmpInstrument()
Method Detail

setAgentRef

public void setAgentRef(AgentSnmpGroup agentRef)

getSnmpInPkts

public java.lang.Long getSnmpInPkts()
                             throws AgentSnmpException
Handles the SNMP Get Request for snmpInPkts

getSnmpOutPkts

public java.lang.Long getSnmpOutPkts()
                              throws AgentSnmpException
Handles the SNMP Get Request for snmpOutPkts

getSnmpInBadVersions

public java.lang.Long getSnmpInBadVersions()
                                    throws AgentSnmpException
Handles the SNMP Get Request for snmpInBadVersions

getSnmpInBadCommunityNames

public java.lang.Long getSnmpInBadCommunityNames()
                                          throws AgentSnmpException
Handles the SNMP Get Request for snmpInBadCommunityNames
Specified by:
getSnmpInBadCommunityNames in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
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
Description copied from interface: AuthenticationListener
Handles the SNMP Set Request for snmpInBadCommunityNames.
Specified by:
setSnmpInBadCommunityNames in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
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
Specified by:
getSnmpInBadCommunityUses in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
Returns:
The snmpInBadCommunityUses value Requested.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

setSnmpInBadCommunityUses

public void setSnmpInBadCommunityUses(java.lang.Long value)
Description copied from interface: AuthenticationListener
Handles the SNMP Set Request for snmpInBadCommunityUses.
Specified by:
setSnmpInBadCommunityUses in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
Parameters:
value - The snmpInBadCommunityUses value to be set.
Throws:
AgentSnmpException - This Wraps all the Exceptions thrown while processing this Event.

getSnmpInASNParseErrs

public java.lang.Long getSnmpInASNParseErrs()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpInASNParseErrs

getSnmpInTooBigs

public java.lang.Long getSnmpInTooBigs()
                                throws AgentSnmpException
Handles the SNMP Get Request for snmpInTooBigs

getSnmpInNoSuchNames

public java.lang.Long getSnmpInNoSuchNames()
                                    throws AgentSnmpException
Handles the SNMP Get Request for snmpInNoSuchNames

getSnmpInBadValues

public java.lang.Long getSnmpInBadValues()
                                  throws AgentSnmpException
Handles the SNMP Get Request for snmpInBadValues

getSnmpInReadOnlys

public java.lang.Long getSnmpInReadOnlys()
                                  throws AgentSnmpException
Handles the SNMP Get Request for snmpInReadOnlys

getSnmpInGenErrs

public java.lang.Long getSnmpInGenErrs()
                                throws AgentSnmpException
Handles the SNMP Get Request for snmpInGenErrs

getSnmpInTotalReqVars

public java.lang.Long getSnmpInTotalReqVars()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpInTotalReqVars

getSnmpInTotalSetVars

public java.lang.Long getSnmpInTotalSetVars()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpInTotalSetVars

getSnmpInGetRequests

public java.lang.Long getSnmpInGetRequests()
                                    throws AgentSnmpException
Handles the SNMP Get Request for snmpInGetRequests

getSnmpInGetNexts

public java.lang.Long getSnmpInGetNexts()
                                 throws AgentSnmpException
Handles the SNMP Get Request for snmpInGetNexts

getSnmpInSetRequests

public java.lang.Long getSnmpInSetRequests()
                                    throws AgentSnmpException
Handles the SNMP Get Request for snmpInSetRequests

getSnmpInGetResponses

public java.lang.Long getSnmpInGetResponses()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpInGetResponses

getSnmpInTraps

public java.lang.Long getSnmpInTraps()
                              throws AgentSnmpException
Handles the SNMP Get Request for snmpInTraps

getSnmpOutTooBigs

public java.lang.Long getSnmpOutTooBigs()
                                 throws AgentSnmpException
Handles the SNMP Get Request for snmpOutTooBigs

getSnmpOutNoSuchNames

public java.lang.Long getSnmpOutNoSuchNames()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpOutNoSuchNames

getSnmpOutBadValues

public java.lang.Long getSnmpOutBadValues()
                                   throws AgentSnmpException
Handles the SNMP Get Request for snmpOutBadValues

getSnmpOutGenErrs

public java.lang.Long getSnmpOutGenErrs()
                                 throws AgentSnmpException
Handles the SNMP Get Request for snmpOutGenErrs

getSnmpOutGetRequests

public java.lang.Long getSnmpOutGetRequests()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpOutGetRequests

getSnmpOutGetNexts

public java.lang.Long getSnmpOutGetNexts()
                                  throws AgentSnmpException
Handles the SNMP Get Request for snmpOutGetNexts

getSnmpOutSetRequests

public java.lang.Long getSnmpOutSetRequests()
                                     throws AgentSnmpException
Handles the SNMP Get Request for snmpOutSetRequests

getSnmpOutGetResponses

public java.lang.Long getSnmpOutGetResponses()
                                      throws AgentSnmpException
Handles the SNMP Get Request for snmpOutGetResponses

getSnmpOutTraps

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

getSnmpEnableAuthenTraps

public java.lang.Integer getSnmpEnableAuthenTraps()
                                           throws AgentSnmpException
Handles the SNMP Get Request for snmpEnableAuthenTraps
Specified by:
getSnmpEnableAuthenTraps in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
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 snmpEnableAuthenTraps
Specified by:
setSnmpEnableAuthenTraps in interface AuthenticationListener
Parameters:
SnmpVar -  
Throws:
AgentSnmpException - on error

setSnmpOutTraps

public void setSnmpOutTraps(java.lang.Long snmpOutTraps)
Handles the SNMP Set Request for snmpOutTraps
Specified by:
setSnmpOutTraps in interface AuthenticationListener
Parameters:
longint -  

getSnmpSilentDrops

public java.lang.Long getSnmpSilentDrops()
                                  throws AgentSnmpException
Handles the SNMP Get Request for snmpSilentDrops
Specified by:
getSnmpSilentDrops in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
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
Specified by:
setSnmpSilentDrops in interface AuthenticationListener
Parameters:
Long -  

getSnmpProxyDrops

public java.lang.Long getSnmpProxyDrops()
                                 throws AgentSnmpException
Handles the SNMP Get Request for snmpProxyDrops
Specified by:
getSnmpProxyDrops in interface AuthenticationListener
Tags copied from interface: AuthenticationListener
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
Specified by:
setSnmpProxyDrops in interface AuthenticationListener
Parameters:
Long -