com.adventnet.snmp.snmp2.agent
Class SnmpRequestHandler
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.SnmpRequestHandler
- class SnmpRequestHandler
- extends SimpleRequestHandler
Handles all requests under
snmp group
| Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
addInstrumentHandler,
addRegistrationListener,
addTableListener,
addUpdateListener,
getInstrument,
getMibVarHash,
getNextRequest,
getObjectHash,
getObjectTypeHash,
getRequest,
getTableListener,
isWriteEachTime,
processGetNextRequest,
processGetRequest,
processSetRequest,
removeRegistrationListener,
removeUpdateListener,
setRequest,
setWriteEachTime,
writeIntoFile |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SNMPINPKTS
static final int SNMPINPKTS
SNMPOUTPKTS
static final int SNMPOUTPKTS
SNMPINBADVERSIONS
static final int SNMPINBADVERSIONS
SNMPINBADCOMMUNITYNAMES
static final int SNMPINBADCOMMUNITYNAMES
SNMPINBADCOMMUNITYUSES
static final int SNMPINBADCOMMUNITYUSES
SNMPINASNPARSEERRS
static final int SNMPINASNPARSEERRS
SNMPINTOOBIGS
static final int SNMPINTOOBIGS
SNMPINNOSUCHNAMES
static final int SNMPINNOSUCHNAMES
SNMPINBADVALUES
static final int SNMPINBADVALUES
SNMPINREADONLYS
static final int SNMPINREADONLYS
SNMPINGENERRS
static final int SNMPINGENERRS
SNMPINTOTALREQVARS
static final int SNMPINTOTALREQVARS
SNMPINTOTALSETVARS
static final int SNMPINTOTALSETVARS
SNMPINGETREQUESTS
static final int SNMPINGETREQUESTS
SNMPINGETNEXTS
static final int SNMPINGETNEXTS
SNMPINSETREQUESTS
static final int SNMPINSETREQUESTS
SNMPINGETRESPONSES
static final int SNMPINGETRESPONSES
SNMPINTRAPS
static final int SNMPINTRAPS
SNMPOUTTOOBIGS
static final int SNMPOUTTOOBIGS
SNMPOUTNOSUCHNAMES
static final int SNMPOUTNOSUCHNAMES
SNMPOUTBADVALUES
static final int SNMPOUTBADVALUES
SNMPOUTGENERRS
static final int SNMPOUTGENERRS
SNMPOUTGETREQUESTS
static final int SNMPOUTGETREQUESTS
SNMPOUTGETNEXTS
static final int SNMPOUTGETNEXTS
SNMPOUTSETREQUESTS
static final int SNMPOUTSETREQUESTS
SNMPOUTGETRESPONSES
static final int SNMPOUTGETRESPONSES
SNMPOUTTRAPS
static final int SNMPOUTTRAPS
SNMPENABLEAUTHENTRAPS
static final int SNMPENABLEAUTHENTRAPS
SNMPSILENTDROPS
static final int SNMPSILENTDROPS
SNMPPROXYDROPS
static final int SNMPPROXYDROPS
snmpOidRep
int[] snmpOidRep
instrument
SnmpInstrument instrument
SnmpRequestHandler
public SnmpRequestHandler(AgentSnmpGroup agentRef)
getOidRep
public int[] getOidRep()
- Description copied from class: SimpleRequestHandler
- Retrives the integer representation of OID
- Overrides:
- getOidRep in class SimpleRequestHandler
- Tags copied from class: SimpleRequestHandler
- Returns:
- the integer array of OID
getSubidList
protected int[] getSubidList()
- Description copied from class: SimpleRequestHandler
- Gets the subid list of the oid.
- Overrides:
- getSubidList in class SimpleRequestHandler
- Tags copied from class: SimpleRequestHandler
- Returns:
- the integer array of subid list
processGetRequest
protected void processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
- Description copied from class: SimpleRequestHandler
- Process the Get Request message which is received from PduRequestHandler.
- Overrides:
- processGetRequest in class SimpleRequestHandler
- Tags copied from class: SimpleRequestHandler
- Parameters:
varb - The received varbind .node - The node for which Get Request is to be done.pe - The VarBind Request Event created by this Get request.- Throws:
- AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.
processSetRequest
protected void processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
- Description copied from class: SimpleRequestHandler
- Process the Set Request message which is received from PduRequestHandler.
- Overrides:
- processSetRequest in class SimpleRequestHandler
- Tags copied from class: SimpleRequestHandler
- Parameters:
varb - The received varbind.node - The node for which Get Next Request is to be done.pe - The VarBind Request Event created by this GetNext request.- Throws:
- AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.
processGetNextRequest
protected void processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
- Description copied from class: SimpleRequestHandler
- Process the GetNext Request message which is received from PduRequestHandler.
- Overrides:
- processGetNextRequest in class SimpleRequestHandler
- Tags copied from class: SimpleRequestHandler
- Parameters:
varb - The received varbind.node - The node for which Get Next Request is to be done.pe - The VarBind Request Event created by this GetNext request.- Throws:
- AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.