Package com.mackenziehigh.cascade
Interface Cascade.Stage.Actor.ConsumerScript<I>
- Type Parameters:
I
- is the type of messages that the actor will consume.
- Enclosing interface:
- Cascade.Stage.Actor<I,
O>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Actor Behavior.
-
Method Summary
-
Method Details
-
onInput
This method will be invoked by the enclosing actor in order to process all incoming messages.- Parameters:
input
- is being processed by the actor using this script.- Throws:
Throwable
- or a sub-class thereof, at the discretion of the implementation.
-