관리-도구
편집 파일: check_license.cpython-311.pyc
� IMgS � � � d dl Z d dlmZ d dlZd dlmZ d dlZd dlmZ d dl m Z mZ d dlm Z d dlmZmZ d dlmZ d d lmZmZ d d lmZmZ d dlmZ d dlmZ d d lmZmZm Z d dl!m"Z"m#Z# ej$ e%� � Z& G d� de� � Z'dS )� N)�suppress)�TimeoutExpired)�randint)�ANTIVIRUS_MODE� CustomBilling)� HookEvent)� LicenseCLN� AV_DEFAULT_ID)� MessageSource)�CLN�CLNError)�APIError�IndependentAgentIDAPI)� hosting_panel)�PanelException)� await_for�recurring_check�retry_on)�DAY�HOURc � � e Zd ZeZeZeZdez Zd� Z d� Z d� Zd� Zd� Z ee ee�� � eez �� � d � � � Zd � Z ee� � d� � � ZdS ) �CheckLicense� c �h � d | _ d | _ d | _ d | _ d | _ d| _ d| _ d S )NF)�loop�sink�check_hooks_task�check_license_task�check_iaid_token_task�expiring_called�expired_called��selfs �Z/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/plugins/check_license.py�__init__zCheckLicense.__init__ s>