tribler.core.content_discovery.cache
Classes
Keep track of the packets to a Peer during the answering of a select request. |
Module Contents
- class tribler.core.content_discovery.cache.SelectRequest(request_cache: ipv8.requestcache.RequestCache, request_kwargs: dict, peer: ipv8.peer.Peer, processing_callback: collections.abc.Callable[[Self, list[tribler.core.database.store.ProcessingResult]], None] | None = None, timeout_callback: collections.abc.Callable[[Self], None] | None = None)
Bases:
ipv8.requestcache.RandomNumberCacheKeep track of the packets to a Peer during the answering of a select request.
- request_kwargs
- processing_callback = None
- packets_limit = 10
- peer
- peer_responded = False
- timeout_callback = None