|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.upv.dsic.gti_ia.core.MessageFilter
public class MessageFilter
Class used to represent a filter for messages. By using this filter the user will be able to process only those messages they desire.
| Constructor Summary | |
|---|---|
MessageFilter(String expr)
Creates a filter tree from the given expression. |
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a replica of this object by calling object.clone() of itself. |
boolean |
compareHeaders(ACLMessage msg)
The evaluation method. |
String |
getExpression()
Gets The expression for which this object can create the filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MessageFilter(String expr)
expr - A String containing the expression.| Method Detail |
|---|
public Object clone()
clone in class Objectpublic boolean compareHeaders(ACLMessage msg)
msg - The message to compare.
public String getExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||