public class SubjectFilter extends MessageTypeFilter
Constructor and Description |
---|
SubjectFilter() |
SubjectFilter(java.util.Collection<MessageType> types,
OID oid)
Match subject messages by message type and OID, and target messages by message type and target OID.
|
SubjectFilter(OID oid)
Match subject messages by OID and target messages by target OID.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matchRemaining(Message message)
True if
message is a SubjectMessage with matching
OID, or if message is a TargetMessage with matching
target OID. |
java.lang.String |
toString() |
protected java.lang.String |
toStringInternal() |
addType, getMessageTypes, matchMessageType, setTypes
applyFilterUpdate, applyFilterUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyFilterUpdate
public SubjectFilter()
public SubjectFilter(OID oid)
public SubjectFilter(java.util.Collection<MessageType> types, OID oid)
public boolean matchRemaining(Message message)
message
is a SubjectMessage
with matching
OID, or if message
is a TargetMessage
with matching
target 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