akka.actor
Class DeadLetter

java.lang.Object
  extended by akka.actor.DeadLetter
All Implemented Interfaces:
AllDeadLetters, java.io.Serializable, scala.Equals, scala.Product

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

When a message is sent to an Actor that is terminated before receiving the message, it will be sent as a DeadLetter to the ActorSystem's EventStream

See Also:
Serialized Form

Constructor Summary
DeadLetter(java.lang.Object message, ActorRef sender, ActorRef recipient)
           
 
Method Summary
 java.lang.Object message()
           
 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

DeadLetter

public DeadLetter(java.lang.Object message,
                  ActorRef sender,
                  ActorRef recipient)
Method Detail

message

public java.lang.Object message()
Specified by:
message in interface AllDeadLetters

sender

public ActorRef sender()
Specified by:
sender in interface AllDeadLetters

recipient

public ActorRef recipient()
Specified by:
recipient in interface AllDeadLetters