|
|||||||||
| 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.usm.UsmStatsRequestHandler
public class UsmStatsRequestHandler
Handles all requests under usmStats group.
| Field Summary | |
|---|---|
SnmpAgent |
agentName
The Reference of the Snmp Agent instance. |
(package private) java.util.Hashtable |
atomicTable
|
(package private) UsmStatsInstrument |
instrument
|
(package private) static int |
USMSTATSDECRYPTIONERRORS
|
(package private) static int |
USMSTATSNOTINTIMEWINDOWS
|
(package private) static int |
USMSTATSUNKNOWNENGINEIDS
|
(package private) static int |
USMSTATSUNKNOWNUSERNAMES
|
(package private) static int |
USMSTATSUNSUPPORTEDSECLEVELS
|
(package private) static int |
USMSTATSWRONGDIGESTS
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
|---|
instrumentHandler, listener, tableListener |
| Constructor Summary | |
|---|---|
UsmStatsRequestHandler(SnmpAgent agentRef)
Constructor for UsmStatsRequestHandler with the agent reference details. |
|
| Method Summary | |
|---|---|
int[] |
getOidRep()
Retrives the integer representation of OID |
protected int[] |
getSubidList()
Gets the subid list of the oid. |
static int[] |
getUsmStatsOidRep()
Getter for the Usm Stats Oid Value. |
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 USMSTATSUNSUPPORTEDSECLEVELS
static final int USMSTATSNOTINTIMEWINDOWS
static final int USMSTATSUNKNOWNUSERNAMES
static final int USMSTATSUNKNOWNENGINEIDS
static final int USMSTATSWRONGDIGESTS
static final int USMSTATSDECRYPTIONERRORS
public SnmpAgent agentName
java.util.Hashtable atomicTable
UsmStatsInstrument instrument
| Constructor Detail |
|---|
public UsmStatsRequestHandler(SnmpAgent agentRef)
agentRef - The SnmpAgent reference.| Method Detail |
|---|
public static int[] getUsmStatsOidRep()
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 | ||||||||