View Javadoc

1   package net.sf.snmpadaptor4j.api;
2   
3   import java.util.SortedMap;
4   import net.sf.snmpadaptor4j.object.SnmpOid;
5   
6   /**
7    * Object representing the <b>M</b>anagement <b>I</b>nformation <b>B</b>ase (MIB) of SNMP daemon.
8    * @author <a href="http://fr.linkedin.com/in/jpminetti/">Jean-Philippe MINETTI</a>
9    */
10  public interface SnmpMib {
11  
12  	/**
13  	 * Finds a {@link AttributeAccessor} by its OID.
14  	 * @param oid OID of {@link AttributeAccessor} to find.
15  	 * @return {@link AttributeAccessor} found or <code>NULL</code> if not found.
16  	 */
17  	AttributeAccessor find (SnmpOid oid);
18  
19  	/**
20  	 * Finds the next {@link AttributeAccessor} from an OID
21  	 * @param oid OID not included in the research but from which it begins.
22  	 * @return {@link AttributeAccessor} found or <code>NULL</code> if not found.
23  	 */
24  	AttributeAccessor next (SnmpOid oid);
25  
26  	/**
27  	 * Finds the list of next {@link AttributeAccessor} from an OID
28  	 * @param oid OID not included in the research but from which it begins.
29  	 * @return List of {@link AttributeAccessor} found (never <code>NULL</code>).
30  	 */
31  	SortedMap<SnmpOid, AttributeAccessor> nextSet (SnmpOid oid);
32  
33  }