tribler.core.session
Attributes
Classes
An DispatcherEndpoint that allows its preferred interface to be updated. |
|
A session manager that manages all components. |
Functions
|
|
|
Check and rescue private keys if necessary. |
Module Contents
- tribler.core.session.logger
- tribler.core.session.rescue_keys(config: tribler.tribler_config.TriblerConfigManager) None
Check and rescue private keys if necessary.
- class tribler.core.session.IPv8Endpoint
Bases:
ipv8.messaging.interfaces.dispatcher.endpoint.DispatcherEndpointAn DispatcherEndpoint that allows its preferred interface to be updated.
- class tribler.core.session.Session(config: tribler.tribler_config.TriblerConfigManager)
A session manager that manages all components.
- config
- shutdown_event
- restart_requested = False
- notifier
- download_manager
- ipv8
- loader
- rest_manager
- mds: tribler.core.database.store.MetadataStore | None = None
- torrent_checker: tribler.core.torrent_checker.torrent_checker.TorrentChecker | None = None
- _except_hook(typ: type[BaseException], value: BaseException, traceback: types.TracebackType | None) None
Handle an uncaught exception.
Note: at this point the REST interface is available. Note2: ignored BaseExceptions are BaseExceptionGroup, GeneratorExit, KeyboardInterrupt and SystemExit
- _asyncio_except_hook(loop: asyncio.AbstractEventLoop, context: dict[str, Any]) None
Handle an uncaught asyncio exception.
Note: at this point the REST interface is available. Note2: ignored BaseExceptions are BaseExceptionGroup, GeneratorExit, KeyboardInterrupt and SystemExit