Package com.snmp4j.smi
Interface SmiObjectFilter<S extends SmiObject>
public interface SmiObjectFilter<S extends SmiObject>
The SmiObjectFilter can be used to filter
SmiObjects according to self defined
criteria.- Since:
- 1.3.3 (Pro Edition only)
- Version:
- 1.3.3
- Author:
- Frank Fock
-
Method Summary
Modifier and TypeMethodDescriptionbooleanpassesFilter(SmiType smiType) Determines if the givenSmiTypegenerally passes this filter.booleanpassesFilter(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:
trueif smiObject passes the filter orfalseotherwise.
-
passesFilter
Determines if the givenSmiTypegenerally passes this filter. This method is called for performance optimization beforepassesFilter(SmiObject).- Parameters:
smiType- the SMI object type.- Returns:
trueif smiObjects of smiType passes the filter orfalseotherwise.
-