org.powerscala.event

processor

package processor

Visibility
  1. Public
  2. All

Type Members

  1. class EitherProcessor[E, R] extends EventProcessor[E, Either[E, R], Either[E, R]]

    EitherProcessor takes in an event and allows each listener the option to modify and return via Left or respond with an alternate response with Right (immediately stops propagating and returns).

  2. trait EventProcessor[Event, Response, Result] extends Logging

  3. class EventToken extends AnyRef

  4. class InterceptProcessor[E] extends EventProcessor[E, Intercept, Intercept]

    InterceptProcessor gives each listener the ability to Stop or Continue the processing.

  5. class ListProcessor[E, R] extends EventProcessor[E, Option[R], List[R]]

    ListProcessor expects an Option[R] from each listener and builds a list from Some[R] responses.

  6. class ModifiableOptionProcessor[E] extends EventProcessor[E, Option[E], Option[E]]

    ModifiableProcessor takes in an event and allows each listener the option to modify and return

  7. class ModifiableProcessor[E] extends EventProcessor[E, E, E]

    ModifiableProcessor takes in a value and allows each listener the option to replace the value as it goes through the process finally returning the result.

  8. trait MultiTypedProcessor[V, R] extends AnyRef

  9. class OptionProcessor[E, R] extends EventProcessor[E, Option[R], Option[R]]

    OptionProcessor gives each listener the ability to return Option[R].

  10. case class ProcessorGroup[Event, Response, Result](processors: List[EventProcessor[Event, Response, Result]]) extends Product with Serializable

  11. class TokenProcessor extends EventProcessor[EventToken, Unit, Unit]

    TokenProcessor works similarly to UnitProcessor except there is no real "event" that is supplied so EventToken is provided.

  12. class UnitProcessor[E] extends EventProcessor[E, Unit, Unit]

    UnitProcessor takes in E and passes it to all listeners.

Value Members

  1. object EventProcessor

  2. object EventToken extends EventToken

Ungrouped