Search Results for

    Show / Hide Table of Contents

    Interface IMessageBoard

    General interface for all communication boards.

    Namespace: Agents.Net
    Assembly: Agents.Net.dll
    Syntax
    public interface IMessageBoard
    Remarks

    The communication boards are responsible for sending the messages to all registered agents.

    Methods

    | Improve this Doc View Source

    Publish(Message)

    Publish the specific message to all consuming and intercepting agents.

    Declaration
    void Publish(Message message)
    Parameters
    Type Name Description
    Message message

    The message to publish.

    | Improve this Doc View Source

    Register(Agent[])

    Register the agents to the message board.

    Declaration
    void Register(params Agent[] agents)
    Parameters
    Type Name Description
    Agent[] agents

    Agents to register.

    Remarks

    Agents as well as InterceptorAgents are registered with this method.

    It can be used after the Start() method, but this should be avoided, as the newly registered agent will not get any messages of the past.

    | Improve this Doc View Source

    Start()

    Start the message board.

    Declaration
    void Start()
    Remarks

    Without executing this method, no message will be passed the any agent. When it is executed it will automatically send an InitializeMessage.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright Tobias Wilker and contributors