Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.143.239.215
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : transports.cpython-313.pyc
�

1}g8*���SrSr"SS5r"SS\5r"SS\5r"SS	\\5r"S
S\5r"SS
\5r"SS\5rg)zAbstract Transport class.)�
BaseTransport�
ReadTransport�WriteTransport�	Transport�DatagramTransport�SubprocessTransportc�H�\rSrSrSrSrSSjrSSjrSrSr	S	r
S
rSrg)r�	zBase class for transports.��_extraNc��Uc0nXlg�Nr
)�self�extras  �9/opt/alt/python313/lib64/python3.13/asyncio/transports.py�__init__�BaseTransport.__init__s���=��E���c�8�URRX5$)z#Get optional transport information.)r�get)r�name�defaults   r�get_extra_info�BaseTransport.get_extra_infos���{�{���t�-�-rc��[e)z2Return True if the transport is closing or closed.��NotImplementedError�rs r�
is_closing�BaseTransport.is_closing���!�!rc��[e)z�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) be
called with None as its argument.
rrs r�close�BaseTransport.closes
��"�!rc��[e)zSet a new protocol.r)r�protocols  r�set_protocol�BaseTransport.set_protocol%r rc��[e)zReturn the current protocol.rrs r�get_protocol�BaseTransport.get_protocol)r rr
)
�__name__�
__module__�__qualname__�__firstlineno__�__doc__�	__slots__rrrr"r&r)�__static_attributes__�rrrr	s(��$��I��
.�"�"�"�"rrc�.�\rSrSrSrSrSrSrSrSr	g)r�.z#Interface for read-only transports.r2c��[e)z*Return True if the transport is receiving.rrs r�
is_reading�ReadTransport.is_reading3r rc��[e)z|Pause the receiving end.

No data will be passed to the protocol's data_received()
method until resume_reading() is called.
rrs r�
pause_reading�ReadTransport.pause_reading7�
��"�!rc��[e)zmResume the receiving end.

Data received will once again be passed to the protocol's
data_received() method.
rrs r�resume_reading�ReadTransport.resume_reading?r;rN)
r+r,r-r.r/r0r6r9r=r1r2rrrr.s��-��I�"�"�"rrc�P�\rSrSrSrSrS
SjrSrSrSr	S	r
S
rSrSr
Srg)r�Hz$Interface for write-only transports.r2Nc��[e)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.
r�r�high�lows   r�set_write_buffer_limits�&WriteTransport.set_write_buffer_limitsMs
��&"�!rc��[e)z,Return the current size of the write buffer.rrs r�get_write_buffer_size�$WriteTransport.get_write_buffer_sizebr rc��[e)z�Get the high and low watermarks for write flow control.
Return a tuple (low, high) where low and high are
positive number of bytes.rrs r�get_write_buffer_limits�&WriteTransport.get_write_buffer_limitsfs
��"�!rc��[e)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.
r)r�datas  r�write�WriteTransport.writelr;rc�H�SRU5nURU5 g)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.
rN)�joinrO)r�list_of_datarNs   r�
writelines�WriteTransport.writelinests���x�x��%���
�
�4�rc��[e)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.
rrs r�	write_eof�WriteTransport.write_eof}�
��"�!rc��[e)zAReturn True if this transport supports write_eof(), False if not.rrs r�
can_write_eof�WriteTransport.can_write_eof�r rc��[e�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.
rrs r�abort�WriteTransport.abort�rYr�NN)r+r,r-r.r/r0rErHrKrOrTrWr[r_r1r2rrrrHs2��.��I�"�*"�"�"��"�"�"rrc��\rSrSrSrSrSrg)r�aInterface 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.
r2N)r+r,r-r.r/r0r1r2rrrr�s���(�Irrc�,�\rSrSrSrSrSSjrSrSrg)r�z(Interface for datagram (UDP) transports.r2Nc��[e)a Send 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.
If data is an empty bytes object a zero-length datagram will be
sent.
r)rrN�addrs   r�sendto�DatagramTransport.sendto�s
��"�!rc��[er^rrs rr_�DatagramTransport.abort�rYrr
)	r+r,r-r.r/r0rhr_r1r2rrrr�s��2��I�
"�"rrc�<�\rSrSrSrSrSrSrSrSr	Sr
Srg	)
r��r2c��[e)zGet subprocess id.rrs r�get_pid�SubprocessTransport.get_pid�r rc��[e)zmGet subprocess returncode.

