Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3/dist-packages/twisted/names/test/__pycache__/ |
Upload File : |
o �b� � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl m Z ddlmZm Z ddlmZ ee �G d d � d ��Zee e� ee�G dd� de��Zeee� d S )z$ Utilities for Twisted.names tests. � )� randrange)�implementer)�verifyClass)�IPv4Address)�succeed)�IReactorUDP� IUDPTransport)�Clockc @ sJ e Zd ZdZdd� Zdd� Zdd� Zdd d �Zdd� Zd d� Z dd� Z dS )�MemoryDatagramTransporta� This L{IUDPTransport} implementation enforces the usual connection rules and captures sent traffic in a list for later inspection. @ivar _host: The host address to which this transport is bound. @ivar _protocol: The protocol connected to this transport. @ivar _sentPackets: A C{list} of two-tuples of the datagrams passed to C{write} and the addresses to which they are destined. @ivar _connectedTo: L{None} if this transport is unconnected, otherwise an address to which all traffic is supposedly sent. @ivar _maxPacketSize: An C{int} giving the maximum length of a datagram which will be successfully handled by C{write}. c C s"