Interface MailboxDefaultAction
-
@Internal public interface MailboxDefaultAction
Interface for the default action that is repeatedly invoked in the mailbox-loop.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
MailboxDefaultAction.Controller
This controller is a feedback interface for the default action to interact with the mailbox execution.static interface
MailboxDefaultAction.Suspension
Represents the suspended state of aMailboxDefaultAction
, ready to resume.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
runDefaultAction(MailboxDefaultAction.Controller controller)
This method implements the default action of the mailbox loop (e.g. processing one event from the input).
-
-
-
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.
-
-