Atavism Version 2018.1AGIS API

atavism.server.messages
Class SubObjectFilter

java.lang.Object
  extended by atavism.msgsys.Filter
      extended by atavism.server.messages.PerceptionFilter
          extended by atavism.server.messages.SubObjectFilter
All Implemented Interfaces:
IFilter, IMessageTypeFilter, Marshallable, INamespaceFilter

public class SubObjectFilter
extends PerceptionFilter
implements INamespaceFilter


Nested Class Summary
 
Nested classes/interfaces inherited from class atavism.server.messages.PerceptionFilter
PerceptionFilter.IntHolder, PerceptionFilter.SubjectInfo, PerceptionFilter.TypedSubject
 
Field Summary
 
Fields inherited from class atavism.server.messages.PerceptionFilter
FIELD_SUBJECTS, FIELD_TARGETS
 
Constructor Summary
SubObjectFilter()
           
SubObjectFilter(java.util.Collection<Namespace> namespaces)
           
 
Method Summary
 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)
           
 
Methods inherited from class atavism.server.messages.PerceptionFilter
addSubject, addSubjectIfMissing, addTarget, addType, addUpdateTrigger, applyFilterUpdate, getMatchAllSubjects, getMatchSubjects, getMessageTypes, getSubjectObjectTypes, hasSubject, hasTarget, marshalObject, matchMessageType, removeSubject, removeTarget, setMatchAllSubjects, setMatchSubjects, setSubjectObjectTypes, setTypes, toString, toStringInternal, unmarshalObject
 
Methods inherited from class atavism.msgsys.Filter
applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface atavism.msgsys.IMessageTypeFilter
addType, getMessageTypes, setTypes
 
Methods inherited from interface atavism.msgsys.IFilter
applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable, matchMessageType
 

Constructor Detail

SubObjectFilter

public SubObjectFilter()

SubObjectFilter

public SubObjectFilter(java.util.Collection<Namespace> namespaces)
Method Detail

getNamespaces

public java.util.Collection<Namespace> getNamespaces()
Specified by:
getNamespaces in interface INamespaceFilter

setNamespaces

public void setNamespaces(java.util.Collection<Namespace> namespaces)
Specified by:
setNamespaces in interface INamespaceFilter

matchNamespace

public boolean matchNamespace(Message message)

matchRemaining

public boolean matchRemaining(Message message)
Description copied from class: PerceptionFilter
True if the message matches filter criteria.

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.

Specified by:
matchRemaining in interface IFilter
Overrides:
matchRemaining in class PerceptionFilter

matchPerception

protected boolean matchPerception(Message message)


Copyright © 2018 Dragonsan Studios Sp. z o.o.