Skip to content

fontlab_aidus_agentus.plugin.transport.ACPTransport

ACPTransport

Transport layer for ACP communication via QProcess.

Uses newline-delimited JSON over stdio to communicate with the AgentPool server process.

Signals: messageReceived(dict): Emitted when a complete JSON message is received. stderrReceived(str): Emitted when stderr output is received. stateChanged(str): Emitted when connection state changes. processError(str): Emitted when a process error occurs. processFinished(int): Emitted when process terminates with exit code.

Source bases

  • QObject (not resolved from selected source)

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, python_exe=None, boot_script=None, timeout_seconds=None, working_dir=None, environment=None) Initialize the transport.
disable_debug function (self) Disable debug logging.
enable_debug function (self, callback=None) Enable debug logging.
is_connected function (self) Check if transport is in connected state.
messageReceived attribute
processError attribute
processFinished attribute
request_reconnect function (self) Request a reconnection attempt with exponential backoff (E3.13, E8.14).
reset_reconnect_count function (self) Reset the reconnect counter (call after successful stable connection).
send function (self, message) Send a JSON message to the server (E3.8).
set_paths function (self, python_exe, boot_script) Set Python executable and boot script paths.
start function (self, extra_args=None) Start the AgentPool server process (E3.1).
state function (self) Get the current transport state.
stateChanged attribute (shared captured text)
stderrReceived attribute
stop function (self, graceful=True, timeout_ms=5000) Stop the server process; return False if termination remains unknown.