public class SubObjectFilter extends PerceptionFilter implements INamespaceFilter
PerceptionFilter.IntHolder, PerceptionFilter.SubjectInfo, PerceptionFilter.TypedSubject
FIELD_SUBJECTS, FIELD_TARGETS
Constructor and Description |
---|
SubObjectFilter() |
SubObjectFilter(java.util.Collection<Namespace> namespaces) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Namespace> |
getNamespaces() |
boolean |
matchNamespace(Message message) |
protected boolean |
matchPerception(Message message) |
boolean |
matchRemaining(Message message)
True if the message matches filter criteria.
|
void |
setNamespaces(java.util.Collection<Namespace> namespaces) |
addSubject, addSubjectIfMissing, addTarget, addType, addUpdateTrigger, applyFilterUpdate, getMatchAllSubjects, getMatchSubjects, getMessageTypes, getSubjectObjectTypes, hasSubject, hasTarget, marshalObject, matchMessageType, removeSubject, removeTarget, setMatchAllSubjects, setMatchSubjects, setSubjectObjectTypes, setTypes, toString, toStringInternal, unmarshalObject
applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addType, getMessageTypes, setTypes
applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable, matchMessageType
public SubObjectFilter()
public SubObjectFilter(java.util.Collection<Namespace> namespaces)
public java.util.Collection<Namespace> getNamespaces()
getNamespaces
in interface INamespaceFilter
public void setNamespaces(java.util.Collection<Namespace> namespaces)
setNamespaces
in interface INamespaceFilter
public boolean matchNamespace(Message message)
public boolean matchRemaining(Message message)
PerceptionFilter
Matches TargetMessage target OID in the filter's target set.
Matches SubjectMessage subject OID in the filter's target or subject set.
Matches PerceptionMessage target OIDs in the filter's target set.
matchRemaining
in interface IFilter
matchRemaining
in class PerceptionFilter
protected boolean matchPerception(Message message)