public class MessageConversationFilter extends java.lang.Object implements IFilter<IMessageAdapter>
Modifier and Type | Field and Description |
---|---|
protected IMessageAdapter |
adapter
The initial conversation message.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
message
The message.
|
protected MessageType |
messagetype
The message type.
|
Constructor and Description |
---|
MessageConversationFilter(IMessageAdapter adapter)
Create a new message conversation filter.
|
MessageConversationFilter(java.util.Map<java.lang.String,java.lang.Object> message,
MessageType messagetype)
Create a new message conversation filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
filter(IMessageAdapter reply)
Test if an object passes the filter.
|
protected IMessageAdapter adapter
protected java.util.Map<java.lang.String,java.lang.Object> message
protected MessageType messagetype
public MessageConversationFilter(IMessageAdapter adapter)
public MessageConversationFilter(java.util.Map<java.lang.String,java.lang.Object> message, MessageType messagetype)
public boolean filter(IMessageAdapter reply)
filter
in interface IFilter<IMessageAdapter>