|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adventnet.snmp.snmp2.agent.SimpleRequestHandler
com.adventnet.snmp.snmp2.agent.SnmpRequestHandler
class SnmpRequestHandler
Handles all requests under snmp group
| Field Summary | |
|---|---|
(package private) SnmpInstrument |
instrument
|
(package private) static int |
SNMPENABLEAUTHENTRAPS
|
(package private) static int |
SNMPINASNPARSEERRS
|
(package private) static int |
SNMPINBADCOMMUNITYNAMES
|
(package private) static int |
SNMPINBADCOMMUNITYUSES
|
(package private) static int |
SNMPINBADVALUES
|
(package private) static int |
SNMPINBADVERSIONS
|
(package private) static int |
SNMPINGENERRS
|
(package private) static int |
SNMPINGETNEXTS
|
(package private) static int |
SNMPINGETREQUESTS
|
(package private) static int |
SNMPINGETRESPONSES
|
(package private) static int |
SNMPINNOSUCHNAMES
|
(package private) static int |
SNMPINPKTS
|
(package private) static int |
SNMPINREADONLYS
|
(package private) static int |
SNMPINSETREQUESTS
|
(package private) static int |
SNMPINTOOBIGS
|
(package private) static int |
SNMPINTOTALREQVARS
|
(package private) static int |
SNMPINTOTALSETVARS
|
(package private) static int |
SNMPINTRAPS
|
(package private) int[] |
snmpOidRep
|
(package private) static int |
SNMPOUTBADVALUES
|
(package private) static int |
SNMPOUTGENERRS
|
(package private) static int |
SNMPOUTGETNEXTS
|
(package private) static int |
SNMPOUTGETREQUESTS
|
(package private) static int |
SNMPOUTGETRESPONSES
|
(package private) static int |
SNMPOUTNOSUCHNAMES
|
(package private) static int |
SNMPOUTPKTS
|
(package private) static int |
SNMPOUTSETREQUESTS
|
(package private) static int |
SNMPOUTTOOBIGS
|
(package private) static int |
SNMPOUTTRAPS
|
(package private) static int |
SNMPPROXYDROPS
|
(package private) static int |
SNMPSILENTDROPS
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
instrumentHandler, listener, tableListener, writeEachTime |
| Constructor Summary | |
|---|---|
SnmpRequestHandler(AgentSnmpGroup agentRef)
|
|
| Method Summary | |
|---|---|
int[] |
getOidRep()
Retrives the integer representation of OID |
protected int[] |
getSubidList()
Gets the subid list of the oid. |
protected void |
processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the GetNext Request message which is received from PduRequestHandler. |
protected void |
processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the Get Request message which is received from PduRequestHandler. |
protected void |
processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Process the Set Request message which is received from PduRequestHandler. |
| Methods inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
addInstrumentHandler, addRegistrationListener, addTableListener, addUpdateListener, getInstrument, getMibVarHash, getNextRequest, getNextRequest, getObjectHash, getObjectTypeHash, getRequest, getTableListener, getUpdateListener, 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 |
| Field Detail |
|---|
static final int SNMPINPKTS
static final int SNMPOUTPKTS
static final int SNMPINBADVERSIONS
static final int SNMPINBADCOMMUNITYNAMES
static final int SNMPINBADCOMMUNITYUSES
static final int SNMPINASNPARSEERRS
static final int SNMPINTOOBIGS
static final int SNMPINNOSUCHNAMES
static final int SNMPINBADVALUES
static final int SNMPINREADONLYS
static final int SNMPINGENERRS
static final int SNMPINTOTALREQVARS
static final int SNMPINTOTALSETVARS
static final int SNMPINGETREQUESTS
static final int SNMPINGETNEXTS
static final int SNMPINSETREQUESTS
static final int SNMPINGETRESPONSES
static final int SNMPINTRAPS
static final int SNMPOUTTOOBIGS
static final int SNMPOUTNOSUCHNAMES
static final int SNMPOUTBADVALUES
static final int SNMPOUTGENERRS
static final int SNMPOUTGETREQUESTS
static final int SNMPOUTGETNEXTS
static final int SNMPOUTSETREQUESTS
static final int SNMPOUTGETRESPONSES
static final int SNMPOUTTRAPS
static final int SNMPENABLEAUTHENTRAPS
static final int SNMPSILENTDROPS
static final int SNMPPROXYDROPS
int[] snmpOidRep
SnmpInstrument instrument
| Constructor Detail |
|---|
public SnmpRequestHandler(AgentSnmpGroup agentRef)
| Method Detail |
|---|
public int[] getOidRep()
SimpleRequestHandler
getOidRep in class SimpleRequestHandlerprotected int[] getSubidList()
SimpleRequestHandler
getSubidList in class SimpleRequestHandler
protected void processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
SimpleRequestHandler
processGetRequest in class SimpleRequestHandlervarb - The received varbind .node - The node for which Get Request is to be done.pe - The VarBind Request Event created by this Get request.
AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.
protected void processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
SimpleRequestHandler
processSetRequest in class SimpleRequestHandlervarb - 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.
AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.
protected void processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
SimpleRequestHandler
processGetNextRequest in class SimpleRequestHandlervarb - 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.
AgentSnmpException - This wraps all the Exceptions thrown
while Processing the Event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||