Interface RemotedActor

All Known Implementing Classes:
AbstractKrouter, HotColdFailoverKrouter, HotHotFailoverKrouter, Krouter, RoundRobinKrouter, SimpleKrouter, SingleActiveServiceKrouter

public interface RemotedActor
optional interface implementing some notification callbacks related to remoting.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    hasBeenPublished(String connectionIdentifier)
     
    void
    hasBeenUnpublished(String connectionIdentifier)
    notification method called once an actor has been unpublished.
  • Method Details

    • hasBeenUnpublished

      void hasBeenUnpublished(String connectionIdentifier)
      notification method called once an actor has been unpublished. E.g. in case of a ClientSession role actor, this will be called once the client disconnects or times out
      Parameters:
      connectionIdentifier -
    • hasBeenPublished

      default void hasBeenPublished(String connectionIdentifier)