Source code for AutoArchive._infrastructure.service.iservice_identification
# iservice_identification.py
#
# Project: AutoArchive
# License: GNU GPLv3
#
# Copyright (C) 2003 - 2021 Róbert Čerňanský
""":class:`IServiceIdentification` interface."""
__all__ = ["IServiceIdentification"]
# {{{ INCLUDES
from abc import *
# }}} INCLUDES
# {{{ CLASSES
[docs]class IServiceIdentification(metaclass = ABCMeta):
"""Identifies a service.
.. Note:: Implementations should be static classes."""
@property
@abstractmethod
def interface():
"""Gets interface type of the service.
:rtype: ``type{``object``\ ``}``"""
@property
@abstractmethod
def providerIdentificationInterface():
"""Gets interface type for accessing information about providers of this service.
:rtype: ``type{``object``\ ``}``"""