org.opennms.netmgt.linkd.snmp
Class InetCidrRouteTable
java.lang.Object
org.opennms.netmgt.snmp.CollectionTracker
org.opennms.netmgt.snmp.AggregateTracker
org.opennms.netmgt.capsd.snmp.SnmpTable<InetCidrRouteTableEntry>
org.opennms.netmgt.linkd.snmp.InetCidrRouteTable
- All Implemented Interfaces:
- Iterable<InetCidrRouteTableEntry>, Collection<InetCidrRouteTableEntry>, Collectable
public class InetCidrRouteTable
- extends SnmpTable<InetCidrRouteTableEntry>
InetCidrRouteTable 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.
- Author:
- Antonio Russo
- See Also:
- RFC1213
|
Constructor Summary |
InetCidrRouteTable(InetAddress address)
Constructs an InetCidrRouteTable object that is used to collect
the address elements from the remote agent. |
| Methods inherited from class org.opennms.netmgt.capsd.snmp.SnmpTable |
add, addAll, clear, contains, containsAll, getEntries, isEmpty, iterator, remove, removeAll, reportGenErr, reportNoSuchNameErr, retainAll, size, storeResult, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InetCidrRouteTable
public InetCidrRouteTable(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.
- Parameters:
session - The session with the remote agent.signaler - The object to notify waiters.- See Also:
InetCidrRouteTableEntry
createTableEntry
protected InetCidrRouteTableEntry createTableEntry(SnmpObjId base,
SnmpInstId inst,
Object val)
- Description copied from class:
SnmpTable
createTableEntry
- Specified by:
createTableEntry in class SnmpTable<InetCidrRouteTableEntry>
- Parameters:
base - a SnmpObjId object.inst - a SnmpInstId object.val - a Object object.
- Returns:
- a T object.
log
protected final ThreadCategory log()
Copyright © 2011. All Rights Reserved.