403Webshell
Server IP : 35.80.110.71  /  Your IP : 216.73.216.221
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/zeroconf/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/zeroconf/__pycache__/_updates.cpython-312.pyc
�

�؆e2��X�dZddlmZmZddlmZddlmZerddlm	Z	e
ZGd�d�Zy	)
a� Multicast DNS Service Discovery for Python, v0.14-wmcbrine
    Copyright 2003 Paul Scott-Murphy, 2014 William McBrine

    This module provides a framework for the use of DNS Service Discovery
    using IP multicast.

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
    USA
�)�
TYPE_CHECKING�List�)�	DNSRecord)�RecordUpdate)�Zeroconfc�N�eZdZdZdddededdfd�Zddded	ee	ddfd
�Z
dd�Zy)
�RecordUpdateListenerz�Base call for all record listeners.

    All listeners passed to async_add_listener should use RecordUpdateListener
    as a base class. In the future it will be required.
    �zcr�now�record�returnNc��td��)z�Update a single record.

        This method is deprecated and will be removed in a future version.
        update_records should be implemented instead.
        zDupdate_record is deprecated and will be removed in a future version.)�RuntimeError)�selfrrr
s    �3/usr/lib/python3/dist-packages/zeroconf/_updates.py�
update_recordz"RecordUpdateListener.update_record*s���a�b�b��recordsc�L�|D]}|j|||j��!y)a�Update multiple records in one shot.

        All records that are received in a single packet are passed
        to update_records.

        This implementation is a compatibility shim to ensure older code
        that uses RecordUpdateListener as a base class will continue to
        get calls to update_record. This method will raise
        NotImplementedError in a future version.

        At this point the cache will not have the new records

        Records are passed as a list of RecordUpdate.  This
        allows consumers of async_update_records to avoid cache lookups.

        This method will be run in the event loop.
        N)r�new)rrrrr
s     r�async_update_recordsz)RecordUpdateListener.async_update_records4s)��$�	4�F����r�3��
�
�3�	4rc��y)z�Called when a record update has completed for all handlers.

        At this point the cache will have the new records.

        This method will be run in the event loop.
        N�)rs r�async_update_records_completez2RecordUpdateListener.async_update_records_completeIs�r)rN)�__name__�
__module__�__qualname__�__doc__�floatrr�float_rrrrrrrr
r
#s]���c��c�#(�c�2;�c�	
�c�4�z�4��4��l�I[�4�`d�4�*rr
N)
r�typingrr�_dnsr�_record_updater�_corerr r!r
rrr�<module>r&s,���,'��(���
��,�,r

Youez - 2016 - github.com/yon3zu
LinuXploit