| Server IP : 68.178.164.50 / Your IP : 216.73.216.142 Web Server : Apache System : Linux 50.164.178.68.host.secureserver.net 5.14.0-611.26.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jan 29 05:24:47 EST 2026 x86_64 User : rathinambschool ( 1053) PHP Version : 8.2.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/asyncio/__pycache__/ |
Upload File : |
�
!A?h- � � � d Z dZ G d� d� � Z G d� de� � Z G d� de� � Z G d� d e� � Z G d
� de� � Zd� Zd
S )zAbstract Protocol base classes.)�BaseProtocol�Protocol�DatagramProtocol�SubprocessProtocol�BufferedProtocolc �. � e Zd ZdZdZd� Zd� Zd� Zd� ZdS )r a Common base class for protocol interfaces.
Usually user implements protocols that derived from BaseProtocol
like Protocol or ProcessProtocol.
The only case when BaseProtocol should be implemented directly is
write-only transport like write pipe
� c � � dS )z�Called when a connection is made.
The argument is the transport representing the pipe connection.
To receive data, wait for data_received() calls.
When the connection is closed, connection_lost() is called.
Nr )�self� transports �*/usr/lib64/python3.11/asyncio/protocols.py�connection_madezBaseProtocol.connection_made � � � � � c � � dS )z�Called when the connection is lost or closed.
The argument is an exception object or None (the latter
meaning a regular EOF is received or the connection was
aborted or closed).
Nr �r
�excs r �connection_lostzBaseProtocol.connection_lost r r c � � dS )a Called when the transport's buffer goes over the high-water mark.
Pause and resume calls are paired -- pause_writing() is called
once when the buffer goes strictly over the high-water mark
(even if subsequent writes increases the buffer size even
more), and eventually resume_writing() is called once when the
buffer size reaches the low-water mark.
Note that if the buffer size equals the high-water mark,
pause_writing() is not called -- it must go strictly over.
Conversely, resume_writing() is called when the buffer size is
equal or lower than the low-water mark. These end conditions
are important to ensure that things go as expected when either
mark is zero.
NOTE: This is the only Protocol callback that is not called
through EventLoop.call_soon() -- if it were, it would have no
effect when it's most needed (when the app keeps writing
without yielding until pause_writing() is called).
Nr �r
s r �
pause_writingzBaseProtocol.pause_writing% r r c � � dS )zvCalled when the transport's buffer drains below the low-water mark.
See pause_writing() for details.
Nr r s r �resume_writingzBaseProtocol.resume_writing; r r N) �__name__�
__module__�__qualname__�__doc__� __slots__r
r r r r r r r r sa � � � � � �� � �I�� � �� � �� � �,� � � � r r c �"