Package org.apache.pekko.actor.typed.receptionist
package org.apache.pekko.actor.typed.receptionist
-
ClassDescriptionRegister and discover actors that implement a service with a protocol defined by a
ServiceKey.The set of commands accepted by a Receptionist.Remove association between the givenpekko.actor.typed.ActorRefand the givenServiceKey.Confirmation that the givenpekko.actor.typed.ActorRefno more associated with theServiceKeyin the local receptionist.Sent by the receptionist, available here for easier testingFindmessage.Current listing of all Actors that implement the protocol given by theServiceKey.Sent by the receptionist, available here for easier testingRegistermessage.Confirmation that the givenpekko.actor.typed.ActorRefhas been associated with theServiceKey.Sent by the receptionist, available here for easier testingSubscribemessage.A Receptionist is an entry point into an Actor hierarchy where select Actors publish their identity together with the protocols that they implement.Can be used inpekko.actor.setup.ActorSystemSetupwhen starting theActorSystemto replace the default implementation of theReceptionistextension.ServiceKey<T>A service key is an object that implements this trait for a given protocol T, meaning that it signifies that the type T is the entry point into the protocol spoken by that service (think of it as the set of first messages that a client could send).