public class Receptionist$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Receptionist$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
Receptionist$() |
Modifier and Type | Method and Description |
---|---|
Behavior<Receptionist.Command> |
behavior()
Initial behavior of a receptionist, used to create a new receptionist like in the following:
|
public static final Receptionist$ MODULE$
public Behavior<Receptionist.Command> behavior()
val receptionist: ActorRef[Receptionist.Command] = ctx.spawn(Props(Receptionist.behavior), "receptionist")