§
    dŠtjõ  ã                   ó6   — d Z ddlmZ d„ Z G d„ d¦  «        ZdS )z.gRPC's APIs for TLS Session Resumption supporté    )Úcygrpcc                 óD   — t          t          j        | ¦  «        ¦  «        S )a“  Creates an SSLSessionCache with LRU replacement policy

    Args:
      capacity: Size of the cache

    Returns:
      An SSLSessionCache with LRU replacement policy that can be passed as a value for
      the grpc.ssl_session_cache option to a grpc.Channel. SSL session caches are used
      to store session tickets, which clients can present to resume previous TLS sessions
      with a server.
    )ÚSSLSessionCacheÚ_cygrpcÚSSLSessionCacheLRU)Úcapacitys    ú]/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/grpc/experimental/session_cache.pyÚssl_session_cache_lrur
      s   € õ �7Ô5°hÑ?Ô?Ñ@Ô@Ð@ó    c                   ó   — e Zd ZdZd„ Zd„ ZdS )r   zµAn encapsulation of a session cache used for TLS session resumption.

    Instances of this class can be passed to a Channel as values for the
    grpc.ssl_session_cache option
    c                 ó   — || _         d S ©N)Ú_cache)ÚselfÚcaches     r	   Ú__init__zSSLSessionCache.__init__)   s   € ØˆŒˆˆr   c                 ó*   — t          | j        ¦  «        S r   )Úintr   )r   s    r	   Ú__int__zSSLSessionCache.__int__,   s   € Ý�4”;ÑÔÐr   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   © r   r	   r   r   "   s<   € € € € € ðð ðð ð ð ð  ð  ð  ð  r   r   N)r   Úgrpc._cythonr   r   r
   r   r   r   r	   ú<module>r      sc   ðð 5Ð 4à *Ð *Ð *Ð *Ð *Ð *ðAð Að Að ð  ð  ð  ð  ñ  ô  ð  ð  ð  r   