public interface SnmpAsyncWalker<V> extends SnmpWalker<V>, SnmpOperation<SnmpAsyncWalker<V>>
An asynchronous walker is an operation that when invoked, provides
a reference to a walker that can be used to retrieve rows from the
table. It's next()
method will throw a WouldBlockException
if an additional operation is required to get the next row (or to
determine that the end of table has been reached). On receipt of this
exception, the caller should then invoke the walker (as an operation) to
continue.
Modifier and Type | Method and Description |
---|---|
SnmpResponse<V> |
next()
Gets the next response from this walker.
|
invoke, invoke
SnmpResponse<V> next() throws WouldBlockException
next
in interface SnmpWalker<V>
null
to indicate that the end of the
subject table has been reached.WouldBlockException
- if another response is not available because
it has not yet been retrieved from the remote agentCopyright © 2012–2015. All rights reserved.