Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Chapter 20. Developing SNMP Managers With the Java Dynamic Management Kit [ Next ]

Polling

The SNMP manager API provides a polling capability through the SnmpPollRequest class. The SnmpPollRequest class extends the SnmpRequest class. The polling operation is stopped if an error of any type is encountered.

For SnmpGet and SnmpGetNext operations, each polling cycle is started with the original SnmpVarbindList specified. The SnmpWalk operation is done on the response SnmpVarbindList until the first list meets the specified condition with testOid.

You must explicitly cancel the poll operation to terminate polling.


[ Previous ][ Home ][ Next ]
SNMP Traps[ Up ]Supplementary Information