jadex.runtime
Class MessageEventFilter
java.lang.Object
jadex.runtime.ParameterElementFilter
jadex.runtime.MessageEventFilter
- All Implemented Interfaces:
- IFilter, Serializable
public class MessageEventFilter
- extends ParameterElementFilter
A message filter checks if an object matches
a message event.
- See Also:
- Serialized Form
Method Summary |
boolean |
filter(Object object)
Match an object against the filter. |
MessageEventFilter
public MessageEventFilter(String type)
- Create an event filter to match against message events.
- Parameters:
type
- The event type.
MessageEventFilter
public MessageEventFilter(String type,
String replyname)
- Create an event filter to match against message events.
- Parameters:
type
- The event type.replyname
- The event (instance) name.
filter
public boolean filter(Object object)
throws Exception
- Match an object against the filter.
- Specified by:
filter
in interface IFilter
- Overrides:
filter
in class ParameterElementFilter
- Parameters:
object
- The object.
- Returns:
- True, if the filter matches.
- Throws:
Exception
Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples. Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.