%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/internet/test/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/internet/test/__pycache__/fakeendpoint.cpython-312.pyc

�

Ϫ�f��V�dZddlmZddlmZmZmZmZddlm	Z	ee	�Gd�d��Z
ee�Gd�de
��Zee�Gd	�d
e
��ZGd�d�Z
ee�Gd
�de
��Zee�Gd�de
��Zed�Zed�Zed�Zy)zM
Fake client and server endpoint string parser plugins for testing purposes.
�)�implementer)�IStreamClientEndpoint�,IStreamClientEndpointStringParserWithReactor�IStreamServerEndpoint�!IStreamServerEndpointStringParser)�IPluginc��eZdZd�Zy)�
PluginBasec��||_y�N)�prefix)�self�pfxs  �D/usr/lib/python3/dist-packages/twisted/internet/test/fakeendpoint.py�__init__zPluginBase.__init__s	�����N��__name__�
__module__�__qualname__r�rrr
r
s��rr
c��eZdZd�Zy)�FakeClientParserWithReactorc��t|||�Sr)�StreamClient�r�a�kws   r�parseStreamClientz-FakeClientParserWithReactor.parseStreamClient����D�!�R�(�(rN)rrrrrrrrr���)rrc��eZdZd�Zy)�
FakeParserc��t|||�Sr)�StreamServerrs   r�parseStreamServerzFakeParser.parseStreamServer#r rN)rrrr&rrrr#r#!r!rr#c��eZdZd�Zy)�EndpointBasec�.�||_||_||_yr)�parser�args�kwargs)rr*r+r,s    rrzEndpointBase.__init__(s�������	���rNrrrrr(r('s��rr(c��eZdZdd�Zy)rNc��yrr�r�protocolFactorys  r�connectzStreamClient.connect0���rr)rrrr1rrrrr.���
rrc��eZdZdd�Zy)r%Nc��yrrr/s  r�listenzStreamServer.listen7r2rr)rrrr6rrrr%r%5r3rr%�fake�crfake�cpfakeN)�__doc__�zope.interface.declarationsr�twisted.internet.interfacesrrrr�twisted.pluginrr
rr#r(rr%r7�fakeClientWithReactor�"fakeClientWithReactorAndPreferencerrr�<module>r@s���
�
4���#�
�W������

�
9�:�)�*�)�;�)�

�
.�/�)��)�0�)�
��
�
"�#�
�<�
�$�
�
�
"�#�
�<�
�$�
��&���3�H�=��%@��%J�"r

Zerion Mini Shell 1.0