Server : LiteSpeed
System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
User : nandedex ( 1060)
PHP Version : 8.1.33
Disable Function : NONE
Directory :  /opt/imunify360/venv/lib/python3.11/site-packages/im360/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //opt/imunify360/venv/lib/python3.11/site-packages/im360/rpc_handlers.py
from defence360agent.internals.lazy_load import CoreSource
from defence360agent.rpc_tools.lookup import Endpoints
from defence360agent.utils import importer, Scope
from im360.internals.lazy_load import IM360Source
from imav.internals.lazy_load import AVSource


def init() -> None:
    importer.load_packages(
        CoreSource.MESSAGES + AVSource.MESSAGES + IM360Source.MESSAGES
    )
    importer.load_packages(
        CoreSource.ENDPOINTS + AVSource.ENDPOINTS + IM360Source.ENDPOINTS
    )
    for cls in Endpoints.get_active_endpoints():
        if cls.SCOPE is not Scope.AV:
            cls.register_rpc_handlers()

F1le Man4ger