Class ActorHandleEventListener
Converts an IActorRef into an IHandleEventListener, so IHandleEvent messages can be passed directly to the Actor.
Implements
Inherited Members
Namespace: Akka.Remote.Transport
Assembly: Akka.Remote.dll
Syntax
public sealed class ActorHandleEventListener : IHandleEventListener
Constructors
| Improve this Doc View SourceActorHandleEventListener(IActorRef)
Initializes a new instance of the ActorHandleEventListener class.
Declaration
public ActorHandleEventListener(IActorRef actor)
Parameters
Type | Name | Description |
---|---|---|
IActorRef | actor | The Actor to notify about IHandleEvent messages. |
Fields
| Improve this Doc View SourceActor
The Actor to notify about IHandleEvent messages.
Declaration
public readonly IActorRef Actor
Field Value
Type | Description |
---|---|
IActorRef |
Methods
| Improve this Doc View SourceNotify(IHandleEvent)
Notify the Actor about an IHandleEvent message.
Declaration
public void Notify(IHandleEvent ev)
Parameters
Type | Name | Description |
---|---|---|
IHandleEvent | ev | The IHandleEvent message to notify the Actor about |