atavism.msgsys
Class TargetFilter
java.lang.Object
  
atavism.msgsys.Filter
      
atavism.msgsys.MessageTypeFilter
          
atavism.msgsys.TargetFilter
- All Implemented Interfaces: 
 - IFilter, IMessageTypeFilter
 
public class TargetFilter
- extends MessageTypeFilter
 
Match target messages by message type, target and subject OIDs.
| 
Constructor Summary | 
TargetFilter()
 
            | 
TargetFilter(java.util.Collection<MessageType> types,
             long targetOid,
             long subjectOid)
 
          Match target messages by message type, target and subject OIDs. | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
 
TargetFilter
public TargetFilter()
TargetFilter
public TargetFilter(java.util.Collection<MessageType> types,
                    long targetOid,
                    long subjectOid)
- Match target messages by message type, target and subject OIDs.
 
matchRemaining
public boolean matchRemaining(Message message)
- True if 
message is a TargetMessage with target OID
        matching the filter's target or subject OID.  True if
        message is a SubjectMessage with subject OID
        matching the filter's subject OID.
- Specified by:
 matchRemaining in interface IFilter- Overrides:
 matchRemaining in class MessageTypeFilter
 
 
 
toString
public java.lang.String toString()
- Overrides:
 toString in class MessageTypeFilter
 
 
toStringInternal
protected java.lang.String toStringInternal()
- Overrides:
 toStringInternal in class MessageTypeFilter