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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactor()booleanbooleaninthashCode()voidCalled by the transport to notify the listener about an AssociationEventintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ActorAssociationEventListener
-
-
Method Details
-
actor
-
notify
Description copied from interface:Transport.AssociationEventListenerCalled by the transport to notify the listener about an AssociationEvent- Specified by:
notifyin interfaceTransport.AssociationEventListener- Parameters:
ev- The AssociationEvent of the transport
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-