akka.remote.transport
Class AssociationHandle.ActorHandleEventListener

java.lang.Object
  extended by akka.remote.transport.AssociationHandle.ActorHandleEventListener
All Implemented Interfaces:
AssociationHandle.HandleEventListener, java.io.Serializable, scala.Equals, scala.Product
Enclosing interface:
AssociationHandle

public static class AssociationHandle.ActorHandleEventListener
extends java.lang.Object
implements AssociationHandle.HandleEventListener, scala.Product, scala.Serializable

Class to convert ordinary ActorRef instances to a HandleEventListener. The adapter will forward event objects as messages to the provided ActorRef. param: actor

See Also:
Serialized Form

Constructor Summary
AssociationHandle.ActorHandleEventListener(ActorRef actor)
           
 
Method Summary
 ActorRef actor()
           
 void notify(AssociationHandle.HandleEvent ev)
          Called by the transport to notify the listener about a HandleEvent
 
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

AssociationHandle.ActorHandleEventListener

public AssociationHandle.ActorHandleEventListener(ActorRef actor)
Method Detail

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