object Register

Register message. Associate the given akka.actor.typed.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 Registered message to the given replyTo actor if there is one.

Source
Receptionist.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Register
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[T](key: ServiceKey[T], service: ActorRef[T], replyTo: [Registered]): Command

    Create a Register with an actor that will get an ack that the service was registered

  2. def apply[T](key: ServiceKey[T], service: ActorRef[T]): Command

    Create a Register without Ack that the service was registered