Package akka.actor
Class DeadLetterActorRef
- java.lang.Object
-
- akka.actor.ActorRef
-
- akka.actor.InternalActorRef
-
- akka.actor.EmptyLocalActorRef
-
- akka.actor.DeadLetterActorRef
-
- All Implemented Interfaces:
ActorRefScope
,LocalRef
,MinimalActorRef
,ScalaActorRef
,java.io.Serializable
,java.lang.Comparable<ActorRef>
,scala.Serializable
public class DeadLetterActorRef extends EmptyLocalActorRef
Internal implementation of the dead letter destination: will publish any received message to the eventStream, wrapped asDeadLetter
.INTERNAL API
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeadLetterActorRef.SerializedDeadLetterActorRef
-
Constructor Summary
Constructors Constructor Description DeadLetterActorRef(ActorRefProvider _provider, ActorPath _path, EventStream _eventStream)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
$bang(java.lang.Object message, ActorRef sender)
ActorRef
$bang$default$2(java.lang.Object message)
static DeadLetterActorRef.SerializedDeadLetterActorRef
serialized()
protected boolean
specialHandle(java.lang.Object msg, ActorRef sender)
protected java.lang.Object
writeReplace()
-
Methods inherited from class akka.actor.EmptyLocalActorRef
eventStream, isTerminated, path, provider, sendSystemMessage
-
Methods inherited from class akka.actor.InternalActorRef
getChild, getParent, isLocal, restart, resume, start, stop, suspend
-
Methods inherited from class akka.actor.ActorRef
compareTo, equals, forward, hashCode, noSender, tell, toString
-
-
-
-
Constructor Detail
-
DeadLetterActorRef
public DeadLetterActorRef(ActorRefProvider _provider, ActorPath _path, EventStream _eventStream)
-
-
Method Detail
-
serialized
public static DeadLetterActorRef.SerializedDeadLetterActorRef serialized()
-
$bang
public void $bang(java.lang.Object message, ActorRef sender)
- Specified by:
$bang
in interfaceMinimalActorRef
- Specified by:
$bang
in interfaceScalaActorRef
- Overrides:
$bang
in classEmptyLocalActorRef
-
specialHandle
protected boolean specialHandle(java.lang.Object msg, ActorRef sender)
- Overrides:
specialHandle
in classEmptyLocalActorRef
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
-
$bang$default$2
public ActorRef $bang$default$2(java.lang.Object message)
- Specified by:
$bang$default$2
in interfaceMinimalActorRef
- Specified by:
$bang$default$2
in interfaceScalaActorRef
- Overrides:
$bang$default$2
in classEmptyLocalActorRef
-
-