Previous: STServer: Publishing a Service, Up: Services and Communication: Server and Client [Contents]
Living mirror of a remote STServer. Prefer async start so
discovery never freezes the main loop. Handshake: optional
Authenticate, then snapshot (GetInputs/GetOutputs/
GetStats), then subscribe.
Creates an idle client.
Returns: New STClient.
Sets the context for all client GObject signals.
Client.
Affinity context, or NULL for default.
Returns: Nothing.
Reads the notify context.
Client.
Returns: Borrowed GMainContext.
Sets the shared secret used during handshake. Call before start. Empty/NULL means anonymous.
Client.
Shared secret, or NULL/empty.
Returns: Nothing.
See peer-auth-token.
Reads the configured token.
Client.
Returns: Newly allocated token (transfer full), or NULL.