MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python35/lib64/python3.5/site-packages/aiohttp/__pycache__/abc.cpython-35.opt-1.pyc


���Z>
�@s�ddlZddlmZmZddlmZmZGdd�de�ZGdd�de�ZGdd	�d	e�Z	Gd
d�de�Z
Gdd
�d
ee�ZGdd�de�ZGdd�de�Z
dS)�N)�ABC�abstractmethod)�Iterable�Sizedc@sXeZdZdd�Zdd�Zedd��Zdd�Zed	d
��Z	dS)�AbstractRoutercCs
d|_dS)NF)�_frozen)�self�r	�/abc.py�__init__szAbstractRouter.__init__cCsdS)z�Post init stage.

        Not an abstract method for sake of backward compatibility,
        but if the router wants to be aware of the application
        it can override this.
        Nr	)r�appr	r	r
�	post_initszAbstractRouter.post_initcCs|jS)N)r)rr	r	r
�frozenszAbstractRouter.frozencCs
d|_dS)zFreeze router.TN)r)rr	r	r
�freezeszAbstractRouter.freezec�sdS)z#Return MATCH_INFO for given requestNr	)r�requestr	r	r
�resolveszAbstractRouter.resolveN)
�__name__�
__module__�__qualname__rr
�propertyrrrrr	r	r	r
rs
rc@s�eZdZedd��Zedd��Zeedd���Zedd��Zeed	d
���Z	edd��Z
ed
d��ZdS)�AbstractMatchInfoc�sdS)zExecute matched request handlerNr	)rrr	r	r
�handler"szAbstractMatchInfo.handlerc�sdS)z*Expect handler for 100-continue processingNr	)rrr	r	r
�expect_handler&sz AbstractMatchInfo.expect_handlercCsdS)z<HTTPException instance raised on router's resolving, or NoneNr	)rr	r	r
�http_exception*sz AbstractMatchInfo.http_exceptioncCsdS)z;Return a dict with additional info useful for introspectionNr	)rr	r	r
�get_info/szAbstractMatchInfo.get_infocCsdS)z\Stack of nested applications.

        Top level application is left-most element.

        Nr	)rr	r	r
�apps3szAbstractMatchInfo.appscCsdS)z)Add application to the nested apps stack.Nr	)rrr	r	r
�add_app<szAbstractMatchInfo.add_appcCsdS)z�Freeze the match info.

        The method is called after route resolution.

        After the call .add_app() is forbidden.

        Nr	)rr	r	r
r@szAbstractMatchInfo.freezeN)rrrrrrrrrrrrr	r	r	r
r src@sFeZdZdZdd�Zedd��Zedd��ZdS)	�AbstractViewzAbstract class based view.cCs
||_dS)N)�_request)rrr	r	r
rNszAbstractView.__init__cCs|jS)zRequest instance.)r)rr	r	r
rQszAbstractView.requestcCsdS)zExecute the view handler.Nr	)rr	r	r
�	__await__VszAbstractView.__await__N)	rrr�__doc__rrrrrr	r	r	r
rKsrc@s:eZdZdZedd��Zedd��ZdS)�AbstractResolverzAbstract DNS resolver.c�sdS)z$Return IP address for given hostnameNr	)r�hostnamer	r	r
r^szAbstractResolver.resolvec�sdS)zRelease resolverNr	)rr	r	r
�closebszAbstractResolver.closeN)rrrr rrr#r	r	r	r
r![sr!c@saeZdZdZdddd�Zedd��Zeddd	��Zed
d��ZdS)�AbstractCookieJarzAbstract Cookie Jar.�loopNcCs|ptj�|_dS)N)�asyncioZget_event_loopZ_loop)rr%r	r	r
rjszAbstractCookieJar.__init__cCsdS)zClear all cookies.Nr	)rr	r	r
�clearmszAbstractCookieJar.clearcCsdS)zUpdate cookies.Nr	)rZcookiesZresponse_urlr	r	r
�update_cookiesqsz AbstractCookieJar.update_cookiescCsdS)z6Return the jar's cookies filtered by their attributes.Nr	)rZrequest_urlr	r	r
�filter_cookiesusz AbstractCookieJar.filter_cookies)	rrrr rrr'r(r)r	r	r	r
r$gsr$c@sOeZdZdZedd��Zeddd��Zedd��Zd	S)
�AbstractStreamWriterzAbstract stream writer.c�sdS)zWrite chunk into stream.Nr	)r�chunkr	r	r
�write}szAbstractStreamWriter.write�c�sdS)zWrite last chunk.Nr	)rr+r	r	r
�	write_eof�szAbstractStreamWriter.write_eofc�sdS)zFlush the write buffer.Nr	)rr	r	r
�drain�szAbstractStreamWriter.drainN)rrrr rr,r.r/r	r	r	r
r*zs
r*c@s4eZdZdZdd�Zedd��ZdS)�AbstractAccessLoggerzAbstract writer to access log.cCs||_||_dS)N)�logger�
log_format)rr1r2r	r	r
r�s	zAbstractAccessLogger.__init__cCsdS)zEmit log to logger.Nr	)rr�response�timer	r	r
�log�szAbstractAccessLogger.logN)rrrr rrr5r	r	r	r
r0�sr0)r&�abcrr�collections.abcrrrrrr!r$r*r0r	r	r	r
�<module>s+