Interface IListeners
This interface is needed to implement listening capabilities on an actor.
<remarks>
<ul>
<li>Use the <xref href="Akka.Routing.ListenerSupport.Gossip(System.Object)" data-throw-if-not-resolved="false"></xref> method to send a message to the listeners.</li>
<li>Send
Listen(Self)
to another Actor to start listening.
Deafen(Self)
to another Actor to stop listening.
WithListeners(delegate)
to traverse the current listeners.
Namespace: Akka.Routing
Assembly: Akka.dll
Syntax
public interface IListeners
Properties
| Edit this page View SourceListeners
Retrieves the support needed to interact with an actor's listeners.
Declaration
ListenerSupport Listeners { get; }
Property Value
| Type | Description |
|---|---|
| ListenerSupport |
Edit this page