fontlab_aidus_agentus.plugin.transport
transport
QProcess transport: stdio pipe between the Plugin and the Core process.
The Core (fontlab_aidus_agentus.core) runs as a child process launched via QProcess. Messages are newline-delimited JSON written to the child's stdin and read from its stdout. This module owns that pipe.
State machine (4 states): DISCONNECTED → CONNECTING → CONNECTED ↕ ERROR → DISCONNECTED
Explicit standalone reconnection uses exponential backoff, max 3 attempts. The embedded client owns reconnect/start/initialize/session negotiation; no automatic process restart or replay is performed after a failure.
Buffer handling:
QProcess delivers data in chunks. The transport accumulates bytes in an
internal buffer and only dispatches complete lines (terminated by \n).
Lines exceeding 64 KB are chunked on write to avoid QProcess pipe stalls.
All methods must be called from the Qt main thread. Signals are emitted synchronously on the main thread via Qt's event loop.
Classes
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 |
|---|---|---|---|
DEFAULT_TIMEOUT_SECONDS |
attribute | ||
MAX_CHUNK_SIZE |
attribute | ||
VALID_STATE_TRANSITIONS |
attribute |