Class AllDeadLetters
Represents a message that could not be delivered to it's recipient. This message wraps the original message, the sender and the intended recipient of the message.
Subscribe to this class to be notified about all DeadLetter (also the suppressed ones) and Dropped.
Implements
Inherited Members
Namespace: Akka.Event
Assembly: Akka.dll
Syntax
public abstract class AllDeadLetters : IWrappedMessage
Constructors
| Improve this Doc View SourceAllDeadLetters(Object, IActorRef, IActorRef)
Initializes a new instance of the DeadLetter class.
Declaration
protected AllDeadLetters(object message, IActorRef sender, IActorRef recipient)
Parameters
Type | Name | Description |
---|---|---|
Object | message | The original message that could not be delivered. |
IActorRef | sender | The actor that sent the message. |
IActorRef | recipient | The actor that was to receive the message. |
Properties
| Improve this Doc View SourceMessage
The original message that could not be delivered.
Declaration
public object Message { get; }
Property Value
Type | Description |
---|---|
Object |
Recipient
The actor that was to receive the message.
Declaration
public IActorRef Recipient { get; }
Property Value
Type | Description |
---|---|
IActorRef |
Sender
The actor that sent the message.
Declaration
public IActorRef Sender { get; }
Property Value
Type | Description |
---|---|
IActorRef |
Methods
| Improve this Doc View SourceToString()
Returns a String that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A String that represents this instance. |