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.

@FunctionalInterface public static interface Cascade.Stage.Actor.ConsumerScript<I>
Actor Behavior.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInput(I input)
    This method will be invoked by the enclosing actor in order to process all incoming messages.
  • Method Details

    • onInput

      void onInput(I input) throws Throwable
      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.