Heartbeater Module#

SPDX-FileCopyrightText: 2024 DESY and the Constellation authors SPDX-License-Identifier: EUPL-1.2

class core.heartbeater.HeartbeatSender(name: str, hb_port: int, **kwargs: Any)#

Bases: SatelliteStateHandler

Send regular state updates via Constellation Heartbeat Protocol.

get_role(_request: CSCP1Message | None = None) tuple[str, Any, dict[str, Any]]#

Return the current role of the Satellite.

No payload argument.

property role: CHPRole#