Class AssociationHandle.ActorHandleEventListener

java.lang.Object
org.apache.pekko.remote.transport.AssociationHandle.ActorHandleEventListener
All Implemented Interfaces:
Serializable, AssociationHandle.HandleEventListener, scala.Equals, scala.Product
Enclosing interface:
AssociationHandle

public static final class AssociationHandle.ActorHandleEventListener extends Object implements AssociationHandle.HandleEventListener, scala.Product, Serializable
Class to convert ordinary pekko.actor.ActorRef instances to a HandleEventListener. The adapter will forward event objects as messages to the provided ActorRef. param: actor
See Also:
  • Constructor Details

    • ActorHandleEventListener

      public ActorHandleEventListener(ActorRef actor)
  • Method Details

    • actor

      public ActorRef actor()
    • notify

      public void notify(AssociationHandle.HandleEvent ev)
      Description copied from interface: AssociationHandle.HandleEventListener
      Called by the transport to notify the listener about a HandleEvent
      Specified by:
      notify in interface AssociationHandle.HandleEventListener
      Parameters:
      ev - The HandleEvent of the handle
    • copy

    • copy$default$1

      public ActorRef copy$default$1()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object