| Server IP : 138.197.176.125 / Your IP : 216.73.217.54 Web Server : Apache/2.4.41 (Ubuntu) System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/lib/python3/dist-packages/twisted/test/__pycache__/ |
Upload File : |
U
W[�8 � @ s d Z ddlmZmZ ddlmZ ddlmZ ddlm Z ddl
mZmZ ddl
mZ ddlmZ dd lmZ dd
lmZmZmZ ddl
mZmZ G dd
� d
ej�ZG dd� de�ZG dd� d�ZG dd� dee j�ZG dd� dee j�ZG dd� dee j�Z G dd� de j�Z!dS )z.
Test case for L{twisted.protocols.loopback}.
� )�division�absolute_import)�implementer)�
intToBytes)�unittest)�basic�loopback)�defer)�Protocol)�Deferred)�IAddress�
IPushProducer�
IPullProducer)�reactor�
interfacesc @ s, e Zd Zdd� Zdd� Zdd� Zdd� Zd S )
�SimpleProtocolc C s t �� | _g | _g | _d S �N)r r �conn�lines�connLost��self� r �</usr/lib/python3/dist-packages/twisted/test/test_loopback.py�__init__ s
zSimpleProtocol.__init__c C s | j �d � d S r )r �callbackr r r r �connectionMade s zSimpleProtocol.connectionMadec C s | j �|� d S r )r �append�r �liner r r �lineReceived! s zSimpleProtocol.lineReceivedc C s | j �|� d S r )r r )r �reasonr r r �connectionLost% s zSimpleProtocol.connectionLostN)�__name__�
__module__�__qualname__r r r r"