%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/conch/ssh/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/conch/ssh/__pycache__/service.cpython-312.pyc

�

Ϫ�f��4�dZddlmZddlmZGd�d�Zy)z�
The parent class for all the SSH services.  Currently implemented services
are ssh-userauth and ssh-connection.

Maintainer: Paul Swartz
�)�Dict)�Loggerc�^�eZdZUdZeed<iZeee	fed<dZ
e�Zd�Z
d�Zd�Zd�Zy)�
SSHServiceN�name�protocolMessagesc��y)zE
        called when the service is active on the transport.
        N���selfs �;/usr/lib/python3/dist-packages/twisted/conch/ssh/service.py�serviceStartedzSSHService.serviceStarted���c��y)z�
        called when the service is stopped, either by the connection ending
        or by another service being started
        Nr
rs r
�serviceStoppedzSSHService.serviceStoppedrrc�~�dj|j|jjj��S)NzSSHService {!r} on {})�formatr�	transport�	logPrefixrs r
rzSSHService.logPrefix$s1��&�-�-��I�I�t�~�~�/�/�9�9�;�
�	
rc���||jvr,|j|}t|d|ddzd�}|�||�S|jjd||��|jj�y)zB
        called when we receive a packet on the transport
        zssh_%s�Nz'couldn't handle {messageNum} {packet!r})�
messageNum�packet)r�getattr�_log�infor�sendUnimplemented)rrr�messageType�fs     r
�packetReceivedzSSHService.packetReceived)sz��
��.�.�.��/�/�
�;�K���h��Q�R��8�$�?�A��}���y� ��	�	���5�!��	�	
�
	
���(�(�*r)�__name__�
__module__�__qualname__r�bytes�__annotations__rr�int�strrrrrrrr!r
rr
rrs?���D�%��')��d�3��8�n�)��I��8�D��
�
�
+rrN)�__doc__�typingr�twisted.loggerrrr
rr
�<module>r,s����!�(+�(+r

Zerion Mini Shell 1.0