FeatureMessageRemoteWriter

An abstract class that facilitates writing feature messages to a remote server.

Parameters

connectionConfig

Configuration for the server connection. If not provided, a default configuration using port 50881 will be used.

Constructors

Link copied to clipboard
constructor(connectionConfig: ServerConnectionConfig? = null)

Properties

Link copied to clipboard
open override val isOpen: StateFlow<Boolean>

Indicates whether the writer is currently open and initialized.

Link copied to clipboard

A filter for messages to be sent to message processors.

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun initialize()

Initializes the feature output stream provider to ensure it is ready for use.

Link copied to clipboard
suspend fun onMessage(message: FeatureMessage)

Receives and processes an incoming feature message.

Link copied to clipboard

Sets the message filter used to determine which feature messages should be processed.