Package akka.actor.typed.internal
Class BehaviorImpl$
- java.lang.Object
-
- akka.actor.typed.internal.BehaviorImpl$
-
public class BehaviorImpl$ extends java.lang.Object
Similar toReceiveBehavior
howeveronMessage
does not accept context. We implement it separately in order to be able to avoid wrapping each function in another function which drops the context parameter.
-
-
Field Summary
Fields Modifier and Type Field Description static BehaviorImpl$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description BehaviorImpl$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> BehaviorImpl.ContextAs<T>
ContextAs(TypedActorContext<T> ctx)
<O,I>
Behavior<O>intercept(BehaviorInterceptor<O,I> interceptor, Behavior<I> behavior)
<O,I>
Behavior<O>widened(Behavior<I> behavior, scala.PartialFunction<O,I> matcher)
-
-
-
Field Detail
-
MODULE$
public static final BehaviorImpl$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
ContextAs
public <T> BehaviorImpl.ContextAs<T> ContextAs(TypedActorContext<T> ctx)
-
widened
public <O,I> Behavior<O> widened(Behavior<I> behavior, scala.PartialFunction<O,I> matcher)
-
intercept
public <O,I> Behavior<O> intercept(BehaviorInterceptor<O,I> interceptor, Behavior<I> behavior)
-
-