SimulationIoConnectionΒΆ

class SimulationIoConnection(serverappio_api_address: str = '127.0.0.1:9091', insecure: bool = False, root_certificates: bytes | None = None, *, token: str)[source]ΒΆ

Bases: object

SimulationIoConnection provides an interface to the ServerAppIo API.

Parameters:
  • serverappio_api_address (str (default: "127.0.0.1:9091")) – The address (URL, IPv6, IPv4) of the SuperLink ServerAppIo API service.

  • insecure (bool (default: False)) – If True, use plaintext (TLS disabled). If False, use TLS.

  • root_certificates (Optional[bytes] (default: None)) – The PEM-encoded root certificates as a byte string. Used only when insecure is False. If provided, these certificates are used to verify the server certificate. If None, gRPC default root certificates are used.

  • token (str) – Executor token attached to all outgoing RPCs via metadata.

Methods