Interface MailboxDefaultAction


  • @Internal
    public interface MailboxDefaultAction
    Interface for the default action that is repeatedly invoked in the mailbox-loop.
    • Method Detail

      • runDefaultAction

        void runDefaultAction​(MailboxDefaultAction.Controller controller)
                       throws Exception
        This method implements the default action of the mailbox loop (e.g. processing one event from the input). Implementations should (in general) be non-blocking.
        Parameters:
        controller - controller object for collaborative interaction between the default action and the mailbox loop.
        Throws:
        Exception - on any problems in the action.