Package com.snmp4j.smi
Interface SmiObjectFilter<S extends SmiObject>
public interface SmiObjectFilter<S extends SmiObject>
The SmiObjectFilter can be used to filter
SmiObject
s according to self defined
criteria.- Since:
- 1.3.3 (Pro Edition only)
- Version:
- 1.3.3
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionboolean
passesFilter(SmiType smiType)
Determines if the givenSmiType
generally passes this filter.boolean
passesFilter(S smiObject)
Determines if the supplied smiObject passes the filter or not.
-
Method Details
-
passesFilter
Determines if the supplied smiObject passes the filter or not.- Parameters:
smiObject
- the smiObject to check.- Returns:
true
if smiObject passes the filter orfalse
otherwise.
-
passesFilter
Determines if the givenSmiType
generally passes this filter. This method is called for performance optimization beforepassesFilter(SmiObject)
.- Parameters:
smiType
- the SMI object type.- Returns:
true
if smiObjects of smiType passes the filter orfalse
otherwise.
-