| 
 | Jadex 0.941 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjadex.adapter.AbstractMessageAdapter
Generic implementation of the message adapter functionality. Only the getValue() method has to be implemented.
| Constructor Summary | |
| AbstractMessageAdapter(Object message)Create a message adapter for the given message object. | |
| Method Summary | |
|  Object | getMessage()Get the platform message. | 
| abstract  Object | getValue(String name)Get the value for a parameter, or the values for a parameter set from the native message. | 
|  boolean | match(IMMessageEvent msgevent)Match a message with a message event. | 
| static void | prepareReceiving(jadex.runtime.impl.IRMessageEvent msgevent,
                 IMessageAdapter msg)Fill parameters of a message event from a native one. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public AbstractMessageAdapter(Object message)
| Method Detail | 
public boolean match(IMMessageEvent msgevent)
match in interface IMessageAdaptermsgevent - The message event.
public Object getMessage()
getMessage in interface IMessageAdapterpublic abstract Object getValue(String name)
getValue in interface IMessageAdapter
public static void prepareReceiving(jadex.runtime.impl.IRMessageEvent msgevent,
                                    IMessageAdapter msg)
| 
 | 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.