|
Jadex 0.96-beta1 | ||||||||
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
public abstract class 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 |
getRawValue(String name)
Get the value for a parameter, or the values for a parameter set from a native message. |
Object |
getValue(String name,
jadex.runtime.impl.RCapability scope)
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 |
Methods inherited from interface jadex.adapter.IMessageAdapter |
---|
getId |
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 Object getValue(String name, jadex.runtime.impl.RCapability scope)
getValue
in interface IMessageAdapter
getValue
in class AbstractMessageAdapter
public abstract Object getRawValue(String name)
|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.