Table of Contents

Interface IMaaAgentServer

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

An interface defining wrapped members for MaaAgentServer.

public interface IMaaAgentServer

Methods

Detach()

Separates the thread for receiving client messages, allowing execution to continue independently.

Join()

Blocks the calling thread until the thread for receiving client messages finishes its execution.

Register<T>(string, T)

Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaAgentServer.

Register<T>(T)

Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaAgentServer.

ShutDown()

Shuts down the agent server.

StartUp()

Starts up the agent server to prepare for receiving client messages from the specified connection.

WithIdentifier(string)

Configures the unique identifier used to communicate with the agent client.