|
|||||||||
| 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.SnmpEngineRequestHandler
public class SnmpEngineRequestHandler
Handles all requests under snmpEngine group
| Field Summary | |
|---|---|
SnmpAgent |
agentName
The Agent Reference. |
(package private) java.util.Hashtable |
atomicTable
|
(package private) SnmpEngineInstrument |
instrument
|
(package private) static int |
SNMPENGINEBOOTS
|
(package private) static int |
SNMPENGINEID
|
(package private) static int |
SNMPENGINEMAXMESSAGESIZE
|
(package private) static int |
SNMPENGINETIME
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
instrumentHandler, listener, tableListener, writeEachTime |
| Constructor Summary | |
|---|---|
SnmpEngineRequestHandler(SnmpAgent agentRef)
Constructor with the SnmpAgent Reference. |
|
| Method Summary | |
|---|---|
int[] |
getOidRep()
Retrives the integer representation of OID |
static int[] |
getSnmpEngineOidRep()
Method to get the SnmpEngineGroup OID as a int[] representation |
protected int[] |
getSubidList()
Gets the subid list of the oid. |
protected void |
processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Method handling the GetNextRequests made on this Group. |
protected void |
processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Method handling the GetRequests made on this Group. |
protected void |
processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
Method handling the SetRequests made on this Group. |
| 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 SNMPENGINEID
static final int SNMPENGINEBOOTS
static final int SNMPENGINETIME
static final int SNMPENGINEMAXMESSAGESIZE
public SnmpAgent agentName
java.util.Hashtable atomicTable
SnmpEngineInstrument instrument
| Constructor Detail |
|---|
public SnmpEngineRequestHandler(SnmpAgent agentRef)
agentRef - the SnmpAgent Reference.| Method Detail |
|---|
public static int[] getSnmpEngineOidRep()
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
processGetRequest in class SimpleRequestHandlervarb - the SnmpVarBind of the Request.node - the AgentNode associated with the Request.pe - The VarBindRequestEvent created for this request.
AgentSnmpException - This wraps all the Exceptions thrown while
processing this event.
protected void processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
processSetRequest in class SimpleRequestHandlervarb - the SnmpVarBind of the Request.node - the AgentNode associated with the Request.pe - The VarBindRequestEvent created for this request.
AgentSnmpException - This wraps all the Exceptions thrown while
processing this event.
protected void processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
processGetNextRequest in class SimpleRequestHandlervarb - the SnmpVarBind of the Request.node - the AgentNode associated with the request.pe - The VarBindRequestEvent created for this request.
AgentSnmpException - This wraps all the Exceptions thrown while
processing this event.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||