$52 GRAYBYTE WORDPRESS FILE MANAGER $26

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

/opt/alt/python34/lib64/python3.4/asyncio/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/asyncio/__pycache__//transports.cpython-34.pyc
�
j f}&�@s�dZddlmZddddddgZGd	d�d�ZGd
d�de�ZGdd�de�ZGdd�dee�ZGd
d�de�ZGdd�de�Z	Gdd�de�Z
dS)zAbstract Transport class.�)�compat�
BaseTransport�
ReadTransport�WriteTransport�	Transport�DatagramTransport�SubprocessTransportc@sLeZdZdZddd�Zddd�Zdd�Zd	d
�ZdS)rzBase class for transports.NcCs"|dkri}n||_dS)N)�_extra)�self�extra�r�7/opt/alt/python34/lib64/python3.4/asyncio/transports.py�__init__
s	zBaseTransport.__init__cCs|jj||�S)z#Get optional transport information.)r	�get)r
�name�defaultrrr
�get_extra_infoszBaseTransport.get_extra_infocCs
t�dS)z2Return True if the transport is closing or closed.N)�NotImplementedError)r
rrr
�
is_closingszBaseTransport.is_closingcCs
t�dS)a
Close the transport.

        Buffered data will be flushed asynchronously.  No more data
        will be received.  After all buffered data is flushed, the
        protocol's connection_lost() method will (eventually) called
        with None as its argument.
        N)r)r
rrr
�closeszBaseTransport.close)�__name__�
__module__�__qualname__�__doc__rrrrrrrr
r
s
c@s.eZdZdZdd�Zdd�ZdS)rz#Interface for read-only transports.cCs
t�dS)z�Pause the receiving end.

        No data will be passed to the protocol's data_received()
        method until resume_reading() is called.
        N)r)r
rrr
�
pause_reading(szReadTransport.pause_readingcCs
t�dS)z�Resume the receiving end.

        Data received will once again be passed to the protocol's
        data_received() method.
        N)r)r
rrr
�resume_reading0szReadTransport.resume_readingN)rrrrrrrrrr
r%sc@speZdZdZdddd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)rz$Interface for write-only transports.NcCs
t�dS)a�Set the high- and low-water limits for write flow control.

        These two values control when to call the protocol's
        pause_writing() and resume_writing() methods.  If specified,
        the low-water limit must be less than or equal to the
        high-water limit.  Neither value can be negative.

        The defaults are implementation-specific.  If only the
        high-water limit is given, the low-water limit defaults to an
        implementation-specific value less than or equal to the
        high-water limit.  Setting high to zero forces low to zero as
        well, and causes pause_writing() to be called whenever the
        buffer becomes non-empty.  Setting low to zero causes
        resume_writing() to be called only once the buffer is empty.
        Use of zero for either limit is generally sub-optimal as it
        reduces opportunities for doing I/O and computation
        concurrently.
        N)r)r
�high�lowrrr
�set_write_buffer_limits<sz&WriteTransport.set_write_buffer_limitscCs
t�dS)z,Return the current size of the write buffer.N)r)r
rrr
�get_write_buffer_sizeQsz$WriteTransport.get_write_buffer_sizecCs
t�dS)z�Write some data bytes to the transport.

        This does not block; it buffers the data and arranges for it
        to be sent out asynchronously.
        N)r)r
�datarrr
�writeUszWriteTransport.writecCs tj|�}|j|�dS)z�Write a list (or any iterable) of data bytes to the transport.

        The default implementation concatenates the arguments and
        calls write() on the result.
        N)rZflatten_list_bytesr!)r
Zlist_of_datar rrr
�
writelines]szWriteTransport.writelinescCs
t�dS)z�Close the write end after flushing buffered data.

        (This is like typing ^D into a UNIX program reading from stdin.)

        Data may still be received.
        N)r)r
rrr
�	write_eoffszWriteTransport.write_eofcCs
t�dS)zAReturn True if this transport supports write_eof(), False if not.N)r)r
rrr
�
can_write_eofoszWriteTransport.can_write_eofcCs
t�dS)z�Close the transport immediately.

        Buffered data will be lost.  No more data will be received.
        The protocol's connection_lost() method will (eventually) be
        called with None as its argument.
        N)r)r
rrr
�abortsszWriteTransport.abort)rrrrrrr!r"r#r$r%rrrr
r9s		c@seZdZdZdS)raSInterface representing a bidirectional transport.

    There may be several implementations, but typically, the user does
    not implement new transports; rather, the platform provides some
    useful transports that are implemented using the platform's best
    practices.

    The user never instantiates a transport directly; they call a
    utility function, passing it a protocol factory and other
    information necessary to create the transport and protocol.  (E.g.
    EventLoop.create_connection() or EventLoop.create_server().)

    The utility function will asynchronously create a transport and a
    protocol and hook them up by calling the protocol's
    connection_made() method, passing it the transport.

    The implementation here raises NotImplemented for every method
    except writelines(), which calls write() in a loop.
    N)rrrrrrrr
r}sc@s1eZdZdZddd�Zdd�ZdS)rz(Interface for datagram (UDP) transports.NcCs
t�dS)aSend data to the transport.

        This does not block; it buffers the data and arranges for it
        to be sent out asynchronously.
        addr is target socket address.
        If addr is None use target address pointed on transport creation.
        N)r)r
r Zaddrrrr
�sendto�szDatagramTransport.sendtocCs
t�dS)z�Close the transport immediately.

        Buffered data will be lost.  No more data will be received.
        The protocol's connection_lost() method will (eventually) be
        called with None as its argument.
        N)r)r
rrr
r%�szDatagramTransport.abort)rrrrr&r%rrrr
r�s
c@sXeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)rcCs
t�dS)zGet subprocess id.N)r)r
rrr
�get_pid�szSubprocessTransport.get_pidcCs
t�dS)z�Get subprocess returncode.

        See also
        http://docs.python.org/3/library/subprocess#subprocess.Popen.returncode
        N)r)r
rrr
�get_returncode�sz"SubprocessTransport.get_returncodecCs
t�dS)z&Get transport for pipe with number fd.N)r)r
�fdrrr
�get_pipe_transport�sz&SubprocessTransport.get_pipe_transportcCs
t�dS)z�Send signal to subprocess.

        See also:
        docs.python.org/3/library/subprocess#subprocess.Popen.send_signal
        N)r)r
�signalrrr
�send_signal�szSubprocessTransport.send_signalcCs
t�dS)aLStop the subprocess.

        Alias for close() method.

        On Posix OSs the method sends SIGTERM to the subprocess.
        On Windows the Win32 API function TerminateProcess()
         is called to stop the subprocess.

        See also:
        http://docs.python.org/3/library/subprocess#subprocess.Popen.terminate
        N)r)r
rrr
�	terminate�szSubprocessTransport.terminatecCs
t�dS)z�Kill the subprocess.

        On Posix OSs the function sends SIGKILL to the subprocess.
        On Windows kill() is an alias for terminate().

        See also:
        http://docs.python.org/3/library/subprocess#subprocess.Popen.kill
        N)r)r
rrr
�kill�s	zSubprocessTransport.killN)	rrrr'r(r*r,r-r.rrrr
r�scs�eZdZdZdd�fdd�Zdd�Zdd�Zd	d
�Zdddd�Zddd
d�Z	dd�Z
�S)�_FlowControlMixinavAll the logic for (write) flow control in a mix-in base class.

    The subclass must implement get_write_buffer_size().  It must call
    _maybe_pause_protocol() whenever the write buffer size increases,
    and _maybe_resume_protocol() whenever it decreases.  It may also
    override set_write_buffer_limits() (e.g. to specify different
    defaults).

    The subclass constructor must call super().__init__(extra).  This
    will call set_write_buffer_limits().

    The user may call set_write_buffer_limits() and
    get_write_buffer_size(), and their protocol's pause_writing() and
    resume_writing() may be called.
    NcsBt�j|�|dk	s"t�||_d|_|j�dS)NF)�superr�AssertionError�_loop�_protocol_paused�_set_write_buffer_limits)r
rZloop)�	__class__rr
r�s
		z_FlowControlMixin.__init__cCs�|j�}||jkrdS|js�d|_y|jj�Wq�tk
r�}z4|jjidd6|d6|d6|jd6�WYdd}~Xq�XndS)NTzprotocol.pause_writing() failed�message�	exception�	transport�protocol)r�_high_waterr3�	_protocolZ
pause_writing�	Exceptionr2�call_exception_handler)r
�size�excrrr
�_maybe_pause_protocol�s		z'_FlowControlMixin._maybe_pause_protocolcCs�|jr�|j�|jkr�d|_y|jj�Wq�tk
r�}z4|jjidd6|d6|d6|jd6�WYdd}~Xq�XndS)NFz protocol.resume_writing() failedr6r7r8r9)r3r�
_low_waterr;Zresume_writingr<r2r=)r
r?rrr
�_maybe_resume_protocols		z(_FlowControlMixin._maybe_resume_protocolcCs|j|jfS)N)rAr:)r
rrr
�get_write_buffer_limitssz)_FlowControlMixin.get_write_buffer_limitscCs�|dkr.|dkr!d}q.d|}n|dkrG|d}n||ko^dkns|td||f��n||_||_dS)N�@i�rz*high (%r) must be >= low (%r) must be >= 0i)�
ValueErrorr:rA)r
rrrrr
r4s	

	z*_FlowControlMixin._set_write_buffer_limitscCs$|jd|d|�|j�dS)Nrr)r4r@)r
rrrrr
r%sz)_FlowControlMixin.set_write_buffer_limitscCs
t�dS)N)r)r
rrr
r)sz'_FlowControlMixin.get_write_buffer_size)rrrrrr@rBrCr4rrrr)r5r
r/�sr/N)rZasyncior�__all__rrrrrrr/rrrr
�<module>s	D4


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-34.pyc
0.85 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyo
0.85 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base_events.cpython-34.pyc
37.272 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base_events.cpython-34.pyo
36.948 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base_subprocess.cpython-34.pyc
9.591 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
base_subprocess.cpython-34.pyo
9.469 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
compat.cpython-34.pyc
0.733 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
compat.cpython-34.pyo
0.733 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
constants.cpython-34.pyc
0.236 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
constants.cpython-34.pyo
0.236 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
coroutines.cpython-34.pyc
8.498 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
coroutines.cpython-34.pyo
8.368 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
events.cpython-34.pyc
23.621 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
events.cpython-34.pyo
23.417 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
futures.cpython-34.pyc
15.293 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
futures.cpython-34.pyo
15.025 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
locks.cpython-34.pyc
15.329 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
locks.cpython-34.pyo
15.329 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
log.cpython-34.pyc
0.238 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
log.cpython-34.pyo
0.238 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
proactor_events.cpython-34.pyc
17.587 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
proactor_events.cpython-34.pyo
17.347 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
protocols.cpython-34.pyc
5.948 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
protocols.cpython-34.pyo
5.948 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
queues.cpython-34.pyc
8.722 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
queues.cpython-34.pyo
8.722 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
selector_events.cpython-34.pyc
30.271 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
selector_events.cpython-34.pyo
30.208 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sslproto.cpython-34.pyc
20.805 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
sslproto.cpython-34.pyo
20.56 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
streams.cpython-34.pyc
20.356 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
streams.cpython-34.pyo
20.008 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
subprocess.cpython-34.pyc
6.984 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
subprocess.cpython-34.pyo
6.949 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tasks.cpython-34.pyc
22.315 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
tasks.cpython-34.pyo
22.116 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_utils.cpython-34.pyc
15.955 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
test_utils.cpython-34.pyo
15.558 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
transports.cpython-34.pyc
11.878 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
transports.cpython-34.pyo
11.843 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
unix_events.cpython-34.pyc
30.643 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
unix_events.cpython-34.pyo
30.241 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
windows_events.cpython-34.pyc
22.762 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
windows_events.cpython-34.pyo
22.762 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
windows_utils.cpython-34.pyc
5.804 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
windows_utils.cpython-34.pyo
5.704 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF