public class IpCidrRouteTable extends SnmpTable<IpCidrRouteTableEntry>
IpCidrRouteTable uses a SnmpSession to collect the ipRouteTable entries It implements the SnmpHandler to receive notifications when a reply is received/error occurs in the SnmpSession used to send requests/receive replies.
GEN_ERR, NO_ERR, NO_SUCH_NAME_ERR, TOO_BIG_ERR
Constructor and Description |
---|
IpCidrRouteTable(InetAddress address)
Constructs an InetCidrRouteTable object that is used to collect
the address elements from the remote agent.
|
Modifier and Type | Method and Description |
---|---|
protected IpCidrRouteTableEntry |
createTableEntry(SnmpObjId base,
SnmpInstId inst,
Object val)
createTableEntry
|
add, addAll, clear, contains, containsAll, getEntries, isEmpty, iterator, remove, removeAll, reportGenErr, reportNoSuchNameErr, retainAll, size, storeResult, toArray, toArray
buildNextPdu, isFinished, setFailed, setMaxRepetitions, setTimedOut
failed, getCollectionTracker, getParent, reportTooBigErr, setFinished, setParent, timedOut
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public IpCidrRouteTable(InetAddress address)
Constructs an InetCidrRouteTable object that is used to collect the address elements from the remote agent. Once all the elements are collected, or there is an error in the collection the signaler object is notified to inform other threads.
session
- The session with the remote agent.signaler
- The object to notify waiters.InetCidrRouteTableEntry
protected IpCidrRouteTableEntry createTableEntry(SnmpObjId base, SnmpInstId inst, Object val)
SnmpTable
createTableEntry
createTableEntry
in class SnmpTable<IpCidrRouteTableEntry>
base
- a SnmpObjId
object.inst
- a SnmpInstId
object.val
- a Object
object.Copyright © 2015. All rights reserved.