Interface IEventbase

  • All Superinterfaces:
    IElement
    All Known Implementing Classes:
    REventbase

    public interface IEventbase
    extends IElement
    Interface for an event base.
    • 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.