Interface MailboxDefaultAction
-
@Internal public interface MailboxDefaultActionInterface for the default action that is repeatedly invoked in the mailbox-loop.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceMailboxDefaultAction.ControllerThis controller is a feedback interface for the default action to interact with the mailbox execution.static interfaceMailboxDefaultAction.SuspensionRepresents the suspended state of aMailboxDefaultAction, ready to resume.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrunDefaultAction(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.
-
-