akka.remote.transport
Class Transport.ActorAssociationEventListener

java.lang.Object
  extended by akka.remote.transport.Transport.ActorAssociationEventListener
All Implemented Interfaces:
Transport.AssociationEventListener, java.io.Serializable, scala.Equals, scala.Product
Enclosing interface:
Transport

public static class Transport.ActorAssociationEventListener
extends java.lang.Object
implements Transport.AssociationEventListener, scala.Product, scala.Serializable

Class to convert ordinary ActorRef instances to an AssociationEventListener. The adapter will forward event objects as messages to the provided ActorRef.

See Also:
Serialized Form

Constructor Summary
Transport.ActorAssociationEventListener(ActorRef actor)
           
 
Method Summary
 ActorRef actor()
           
 void notify(Transport.AssociationEvent ev)
          Called by the transport to notify the listener about an AssociationEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Transport.ActorAssociationEventListener

public Transport.ActorAssociationEventListener(ActorRef actor)
Method Detail

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