public class TargetFilter extends MessageTypeFilter
Constructor and Description |
---|
TargetFilter() |
TargetFilter(java.util.Collection<MessageType> types,
long targetOid,
long subjectOid)
Match target messages by message type, target and subject OIDs.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matchRemaining(Message message)
True if
message is a TargetMessage with target OID
matching the filter's target or subject OID. |
java.lang.String |
toString() |
protected java.lang.String |
toStringInternal() |
addType, getMessageTypes, matchMessageType, setTypes
applyFilterUpdate, applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyFilterUpdate, getReceiveFilterTable, getResponderReceiveFilterTable, getResponderSendFilterTable, getSendFilterTable
public TargetFilter()
public TargetFilter(java.util.Collection<MessageType> types, long targetOid, long subjectOid)
public boolean matchRemaining(Message message)
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.matchRemaining
in interface IFilter
matchRemaining
in class MessageTypeFilter
public java.lang.String toString()
toString
in class MessageTypeFilter
protected java.lang.String toStringInternal()
toStringInternal
in class MessageTypeFilter