ClientBoot


Object Hierarchy:

Object hierarchy for ClientBoot

Description:

public class ClientBoot : Object

Ensure ollmfilesd is running when passed to Client.connect.

The caller supplies every path, or passes new ClientBoot() and lets Client.connect copy empty fields from the client. There is no default ~/.local/share/ollmchat path in this class. Constructor args pid and socket_name are basenames within data_dir; the pid and socket_path properties hold the full paths used for probe, spawn, and kill-and-respawn.

Parameter order after the three strings: debug, then pass_data_dir. debug defaults to true because in-tree callers almost always want ollmfilesd with --debug. pass_data_dir defaults to false; only out-of- band vector test CLIs set it true because standard and custom dirs share the same basename layout and spawn cannot infer --data-dir=DIR from paths alone.

Spawn argv: debug adds --debug; pass_data_dir adds --data-dir=data_dir. Executable: OLLM_OLLMFILESD env when set (build wrapper scripts), else ollmfilesd on PATH; env selects the binary only and does not set debug or data- dir flags (see ยง5.5.4).

Callers construct this and pass it to Client.connect. A null boot means connect-only (no spawn).


Namespace: OLLMrpc
Package: ollmchat

Content:

Properties:

Creation methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object