|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.adventnet.snmp.snmp2.agent.SimpleRequestHandler
|
+--com.adventnet.snmp.snmp2.agent.SnmpAgentInfoRequestHandler
Handles all requests under snmpAgentInfo group
| Field Summary | |
SnmpAgent |
agentName
The SnmpAgent reference. |
(package private) java.util.Hashtable |
atomicTable
|
(package private) SnmpAgentInfoInstrument |
instrument
|
(package private) static int |
SNMPAGENTIPADDRESS
|
(package private) static int |
SNMPAGENTOPERSTATUS
|
(package private) static int |
SNMPAGENTPORTNUMER
|
(package private) static int |
SNMPAGENTUPTIME
|
(package private) static int |
SNMPAGENTVERSION
|
| Fields inherited from class com.adventnet.snmp.snmp2.agent.SimpleRequestHandler |
instrumentHandler,
listener,
tableListener,
writeEachTime |
| Constructor Summary | |
SnmpAgentInfoRequestHandler(SnmpAgent agentRef)
Constructor with the SnmpAgent Reference. |
|
| Method Summary | |
(package private) static void |
|
static java.util.Hashtable |
getMibVarHash()
Deprecated. - use getObjectHash() for getting the details of Sub-Ids Method to retrun the HashTable of MibVars. |
java.util.Hashtable |
getObjectHash()
Same as method getMibVarHash, but non-static.Duplicated to have backward compatibility Method to retrun the HashTable of AttributeName - SubId pairs |
int[] |
getOidRep()
Getter for the OID representation. |
static int[] |
getSnmpAgentInfoOidRep()
Method to get the SnmpAgentInfo OID as a int[] representation |
protected int[] |
getSubidList()
Getter for the SubId list in this Group. |
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,
getNextRequest,
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 |
| Field Detail |
static final int SNMPAGENTVERSION
static final int SNMPAGENTIPADDRESS
static final int SNMPAGENTPORTNUMER
static final int SNMPAGENTUPTIME
static final int SNMPAGENTOPERSTATUS
public SnmpAgent agentName
java.util.Hashtable atomicTable
SnmpAgentInfoInstrument instrument
| Constructor Detail |
public SnmpAgentInfoRequestHandler(SnmpAgent agentRef)
agentRef - the SnmpAgent Reference| Method Detail |
public static int[] getSnmpAgentInfoOidRep()
public int[] getOidRep()
protected int[] getSubidList()
static void()
public static java.util.Hashtable getMibVarHash()
public java.util.Hashtable getObjectHash()
protected void processGetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - the SnmpVarBind of the Request.node - the AgentNode associated with the Request.pe - The VarBindRequestEvent created for this request.
protected void processSetRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - the SnmpVarBind of the Request.node - the AgentNode associated with the Request.pe - The VarBindRequestEvent created for this request.
protected void processGetNextRequest(SnmpVarBind varb,
AgentNode node,
VarBindRequestEvent pe)
throws AgentSnmpException
varb - the SnmpVarBind of the Request.node - the AgentNode associated with the request.pe - The VarBindRequestEvent created for this request.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||