Search Results for

    Show / Hide Table of Contents

    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.

  • Send
    Deafen(Self)

    to another Actor to stop listening.

  • Send
    WithListeners(delegate)

    to traverse the current listeners.

  • Namespace: Akka.Routing
    Assembly: Akka.dll
    Syntax
    public interface IListeners

    Properties

    | Edit this page View Source

    Listeners

    Retrieves the support needed to interact with an actor's listeners.

    Declaration
    ListenerSupport Listeners { get; }
    Property Value
    Type Description
    ListenerSupport

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET