https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/internet/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/internet/test/__pycache__/fakeendpoint.cpython-310.pyc
o

�b�@s�dZddlmZddlmZmZmZmZddlm	Z	ee	�Gdd�d��Z
ee�Gdd�de
��Zee�Gd	d
�d
e
��ZGdd�d�Z
ee�Gd
d�de
��Zee�Gdd�de
��Zed�Zed�Zed�ZdS)zM
Fake client and server endpoint string parser plugins for testing purposes.
�)�implementer)�IStreamClientEndpoint�,IStreamClientEndpointStringParserWithReactor�IStreamServerEndpoint�!IStreamServerEndpointStringParser)�IPluginc@�eZdZdd�ZdS)�
PluginBasecCs
||_dS�N)�prefix)�self�pfx�r�D/usr/lib/python3/dist-packages/twisted/internet/test/fakeendpoint.py�__init__s
zPluginBase.__init__N��__name__�
__module__�__qualname__rrrrrr	�r	c@r)�FakeClientParserWithReactorcO�t|||�Sr
)�StreamClient�r�a�kwrrr�parseStreamClient�z-FakeClientParserWithReactor.parseStreamClientN)rrrrrrrrrrrc@r)�
FakeParsercOrr
)�StreamServerrrrr�parseStreamServer#rzFakeParser.parseStreamServerN)rrrr rrrrr!rrc@r)�EndpointBasecCs||_||_||_dSr
)�parser�args�kwargs)rr"r#r$rrrr(s
zEndpointBase.__init__Nrrrrrr!'sr!c@�eZdZddd�ZdS)rNcC�dSr
r�r�protocolFactoryrrr�connect0�zStreamClient.connectr
)rrrr)rrrrr.�rc@r%)rNcCr&r
rr'rrr�listen7r*zStreamServer.listenr
)rrrr,rrrrr5r+r�fake�crfake�cpfakeN)�__doc__�zope.interface.declarationsr�twisted.internet.interfacesrrrr�twisted.pluginrr	rrr!rrr-�fakeClientWithReactor�"fakeClientWithReactorAndPreferencerrrr�<module>s$

https://t.me/RX1948 - 2025