Class Receptionist.Register$

  • Enclosing class:
    Receptionist

    public static class Receptionist.Register$
    extends java.lang.Object
    Register message. Associate the given ActorRef with the given ServiceKey by sending this command to the Receptionist.ref.

    Multiple registrations can be made for the same key. De-registration is implied by the end of the referenced Actor’s lifecycle, but it can also be explicitly deregistered before termination.

    Registration will be acknowledged with the Receptionist.Registered message to the given replyTo actor if there is one.

    • Field Detail

      • MODULE$

        public static final Receptionist.Register$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • Register$

        public Register$()
    • Method Detail

      • apply

        public <T> Receptionist.Command apply​(ServiceKey<T> key,
                                              ActorRef<T> service)
        Create a Register without Ack that the service was registered
        Parameters:
        key - (undocumented)
        service - (undocumented)
        Returns:
        (undocumented)