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, **_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#

Get the ConstellationLogger instance and ensure it is configured properly.

reentry() None#

Orderly destroy the satellite.

terminate() None#

Order destroy the satellite and terminate the ZMQ context.

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.