FeatureMessageClient

An interface representing a client to interact with a feature messaging system.

The client is responsible for:

  • Connecting to a remote feature messaging service;

  • Sending feature-related messages;

  • Performing periodic health checks to ensure the connection's integrity.

A client can be used in an IDE to receive remote events from the running agents to present collected agent state traces and show them inside this IDE.

Inheritors

Properties

Link copied to clipboard
abstract val isConnected: Boolean

Indicates whether the client is currently connected to the remote feature messaging service.

Functions

Link copied to clipboard
abstract suspend fun close()
Link copied to clipboard
abstract suspend fun connect()

Establishes a connection to the remote feature messaging service.

Link copied to clipboard
abstract suspend fun healthCheck()

Performs a health check to verify the status of the remote feature messaging service.

Link copied to clipboard
abstract suspend fun send(message: FeatureMessage)

Sends a feature-related message to the remote feature messaging service.