U mf8 @s\GdddZGdddZGdddeZGdddeZGdd d ZGd d d Zd S) c@s6eZdZd ddZddZddZdd Zd d ZdS) NullContextNcCs ||_dSN enter_result)selfrr?/opt/hc_python/lib/python3.8/site-packages/dns/_asyncbackend.py__init__szNullContext.__init__cCs|jSrrrrrr __enter__ szNullContext.__enter__cCsdSrrrexc_type exc_value tracebackrrr__exit__szNullContext.__exit__cs|jSrrr rrr __aenter__szNullContext.__aenter__csdSrrr rrr __aexit__szNullContext.__aexit__)N)__name__ __module__ __qualname__rr rrrrrrrrs  rc@s<eZdZddZddZddZddZd d Zd d Zd S)SocketcsdSrrr rrrclosesz Socket.closecstdSrNotImplementedErrorr rrr getpeername szSocket.getpeernamecstdSrrr rrr getsockname#szSocket.getsocknamecstdSrr)rtimeoutrrr getpeercert&szSocket.getpeercertcs|Srrr rrrr)szSocket.__aenter__cs|IdHdSr)rr rrrr,szSocket.__aexit__N) rrrrrrrrrrrrrrs rc@s*eZdZedddZddZddZdS) DatagramSocketfamilycCs ||_dSrr)rrrrrr1szDatagramSocket.__init__cstdSrr)rwhat destinationrrrrsendto4szDatagramSocket.sendtocstdSrrrsizerrrrrecvfrom7szDatagramSocket.recvfromN)rrrintrr"r%rrrrr0src@seZdZddZddZdS) StreamSocketcstdSrr)rr rrrrsendall<szStreamSocket.sendallcstdSrrr#rrrrecv?szStreamSocket.recvN)rrrr(r)rrrrr';sr'c@seZdZddZdS) NullTransportcstdSrr)rhostportrZ local_addressrrr connect_tcpDszNullTransport.connect_tcpN)rrrr-rrrrr*Csr*c@s>eZdZddZdddZddZd d Zd d Zd dZdS)BackendcCsdS)Nunknownrr rrrnameIsz Backend.nameNc stdSrr) rafsocktypeprotosourcer!r ssl_contextserver_hostnamerrr make_socketLs zBackend.make_socketcCsdS)NFrr rrrdatagram_connection_requiredYsz$Backend.datagram_connection_requiredcstdSrr)rintervalrrrsleep\sz Backend.sleepcCstdSrrr rrrget_transport_class_szBackend.get_transport_classcstdSrr)rZ awaitablerrrrwait_forbszBackend.wait_for)r1NNNNN) rrrr0r8r9r;r<r=rrrrr.Hs r.N)rrrr'r*r.rrrrs