$56 GRAYBYTE WORDPRESS FILE MANAGER $46

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python310/lib64/python3.10/asyncio/__pycache__/

HOME
Current File : /opt/alt/python310/lib64/python3.10/asyncio/__pycache__//protocols.cpython-310.pyc
o

���h-�@sbdZdZGdd�d�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Zdd
�ZdS)zAbstract Protocol base classes.)�BaseProtocol�Protocol�DatagramProtocol�SubprocessProtocol�BufferedProtocolc@s4eZdZdZdZdd�Zdd�Zdd�Zd	d
�ZdS)raCommon 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
    �cC�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)�selfZ	transportrr�8/opt/alt/python310/lib64/python3.10/asyncio/protocols.py�connection_made�zBaseProtocol.connection_madecCr)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�excrrr	�connection_lostrzBaseProtocol.connection_lostcCr)aCalled 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�rrrr	�
pause_writing%rzBaseProtocol.pause_writingcCr)zvCalled when the transport's buffer drains below the low-water mark.

        See pause_writing() for details.
        Nrrrrr	�resume_writing;rzBaseProtocol.resume_writingN)	�__name__�
__module__�__qualname__�__doc__�	__slots__r
rrrrrrr	r	s	rc@�$eZdZdZdZdd�Zdd�ZdS)ranInterface for stream protocol.

    The user should implement this interface.  They can inherit from
    this class but don't need to.  The implementations here do
    nothing (they don't raise exceptions).

    When the user wants to requests a transport, they pass a protocol
    factory to a utility function (e.g., EventLoop.create_connection()).

    When the connection is made successfully, connection_made() is
    called with a suitable transport object.  Then data_received()
    will be called 0 or more times with data (bytes) received from the
    transport; finally, connection_lost() will be called exactly once
    with either an exception object or None as an argument.

    State machine of calls:

      start -> CM [-> DR*] [-> ER?] -> CL -> end

    * CM: connection_made()
    * DR: data_received()
    * ER: eof_received()
    * CL: connection_lost()
    rcCr)zTCalled when some data is received.

        The argument is a bytes object.
        Nr)r�datarrr	�
data_received^rzProtocol.data_receivedcCr�z�Called when the other end calls write_eof() or equivalent.

        If this returns a false value (including None), the transport
        will close itself.  If it returns a true value, closing the
        transport is up to the protocol.
        Nrrrrr	�eof_receiveddrzProtocol.eof_receivedN)rrrrrrrrrrr	rBs
rc@�,eZdZdZdZdd�Zdd�Zdd�Zd	S)
ra:Interface for stream protocol with manual buffer control.

    Event methods, such as `create_server` and `create_connection`,
    accept factories that return protocols that implement this interface.

    The idea of BufferedProtocol is that it allows to manually allocate
    and control the receive buffer.  Event loops can then use the buffer
    provided by the protocol to avoid unnecessary data copies.  This
    can result in noticeable performance improvement for protocols that
    receive big amounts of data.  Sophisticated protocols can allocate
    the buffer only once at creation time.

    State machine of calls:

      start -> CM [-> GB [-> BU?]]* [-> ER?] -> CL -> end

    * CM: connection_made()
    * GB: get_buffer()
    * BU: buffer_updated()
    * ER: eof_received()
    * CL: connection_lost()
    rcCr)aPCalled to allocate a new receive buffer.

        *sizehint* is a recommended minimal size for the returned
        buffer.  When set to -1, the buffer size can be arbitrary.

        Must return an object that implements the
        :ref:`buffer protocol <bufferobjects>`.
        It is an error to return a zero-sized buffer.
        Nr)r�sizehintrrr	�
get_buffer�rzBufferedProtocol.get_buffercCr)z�Called when the buffer was updated with the received data.

        *nbytes* is the total number of bytes that were written to
        the buffer.
        Nr)r�nbytesrrr	�buffer_updated�rzBufferedProtocol.buffer_updatedcCrrrrrrr	r�rzBufferedProtocol.eof_receivedN)rrrrrrr rrrrr	rmsrc@r)rz Interface for datagram protocol.rcCr)z&Called when some datagram is received.Nr)rrZaddrrrr	�datagram_received�rz"DatagramProtocol.datagram_receivedcCr)z~Called when a send or receive operation raises an OSError.

        (Other than BlockingIOError or InterruptedError.)
        Nrrrrr	�error_received�rzDatagramProtocol.error_receivedN)rrrrrr!r"rrrr	r�s
rc@r)
rz,Interface for protocol for subprocess calls.rcCr)z�Called when the subprocess writes data into stdout/stderr pipe.

        fd is int file descriptor.
        data is bytes object.
        Nr)r�fdrrrr	�pipe_data_received�rz%SubprocessProtocol.pipe_data_receivedcCr)z�Called when a file descriptor associated with the child process is
        closed.

        fd is the int file descriptor that was closed.
        Nr)rr#r
rrr	�pipe_connection_lost�rz'SubprocessProtocol.pipe_connection_lostcCr)z"Called when subprocess has exited.Nrrrrr	�process_exited�rz!SubprocessProtocol.process_exitedN)rrrrrr$r%r&rrrr	r�srcCs�t|�}|rC|�|�}t|�}|std��||kr&||d|�<|�|�dS|d|�|d|�<|�|�||d�}t|�}|sdSdS)Nz%get_buffer() returned an empty buffer)�lenr�RuntimeErrorr )�protorZdata_lenZbufZbuf_lenrrr	�_feed_data_to_buffered_proto�s


�r*N)r�__all__rrrrrr*rrrr	�<module>s9+5


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-310.opt-1.pyc
0.742 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__init__.cpython-310.opt-2.pyc
0.691 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__init__.cpython-310.pyc
0.742 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__main__.cpython-310.opt-1.pyc
3.149 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__main__.cpython-310.opt-2.pyc
3.149 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
__main__.cpython-310.pyc
3.149 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_events.cpython-310.opt-1.pyc
50.549 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_events.cpython-310.opt-2.pyc
42.196 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_events.cpython-310.pyc
50.652 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_futures.cpython-310.opt-1.pyc
1.882 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_futures.cpython-310.opt-2.pyc
1.646 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_futures.cpython-310.pyc
1.882 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_subprocess.cpython-310.opt-1.pyc
9.115 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_subprocess.cpython-310.opt-2.pyc
9.021 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_subprocess.cpython-310.pyc
9.182 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_tasks.cpython-310.opt-1.pyc
1.95 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_tasks.cpython-310.opt-2.pyc
1.95 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
base_tasks.cpython-310.pyc
1.95 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
constants.cpython-310.opt-1.pyc
0.588 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
constants.cpython-310.opt-2.pyc
0.588 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
constants.cpython-310.pyc
0.588 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
coroutines.cpython-310.opt-1.pyc
6.419 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
coroutines.cpython-310.opt-2.pyc
6.205 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
coroutines.cpython-310.pyc
6.481 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
events.cpython-310.opt-1.pyc
27.576 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
events.cpython-310.opt-2.pyc
18.586 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
events.cpython-310.pyc
27.658 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
exceptions.cpython-310.opt-1.pyc
2.426 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
exceptions.cpython-310.opt-2.pyc
1.822 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
exceptions.cpython-310.pyc
2.426 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
format_helpers.cpython-310.opt-1.pyc
2.3 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
format_helpers.cpython-310.opt-2.pyc
2.069 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
format_helpers.cpython-310.pyc
2.3 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
futures.cpython-310.opt-1.pyc
11.477 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
futures.cpython-310.opt-2.pyc
8.131 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
futures.cpython-310.pyc
11.624 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
locks.cpython-310.opt-1.pyc
13.856 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
locks.cpython-310.opt-2.pyc
7.807 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
locks.cpython-310.pyc
13.856 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.opt-1.pyc
0.239 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.opt-2.pyc
0.205 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
log.cpython-310.pyc
0.239 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
mixins.cpython-310.opt-1.pyc
1.067 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
mixins.cpython-310.opt-2.pyc
1.037 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
mixins.cpython-310.pyc
1.067 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
proactor_events.cpython-310.opt-1.pyc
23.915 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
proactor_events.cpython-310.opt-2.pyc
23.548 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
proactor_events.cpython-310.pyc
24.135 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
protocols.cpython-310.opt-1.pyc
8.119 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
protocols.cpython-310.opt-2.pyc
3.186 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
protocols.cpython-310.pyc
8.119 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
queues.cpython-310.opt-1.pyc
8.121 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
queues.cpython-310.opt-2.pyc
5.566 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
queues.cpython-310.pyc
8.121 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
runners.cpython-310.opt-1.pyc
2.059 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
runners.cpython-310.opt-2.pyc
1.396 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
runners.cpython-310.pyc
2.059 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
selector_events.cpython-310.opt-1.pyc
28.859 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
selector_events.cpython-310.opt-2.pyc
27.289 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
selector_events.cpython-310.pyc
28.9 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sslproto.cpython-310.opt-1.pyc
21.291 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sslproto.cpython-310.opt-2.pyc
14.604 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
sslproto.cpython-310.pyc
21.455 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
staggered.cpython-310.opt-1.pyc
3.98 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
staggered.cpython-310.opt-2.pyc
1.905 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
staggered.cpython-310.pyc
4.101 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
streams.cpython-310.opt-1.pyc
19.726 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
streams.cpython-310.opt-2.pyc
14.041 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
streams.cpython-310.pyc
19.921 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
subprocess.cpython-310.opt-1.pyc
6.898 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
subprocess.cpython-310.opt-2.pyc
6.781 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
subprocess.cpython-310.pyc
6.912 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
tasks.cpython-310.opt-1.pyc
23.374 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
tasks.cpython-310.opt-2.pyc
16.039 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
tasks.cpython-310.pyc
23.427 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
threads.cpython-310.opt-1.pyc
0.978 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
threads.cpython-310.opt-2.pyc
0.53 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
threads.cpython-310.pyc
0.978 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
transports.cpython-310.opt-1.pyc
12.045 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
transports.cpython-310.opt-2.pyc
6.702 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
transports.cpython-310.pyc
12.059 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
trsock.cpython-310.opt-1.pyc
7.674 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
trsock.cpython-310.opt-2.pyc
7.428 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
trsock.cpython-310.pyc
7.674 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unix_events.cpython-310.opt-1.pyc
40.421 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unix_events.cpython-310.opt-2.pyc
35.423 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
unix_events.cpython-310.pyc
40.729 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_events.cpython-310.opt-1.pyc
23.598 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_events.cpython-310.opt-2.pyc
22.556 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_events.cpython-310.pyc
23.613 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_utils.cpython-310.opt-1.pyc
4.34 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_utils.cpython-310.opt-2.pyc
3.932 KB
9 Jan 2026 2.06 PM
root / linksafe
0644
windows_utils.cpython-310.pyc
4.406 KB
9 Jan 2026 2.06 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF