ProgramConfig

class ProgramConfigClient
Canonical

kortex_api.autogen.client_stubs.ProgramConfigClientRpc

__init__(router, namespace=None)

Constructs a ProgramConfigClient with an initialized RouterClient and an optional namespace.

Parameters
  • router (RouterClient) – RouterClient used for the communication

  • namespace (string) – Optional namespace on which to initialize the ProgramConfigClient (defaults to None)

IsAlive(timeoutMs: int = 1000)

Returns True if the Service Server is detected online before timeoutMs is expired, False otherwise.

Parameters

timeoutMs (unsigned int) – The maximum time to wait for an answer from the server

Return type

bool