Class Transport.ActorAssociationEventListener

java.lang.Object
org.apache.pekko.remote.transport.Transport.ActorAssociationEventListener
All Implemented Interfaces:
Serializable, Transport.AssociationEventListener, scala.Equals, scala.Product
Enclosing interface:
Transport

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

    • ActorAssociationEventListener

      public ActorAssociationEventListener(ActorRef actor)
  • Method Details

    • actor

      public ActorRef actor()
    • notify

      public void notify(Transport.AssociationEvent ev)
      Description copied from interface: Transport.AssociationEventListener
      Called by the transport to notify the listener about an AssociationEvent
      Specified by:
      notify in interface Transport.AssociationEventListener
      Parameters:
      ev - The AssociationEvent of the transport
    • 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