public class ConversationFilter extends Object implements MessageFilter
| Constructor and Description |
|---|
ConversationFilter(Message origin)
a new filter that acts according to the conversationID of a message.
|
public ConversationFilter(Message origin)
origin - the message's ID which will be used to check
the acceptability of message.public boolean accept(Message m)
MessageFilteraccept in interface MessageFilterm - the message to test.true if and only if the message matches the requirement.
Fabien Michel, Olivier Gutknecht, Jacques Ferber - April 30 2015