|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.adapter.AbstractMessageAdapter
jadex.adapter.fipa.FipaMessageAdapter
Generic implementation of the message adapter functionality, supporting FIPA messages. Only the getParameterOrSetValue() has to be implemented.
Constructor Summary | |
FipaMessageAdapter(IJadexAgent agent,
Object message)
Create a message adapter for the given message object. |
Method Summary | |
abstract Object |
getValue(String name)
Get the value for a parameter, or the values for a parameter set from a native message. |
boolean |
match(IMMessageEvent msgevent)
Match a message with a message event. |
Methods inherited from class jadex.adapter.AbstractMessageAdapter |
getMessage, prepareReceiving |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FipaMessageAdapter(IJadexAgent agent, Object message)
Method Detail |
public boolean match(IMMessageEvent msgevent)
match
in interface IMessageAdapter
match
in class AbstractMessageAdapter
msgevent
- The message event.
public abstract Object getValue(String name)
getValue
in interface IMessageAdapter
getValue
in class AbstractMessageAdapter
|
Jadex 0.941 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.