|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterManagerInterface
Method Summary | |
---|---|
void |
addFilter(FilterInterface filter)
Add a filter to the end of a list and register it under a name |
EventInterface[] |
filterEvent(EventInterface evt)
Handles the event passing it through the chain of responsibility formed by the filters managed by this object. |
EventInterface[] |
filterEventList(EventInterface[] evt)
Handles the event list passing them through the chain of responsibility formed by the filters managed by this object. |
FilterInterface |
getFilterAt(int i)
|
FilterInterface |
getFilterByName(java.lang.String name)
|
FilterInterface[] |
getFilters()
|
void |
insertFilterAt(FilterInterface filter,
int i)
Insters a filter in the provided position in the filters stream |
void |
removeFilterAt(int i)
Remove the element at provided position from filters streams |
Method Detail |
---|
FilterInterface getFilterByName(java.lang.String name)
name
- is the unique name of the filter
FilterInterface[] getFilters()
void addFilter(FilterInterface filter)
filter
- is the filter to be inserted after all current filtersname
- is the name of the filterFilterInterface getFilterAt(int i)
i
- is the position of the filter to be returned
void insertFilterAt(FilterInterface filter, int i)
filter
- is the filter to be insertedi
- is the position to insert the filtervoid removeFilterAt(int i)
i
- is the position of the filter to be removedEventInterface[] filterEvent(EventInterface evt)
msg
- is the message to be routed through the filters
EventInterface[] filterEventList(EventInterface[] evt)
msg
- is the message to be routed through the filters
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |