Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /lib64/python3.6/asyncio/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.6/asyncio/__pycache__/protocols.cpython-36.pyc
3


 \��@sRdZddddgZGdd�d�ZGdd�de�ZGdd�de�ZGdd�de�Zd	S)
zAbstract Protocol class.�BaseProtocol�Protocol�DatagramProtocol�SubprocessProtocolc@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�)/usr/lib64/python3.6/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_writing7szBaseProtocol.resume_writingN)�__name__�
__module__�__qualname__�__doc__rr
rrrrrrrs
c@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_receivedXszProtocol.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)r
rrrrrrrrrr>sc@s eZdZdZdd�Zdd�ZdS)rz Interface for datagram protocol.cCsdS)z&Called when some datagram is received.Nr)rrZaddrrrr�datagram_receivedjsz"DatagramProtocol.datagram_receivedcCsdS)z~Called when a send or receive operation raises an OSError.

        (Other than BlockingIOError or InterruptedError.)
        Nr)rr	rrr�error_receivedmszDatagramProtocol.error_receivedN)r
rrrrrrrrrrgsc@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_receivedwsz%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)r
rrrrrrrrrrrtsN)r�__all__rrrrrrrr�<module>s7)
Name
Size
Permissions
Options
__init__.cpython-36.opt-1.pyc
0.762 KB
-rw-r--r--
__init__.cpython-36.opt-2.pyc
0.707 KB
-rw-r--r--
__init__.cpython-36.pyc
0.762 KB
-rw-r--r--
base_events.cpython-36.opt-1.pyc
38.192 KB
-rw-r--r--
base_events.cpython-36.opt-2.pyc
30.524 KB
-rw-r--r--
base_events.cpython-36.pyc
38.425 KB
-rw-r--r--
base_futures.cpython-36.opt-1.pyc
2.001 KB
-rw-r--r--
base_futures.cpython-36.opt-2.pyc
1.665 KB
-rw-r--r--
base_futures.cpython-36.pyc
2.001 KB
-rw-r--r--
base_subprocess.cpython-36.opt-1.pyc
8.953 KB
-rw-r--r--
base_subprocess.cpython-36.opt-2.pyc
8.854 KB
-rw-r--r--
base_subprocess.cpython-36.pyc
9.047 KB
-rw-r--r--
base_tasks.cpython-36.opt-1.pyc
1.819 KB
-rw-r--r--
base_tasks.cpython-36.opt-2.pyc
1.819 KB
-rw-r--r--
base_tasks.cpython-36.pyc
1.819 KB
-rw-r--r--
compat.cpython-36.opt-1.pyc
0.717 KB
-rw-r--r--
compat.cpython-36.opt-2.pyc
0.601 KB
-rw-r--r--
compat.cpython-36.pyc
0.717 KB
-rw-r--r--
constants.cpython-36.opt-1.pyc
0.247 KB
-rw-r--r--
constants.cpython-36.opt-2.pyc
0.221 KB
-rw-r--r--
constants.cpython-36.pyc
0.247 KB
-rw-r--r--
coroutines.cpython-36.opt-1.pyc
8.248 KB
-rw-r--r--
coroutines.cpython-36.opt-2.pyc
8.021 KB
-rw-r--r--
coroutines.cpython-36.pyc
8.354 KB
-rw-r--r--
events.cpython-36.opt-1.pyc
24.641 KB
-rw-r--r--
events.cpython-36.opt-2.pyc
17.243 KB
-rw-r--r--
events.cpython-36.pyc
24.746 KB
-rw-r--r--
futures.cpython-36.opt-1.pyc
13.188 KB
-rw-r--r--
futures.cpython-36.opt-2.pyc
7.455 KB
-rw-r--r--
futures.cpython-36.pyc
13.427 KB
-rw-r--r--
locks.cpython-36.opt-1.pyc
15.088 KB
-rw-r--r--
locks.cpython-36.opt-2.pyc
8.703 KB
-rw-r--r--
locks.cpython-36.pyc
15.088 KB
-rw-r--r--
log.cpython-36.opt-1.pyc
0.215 KB
-rw-r--r--
log.cpython-36.opt-2.pyc
0.177 KB
-rw-r--r--
log.cpython-36.pyc
0.215 KB
-rw-r--r--
proactor_events.cpython-36.opt-1.pyc
16.249 KB
-rw-r--r--
proactor_events.cpython-36.opt-2.pyc
15.858 KB
-rw-r--r--
proactor_events.cpython-36.pyc
16.43 KB
-rw-r--r--
protocols.cpython-36.opt-1.pyc
5.839 KB
-rw-r--r--
protocols.cpython-36.opt-2.pyc
2.17 KB
-rw-r--r--
protocols.cpython-36.pyc
5.839 KB
-rw-r--r--
queues.cpython-36.opt-1.pyc
8.209 KB
-rw-r--r--
queues.cpython-36.opt-2.pyc
5.413 KB
-rw-r--r--
queues.cpython-36.pyc
8.209 KB
-rw-r--r--
selector_events.cpython-36.opt-1.pyc
28.819 KB
-rw-r--r--
selector_events.cpython-36.opt-2.pyc
27.266 KB
-rw-r--r--
selector_events.cpython-36.pyc
28.876 KB
-rw-r--r--
sslproto.cpython-36.opt-1.pyc
19.671 KB
-rw-r--r--
sslproto.cpython-36.opt-2.pyc
13.001 KB
-rw-r--r--
sslproto.cpython-36.pyc
19.868 KB
-rw-r--r--
streams.cpython-36.opt-1.pyc
19.176 KB
-rw-r--r--
streams.cpython-36.opt-2.pyc
13.045 KB
-rw-r--r--
streams.cpython-36.pyc
19.45 KB
-rw-r--r--
subprocess.cpython-36.opt-1.pyc
6.637 KB
-rw-r--r--
subprocess.cpython-36.opt-2.pyc
6.474 KB
-rw-r--r--
subprocess.cpython-36.pyc
6.666 KB
-rw-r--r--
tasks.cpython-36.opt-1.pyc
18.474 KB
-rw-r--r--
tasks.cpython-36.opt-2.pyc
11.732 KB
-rw-r--r--
tasks.cpython-36.pyc
18.647 KB
-rw-r--r--
test_utils.cpython-36.opt-1.pyc
17.106 KB
-rw-r--r--
test_utils.cpython-36.opt-2.pyc
15.839 KB
-rw-r--r--
test_utils.cpython-36.pyc
17.269 KB
-rw-r--r--
transports.cpython-36.opt-1.pyc
11.75 KB
-rw-r--r--
transports.cpython-36.opt-2.pyc
6.265 KB
-rw-r--r--
transports.cpython-36.pyc
11.779 KB
-rw-r--r--
unix_events.cpython-36.opt-1.pyc
29.506 KB
-rw-r--r--
unix_events.cpython-36.opt-2.pyc
25.894 KB
-rw-r--r--
unix_events.cpython-36.pyc
29.841 KB
-rw-r--r--
windows_events.cpython-36.opt-1.pyc
20.992 KB
-rw-r--r--
windows_events.cpython-36.opt-2.pyc
19.906 KB
-rw-r--r--
windows_events.cpython-36.pyc
20.992 KB
-rw-r--r--
windows_utils.cpython-36.opt-1.pyc
5.17 KB
-rw-r--r--
windows_utils.cpython-36.opt-2.pyc
4.599 KB
-rw-r--r--
windows_utils.cpython-36.pyc
5.258 KB
-rw-r--r--