public class Props$
extends java.lang.Object
implements scala.Serializable
Behavior
so that it can become an Actor.Modifier and Type | Field and Description |
---|---|
static Props$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Props$() |
Modifier and Type | Method and Description |
---|---|
<T> Props<T> |
apply(scala.Function0<Behavior<T>> block)
Create a Props instance from a block of code that creates a
Behavior . |
<T> Props<T> |
apply(akka.actor.Props p)
INTERNAL API.
|
<T> Props<T> |
empty()
Props for a Behavior that just ignores all messages.
|
<T> akka.actor.Props |
untyped(Props<T> p)
INTERNAL API.
|
public static final Props$ MODULE$
public <T> Props<T> apply(scala.Function0<Behavior<T>> block)
Behavior
.
FIXME: investigate the pros and cons of making this take an explicit function instead of a by-name argument
block
- (undocumented)public <T> Props<T> empty()
public <T> akka.actor.Props untyped(Props<T> p)
p
- (undocumented)public <T> Props<T> apply(akka.actor.Props p)
p
- (undocumented)