HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //proc/thread-self/root/lib64/python3.6/site-packages/zmq/auth/__pycache__/asyncio.cpython-36.pyc
3

VS�_M�@sFdZddlZddlZddlmZddlmZGdd�de�ZdgZdS)zOZAP Authenticator integrated with the asyncio IO loop.

.. versionadded:: 15.2
�N)�Poller�)�
AuthenticatorcsBeZdZdZd�fdd�	Zdd�Z�fdd�Z�fd	d
�Z�ZS)�AsyncioAuthenticatorz1ZAP authentication for use in the asyncio IO loopNcs*t�j|�|ptj�|_d|_d|_dS)N)�super�__init__�asyncioZget_event_loop�loop�_AsyncioAuthenticator__poller�_AsyncioAuthenticator__task)�self�contextr	)�	__class__��/usr/lib64/python3.6/asyncio.pyrszAsyncioAuthenticator.__init__c�sBx<|jj�IdH}|jt|�kr|jj�IdH}|j|�qWdS)N)r
Zpoll�
zap_socket�dictZrecv_multipartZhandle_zap_message)rZevents�msgrrrZ__handle_zaps
z!AsyncioAuthenticator.__handle_zapcs8t�j�t�|_|jj|jtj�tj	|j
��|_dS)zStart ZAP authenticationN)r�startrr
�registerr�zmqZPOLLINrZ
ensure_future�!_AsyncioAuthenticator__handle_zapr)r)rrrr s
zAsyncioAuthenticator.startcs8|jr|jj�|jr*|jj|j�d|_t�j�dS)zStop ZAP authenticationN)rZcancelr
Z
unregisterrr�stop)r)rrrr's
zAsyncioAuthenticator.stop)NN)	�__name__�
__module__�__qualname__�__doc__rrrr�
__classcell__rr)rrrs
r)	rrrZzmq.asyncior�baserr�__all__rrrr�<module>s!