$28 GRAYBYTE WORDPRESS FILE MANAGER $13

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/python37/lib64/python3.7/asyncio/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/asyncio/__pycache__//protocols.cpython-37.opt-1.pyc
B

� f|�@sbdZdZGdd�d�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�Zdd
�ZdS)zAbstract Protocol base classes.)�BaseProtocol�Protocol�DatagramProtocol�SubprocessProtocol�BufferedProtocolc@s0eZdZdZdd�Zdd�Zdd�Zdd	�Zd
S)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
    cCsdS)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.
        N�)�selfZ	transportrr�6/opt/alt/python37/lib64/python3.7/asyncio/protocols.py�connection_madeszBaseProtocol.connection_madecCsdS)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_lostszBaseProtocol.connection_lostcCsdS)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#szBaseProtocol.pause_writingcCsdS)zvCalled when the transport's buffer drains below the low-water mark.

        See pause_writing() for details.
        Nr)rrrr�resume_writing9szBaseProtocol.resume_writingN)�__name__�
__module__�__qualname__�__doc__r	rrr
rrrrr	s
rc@s eZdZdZdd�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()
    cCsdS)zTCalled when some data is received.

        The argument is a bytes object.
        Nr)r�datarrr�
data_receivedZszProtocol.data_receivedcCsdS)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.
        Nr)rrrr�eof_received`szProtocol.eof_receivedN)rrrrrrrrrrr@src@s(eZdZdZdd�Zdd�Zdd�ZdS)	ra�Interface for stream protocol with manual buffer control.

    Important: this has been added to asyncio in Python 3.7
    *on a provisional basis*!  Consider it as an experimental API that
    might be changed or removed in Python 3.8.

    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()
    cCsdS)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�s	zBufferedProtocol.get_buffercCsdS)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�szBufferedProtocol.buffer_updatedcCsdS)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.
        Nr)rrrrr�szBufferedProtocol.eof_receivedN)rrrrrrrrrrrrisrc@s eZdZdZdd�Zdd�ZdS)rz Interface for datagram protocol.cCsdS)z&Called when some datagram is received.Nr)rrZaddrrrr�datagram_received�sz"DatagramProtocol.datagram_receivedcCsdS)z~Called when a send or receive operation raises an OSError.

        (Other than BlockingIOError or InterruptedError.)
        Nr)rr
rrr�error_received�szDatagramProtocol.error_receivedN)rrrrrrrrrrr�src@s(eZdZdZdd�Zdd�Zdd�ZdS)	rz,Interface for protocol for subprocess calls.cCsdS)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�sz%SubprocessProtocol.pipe_data_receivedcCsdS)z�Called when a file descriptor associated with the child process is
        closed.

        fd is the int file descriptor that was closed.
        Nr)rrr
rrr�pipe_connection_lost�sz'SubprocessProtocol.pipe_connection_lostcCsdS)z"Called when subprocess has exited.Nr)rrrr�process_exited�sz!SubprocessProtocol.process_exitedN)rrrrrrrrrrrr�srcCs�t|�}xz|r�|�|�}t|�}|s,td��||krN||d|�<|�|�dS|d|�|d|�<|�|�||d�}t|�}q
WdS)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>s7)7



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.34 AM
root / linksafe
0755
__init__.cpython-37.opt-1.pyc
0.671 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__init__.cpython-37.opt-2.pyc
0.616 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
__init__.cpython-37.pyc
0.671 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_events.cpython-37.opt-1.pyc
47.163 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_events.cpython-37.opt-2.pyc
38.447 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
base_events.cpython-37.pyc
47.384 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_futures.cpython-37.opt-1.pyc
2.05 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_futures.cpython-37.opt-2.pyc
1.714 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
base_futures.cpython-37.pyc
2.05 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_subprocess.cpython-37.opt-1.pyc
8.881 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_subprocess.cpython-37.opt-2.pyc
8.781 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
base_subprocess.cpython-37.pyc
8.973 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_tasks.cpython-37.opt-1.pyc
1.819 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
base_tasks.cpython-37.opt-2.pyc
1.819 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
base_tasks.cpython-37.pyc
1.819 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
constants.cpython-37.opt-1.pyc
0.574 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
constants.cpython-37.opt-2.pyc
0.574 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
constants.cpython-37.pyc
0.574 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
coroutines.cpython-37.opt-1.pyc
6.143 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
coroutines.cpython-37.opt-2.pyc
5.916 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
coroutines.cpython-37.pyc
6.226 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
events.cpython-37.opt-1.pyc
27.128 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
events.cpython-37.opt-2.pyc
18.081 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
events.cpython-37.pyc
27.233 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
format_helpers.cpython-37.opt-1.pyc
2.26 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
format_helpers.cpython-37.opt-2.pyc
2.021 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
format_helpers.cpython-37.pyc
2.26 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
futures.cpython-37.opt-1.pyc
10.39 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
futures.cpython-37.opt-2.pyc
7.152 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
futures.cpython-37.pyc
10.561 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
locks.cpython-37.opt-1.pyc
15.537 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
locks.cpython-37.opt-2.pyc
9.08 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
locks.cpython-37.pyc
15.537 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
log.cpython-37.opt-1.pyc
0.231 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
log.cpython-37.opt-2.pyc
0.193 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
log.cpython-37.pyc
0.231 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
proactor_events.cpython-37.opt-1.pyc
19.409 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
proactor_events.cpython-37.opt-2.pyc
19.019 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
proactor_events.cpython-37.pyc
19.614 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
protocols.cpython-37.opt-1.pyc
8.521 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
protocols.cpython-37.opt-2.pyc
3.118 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
protocols.cpython-37.pyc
8.521 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
queues.cpython-37.opt-1.pyc
7.979 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
queues.cpython-37.opt-2.pyc
5.346 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
queues.cpython-37.pyc
7.979 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
runners.cpython-37.opt-1.pyc
1.894 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
runners.cpython-37.opt-2.pyc
1.228 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
runners.cpython-37.pyc
1.894 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
selector_events.cpython-37.opt-1.pyc
27.724 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
selector_events.cpython-37.opt-2.pyc
26.114 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
selector_events.cpython-37.pyc
27.784 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sslproto.cpython-37.opt-1.pyc
20.564 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sslproto.cpython-37.opt-2.pyc
13.895 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
sslproto.cpython-37.pyc
20.758 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
streams.cpython-37.opt-1.pyc
19.541 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
streams.cpython-37.opt-2.pyc
13.449 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
streams.cpython-37.pyc
19.81 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
subprocess.cpython-37.opt-1.pyc
6.562 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
subprocess.cpython-37.opt-2.pyc
6.435 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
subprocess.cpython-37.pyc
6.591 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
tasks.cpython-37.opt-1.pyc
21.738 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
tasks.cpython-37.opt-2.pyc
14.681 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
tasks.cpython-37.pyc
21.793 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
transports.cpython-37.opt-1.pyc
11.893 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
transports.cpython-37.opt-2.pyc
6.364 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
transports.cpython-37.pyc
11.922 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
unix_events.cpython-37.opt-1.pyc
31.249 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
unix_events.cpython-37.opt-2.pyc
27.637 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
unix_events.cpython-37.pyc
31.586 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
windows_events.cpython-37.opt-1.pyc
22.524 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
windows_events.cpython-37.opt-2.pyc
21.44 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
windows_events.cpython-37.pyc
22.524 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
windows_utils.cpython-37.opt-1.pyc
4.213 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
windows_utils.cpython-37.opt-2.pyc
3.789 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
windows_utils.cpython-37.pyc
4.295 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF