|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.msgsys.FilterTable
atavism.msgsys.DefaultFilterTable
public class DefaultFilterTable
Message matching optimized around message type. Supports any
Filter
sub-class.
Used internally by MessageAgent
when a Filter's
filter table is 'null'.
Constructor Summary | |
---|---|
DefaultFilterTable()
|
Method Summary | |
---|---|
void |
addFilter(Subscription sub,
java.lang.Object object)
Add subscription to filter table. |
int |
match(Message message,
java.util.Set<java.lang.Object> matches,
java.util.List<Subscription> triggers)
Match message against filters. |
void |
removeFilter(Subscription sub,
java.lang.Object object)
Remove subscription from filter table. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultFilterTable()
Method Detail |
---|
public void addFilter(Subscription sub, java.lang.Object object)
FilterTable
addFilter
in class FilterTable
public void removeFilter(Subscription sub, java.lang.Object object)
FilterTable
removeFilter
in class FilterTable
public int match(Message message, java.util.Set<java.lang.Object> matches, java.util.List<Subscription> triggers)
FilterTable
match
in class FilterTable
message
- Message to match.matches
- Will be populated with subscription's associated
objects.triggers
- Will be populated with subscriptions whose
triggers should be run.
matches
.
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |