Show / Hide Table of Contents

Interface IMessageConnector

Defines the interface for message-based communication systems.

Namespace: VulcanAI.Connectors
Assembly: VulcanAI.dll
Syntax
public interface IMessageConnector

Methods

| Edit this page View Source

SendMessageAsync(Message)

Sends a message through the interface.

Declaration
Task SendMessageAsync(Message message)
Parameters
Type Name Description
Message message

The message to send.

Returns
Type Description
Task

A task representing the asynchronous operation.

| Edit this page View Source

StartAsync()

Starts the message interface.

Declaration
Task StartAsync()
Returns
Type Description
Task

A task representing the asynchronous operation.

| Edit this page View Source

StopAsync()

Stops the message interface.

Declaration
Task StopAsync()
Returns
Type Description
Task

A task representing the asynchronous operation.

Events

| Edit this page View Source

OnMessageReceived

Occurs when a message is received from the interface.

Declaration
event EventHandler<Message> OnMessageReceived
Event Type
Type Description
EventHandler<Message>
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX