akka.routing
Class Destination

java.lang.Object
  extended by akka.routing.Destination
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class Destination
extends java.lang.Object
implements scala.Product, scala.Serializable

For every message sent to a router, its route determines a set of destinations, where for each recipient a different sender may be specified; typically the sender should match the sender of the original request, but e.g. the scatter- gather router needs to receive the replies with an AskActorRef instead.

See Also:
Serialized Form

Constructor Summary
Destination(ActorRef sender, ActorRef recipient)
           
 
Method Summary
 ActorRef recipient()
           
 ActorRef sender()
           
 
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

Destination

public Destination(ActorRef sender,
                   ActorRef recipient)
Method Detail

sender

public ActorRef sender()

recipient

public ActorRef recipient()