Class Receptionist.Subscribe$

  • Enclosing class:
    Receptionist

    public static class Receptionist.Subscribe$
    extends java.lang.Object
    Subscribe message. The given actor will subscribe to service updates when this command is sent to the Receptionist.ref. When the set of instances registered for the given key changes the subscriber will be sent a Receptionist.Listing with the new set of instances for that service.

    The subscription will be acknowledged by sending out a first Receptionist.Listing. The subscription automatically ends with the termination of the subscriber.