Package jadex.bdiv3x.runtime
Interface IEventbase
-
- All Superinterfaces:
IElement
- All Known Implementing Classes:
REventbase
public interface IEventbase extends IElement
Interface for an event base.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IInternalEvent
createInternalEvent(java.lang.String type)
Create a new intenal event.<T> IMessageEvent<T>
createMessageEvent(java.lang.String type)
Create a new message event.<T> IMessageEvent<T>
createReply(IMessageEvent<T> event, java.lang.String type)
Create a reply to a message event.void
dispatchInternalEvent(IInternalEvent event)
Dispatch an event.IFuture<java.lang.Void>
sendMessage(IMessageEvent<?> me)
Send a message after some delay.-
Methods inherited from interface jadex.bdiv3x.runtime.IElement
getCount, getId, getModelElement
-
-
-
-
Method Detail
-
sendMessage
IFuture<java.lang.Void> sendMessage(IMessageEvent<?> me)
Send a message after some delay.- Parameters:
me
- The message event.- Returns:
- The filter to wait for an answer.
-
dispatchInternalEvent
void dispatchInternalEvent(IInternalEvent event)
Dispatch an event.- Parameters:
event
- The event.
-
createMessageEvent
<T> IMessageEvent<T> createMessageEvent(java.lang.String type)
Create a new message event.- Returns:
- The new message event.
-
createReply
<T> IMessageEvent<T> createReply(IMessageEvent<T> event, java.lang.String type)
Create a reply to a message event.- Parameters:
event
- The received message event.msgeventtype
- The reply message event type.- Returns:
- The reply event.
-
createInternalEvent
IInternalEvent createInternalEvent(java.lang.String type)
Create a new intenal event.- Returns:
- The new intenal event.
-
-