%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/internet/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/internet/__pycache__/_pollingfile.cpython-312.pyc |
� Ϫ�f�! � �� � d Z ddlmZ ddlmZmZ dZdZ G d� d� Z G d� d � Z dd l Z dd lZdd lZdd l Z ee� G d� de� � Zd Z ee� G d� de� � Zy )z� Implements a simple polling interface for file descriptors that don't work with select() - this is pretty much only useful on Windows. � )�implementer)� IConsumer� IPushProducerg��&�.>g�������?c � � e Zd ZdZd� Zd� Zy)�_PollableResourceTc � � d| _ y �NT��active��selfs �?/usr/lib/python3/dist-packages/twisted/internet/_pollingfile.py�activatez_PollableResource.activate s � ���� c � � d| _ y �NFr r s r � deactivatez_PollableResource.deactivate s � ���r N)�__name__� __module__�__qualname__r r r � r r r r s � � �F��r r c �B � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z d � Zy )� _PollingTimerc �R � || _ g | _ d | _ t | _ d| _ y r )�reactor� _resources� _pollTimer�MAX_TIMEOUT�_currentTimeout�_paused)r r s r �__init__z_PollingTimer.__init__ s&