public interface IEventbase extends IElement
Modifier and Type | Method and Description |
---|---|
IInternalEvent |
createInternalEvent(java.lang.String type)
Create a new intenal event.
|
IMessageEvent |
createMessageEvent(java.lang.String type)
Create a new message event.
|
IMessageEvent |
createReply(IMessageEvent event,
java.lang.String msgeventtype)
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.
|
getModelElement
IFuture<java.lang.Void> sendMessage(IMessageEvent me)
me
- The message event.void dispatchInternalEvent(IInternalEvent event)
event
- The event.IMessageEvent createMessageEvent(java.lang.String type)
IMessageEvent createReply(IMessageEvent event, java.lang.String msgeventtype)
event
- The received message event.msgeventtype
- The reply message event type.IInternalEvent createInternalEvent(java.lang.String type)