Base Module#

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

This module provides a base class for Constellation Satellite modules.

class core.base.BaseSatelliteFrame(name: str, mon_port: int | None = None, **_kwds: Any)#

Bases: object

Base class for all Satellite components to inherit from.

Provides the basic internal Satellite infrastructure related to logging, ZMQ and threading that all Satellite communication service components (i.e. mixin classes) share.

get_logger(name: str) ConstellationLogger#
reentry() None#

Orderly destroy the satellite.

class core.base.ConstellationArgumentParser(*args: Any, **kwargs: Any)#

Bases: ArgumentParser

Customized Argument parser providing basic Satellite options.

core.base.destroy_satellites() None#

Close down connections and perform orderly re-entry.