See also
http://docs.python.org/3/library/subprocess#subprocess.Popen.returncode
rrs r�get_returncode�"SubprocessTransport.get_returncode�r;rc��[e)z&Get transport for pipe with number fd.r)r�fds  r�get_pipe_transport�&SubprocessTransport.get_pipe_transport�r rc��[e)zhSend signal to subprocess.

See also:
docs.python.org/3/library/subprocess#subprocess.Popen.send_signal
r)r�signals  r�send_signal�SubprocessTransport.send_signal�r;rc��[e)aStop 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
rrs r�	terminate�SubprocessTransport.terminate�s
��"�!rc��[e)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
rrs r�kill�SubprocessTransport.kill�s
��"�!rN)r+r,r-r.r0rorrrvrzr}r�r1r2rrrr�s%���I�"�"�"�"�"�	"rrc�`^�\rSrSrSrSrSU4SjjrSrSrSr	SSjr
SS	jrS
rSr
U=r$)
�_FlowControlMixin�aJAll 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.
)�_loop�_protocol_paused�_high_water�
_low_waterc�h>�[TU]U5 UceX lSUlUR	5 g)NF)�superrr�r��_set_write_buffer_limits)rr�loop�	__class__s   �rr�_FlowControlMixin.__init__s5���
����������
� %����%�%�'rc�N�UR5nXR::agUR(d#SUlURR	5 gg![
[4a e[a4nURRSUUURS.5 SnAgSnAff=f)NTzprotocol.pause_writing() failed��message�	exception�	transportr%)
rHr�r��	_protocol�
pause_writing�
SystemExit�KeyboardInterrupt�
BaseExceptionr��call_exception_handler)r�size�excs   r�_maybe_pause_protocol�'_FlowControlMixin._maybe_pause_protocols����)�)�+���#�#�#���$�$�$(�D�!�

����,�,�.�%��� 1�2�
�� �
��
�
�1�1�@�!$�!%� $���	3����
�s�A�B$�0*B�B$c�L�UR(aBUR5UR::a#SUlURR	5 ggg![
[4a e[a4nURRSUUURS.5 SnAgSnAff=f)NFz protocol.resume_writing() failedr�)
r�rHr�r��resume_writingr�r�r�r�r�)rr�s  r�_maybe_resume_protocol�(_FlowControlMixin._maybe_resume_protocol)s����!�!��*�*�,����?�$)�D�!�

����-�-�/�@�
"��
� 1�2�
�� �
��
�
�1�1�A�!$�!%� $���	3����
�s�A�B#�/*B�B#c�2�URUR4$r
)r�r�rs rrK�)_FlowControlMixin.get_write_buffer_limits9s������!1�!1�2�2rc��UcUcSnOSU-nUcUS-nXs=:�aS:�dO [SU<SU<S35eXlX lg)Ni��zhigh (z) must be >= low (z) must be >= 0)�
ValueErrorr�r�rBs   rr��*_FlowControlMixin._set_write_buffer_limits<sb���<��{� ���3�w���;��!�)�C���a������ 2�3�'��H�J�
J� ���rc�B�URXS9 UR5 g)N)rCrD)r�r�rBs   rrE�)_FlowControlMixin.set_write_buffer_limitsLs���%�%�4�%�9��"�"�$rc��[er
rrs rrH�'_FlowControlMixin.get_write_buffer_sizePs��!�!r)r�r�r�r�ra)r+r,r-r.r/r0rr�r�rKr�rErHr1�
__classcell__)r�s@rr�r��s8���� K�I�(��$� 3�� %�"�"rr�N)	r/�__all__rrrrrrr�r2rr�<module>r�sj�����""�""�J"�M�"�4I"�]�I"�X�
�~��0"�
�"�63"�-�3"�lT"�	�T"r
© 2025 GrazzMean-Shell