public static final class Receptionist.Register<T> extends java.lang.Object implements Receptionist.Command, scala.Product, scala.Serializable
ActorRef
with the given Receptionist.ServiceKey
. Multiple
registrations can be made for the same key. Unregistration is implied by
the end of the referenced Actor’s lifecycle.Constructor and Description |
---|
Register(Receptionist.ServiceKey<T> key,
ActorRef<T> address,
ActorRef<Receptionist.Registered<T>> replyTo) |
Modifier and Type | Method and Description |
---|---|
ActorRef<T> |
address() |
Receptionist.ServiceKey<T> |
key() |
ActorRef<Receptionist.Registered<T>> |
replyTo() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Register(Receptionist.ServiceKey<T> key, ActorRef<T> address, ActorRef<Receptionist.Registered<T>> replyTo)
public Receptionist.ServiceKey<T> key()
public ActorRef<Receptionist.Registered<T>> replyTo()