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​(java.lang.String connectionIdentifier)  
    void hasBeenUnpublished​(java.lang.String connectionIdentifier)
    notification method called once an actor has been unpublished.
  • Method Details

    • hasBeenUnpublished

      void hasBeenUnpublished​(java.lang.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​(java.lang.String connectionIdentifier)