File: //opt/saltstack/salt/lib/python3.10/site-packages/salt/channel/__pycache__/server.cpython-310.pyc
o
�N�g|� � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Zddl
ZddlZddlZddl
ZddlZddlZddlZddlZddlZddlmZmZ ddlmZ e�e�ZG dd� d�ZG dd� d�ZdS ) z�
Encapsulate the different transports available to Salt.
This includes server side transport, for the ReqServer and the Publisher
� N)�SaltDeserializationError�UnsupportedAlgorithm)�CacheClic @ s� e Zd ZdZedd� �Zedd� �Zdd� Zdd � Zd
d� Z e
jjj
jdd
� �Zdde
jje
jjfdd�Zdd� Zdd� Zdd� Zddd�Zdd� ZdS )�ReqServerChannelzK
ReqServerChannel handles request/reply messages from ReqChannels.
c K s: d|vrd|v r|d |d<