Interface IListeners
This interface is needed to implement listening capabilities on an actor.
- Use the Gossip(Object) method to send a message to the listeners.
- Send
to another Actor to start listening.Listen(Self)
- Send
to another Actor to stop listening.Deafen(Self)
- Send
to traverse the current listeners.WithListeners(delegate)
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public interface IListeners
Properties
| Improve this Doc View SourceListeners
Retrieves the support needed to interact with an actor's listeners.
Declaration
ListenerSupport Listeners { get; }
Property Value
Type | Description |
---|---|
ListenerSupport |