Skip to main content

Module adapter_socket

Module adapter_socket 

Source

Structs§

AdapterSocket

Constants§

ACCEPT_RETRY_PAUSE
Pause before the accept loop asks the listener for a connection again after an accept failure.
PROBE_TIMEOUT
Wait bound for the link probe’s hello round trip.

Functions§

client_registration
The registration a client for workspace publishes beside its socket.
mount_allowed
An agent mount must name this role, and a tools mount must carry the mount its kind claims; the admin probe carries no mount marker at all, because Mount is untagged and its unit variant serializes as null, which reads back as None, so the kind field is what identifies the probe.
republish_registration
Rewrite the registration for workspace with the facts this client has now.
server_link_state
The link state of the client serving socket, and None when no client answers the probe.
should_bye_on_register
A session_register naming a terminated session ends the plugin connection.
stale_socket_removed
Remove a socket file a previous run left behind.