|
Jadex 0.96-beta1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMessageEvent
The interface for all message events (concrete and referenced).
Method Summary | |
---|---|
void |
addMessageEventListener(IMessageEventListener listener,
boolean async)
Add a message event listener. |
IMessageEvent |
createReply(String type)
Create a reply to this message event. |
IMessageEvent |
createReply(String type,
Object content)
Create a reply to this message event. |
Object |
getContent()
Get the content. |
IFilter |
getFilter()
Get the filter to wait for a reply. |
Object |
getMessage()
Get the native (platform specific) message object. |
void |
removeMessageEventListener(IMessageEventListener listener)
Remove a message event listener. |
void |
setContent(Object content)
Set the content. |
Methods inherited from interface jadex.runtime.IEvent |
---|
getType, isPostToAll, isRandomSelection |
Methods inherited from interface jadex.runtime.IParameterElement |
---|
getParameter, getParameters, getParameterSet, getParameterSets, hasParameter, hasParameterSet |
Methods inherited from interface jadex.runtime.IElement |
---|
getModelElement, getName |
Method Detail |
---|
Object getMessage()
Object getContent()
void setContent(Object content)
content
- The content.IMessageEvent createReply(String type)
type
- The reply message event type (defined in the ADF).
IMessageEvent createReply(String type, Object content)
type
- The reply message event type (defined in the ADF).content
- The message content.
IFilter getFilter()
void addMessageEventListener(IMessageEventListener listener, boolean async)
listener
- The message event listener.void removeMessageEventListener(IMessageEventListener listener)
listener
- The message event listener.
|
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.