o
    Zh                     @   s4   d Z ddlZG dd dejdZG dd deZdS )z0Abstract base classes for kernel client channels    Nc                   @   sD   e Zd ZdZejd
ddZejd
ddZejdefdd	Z	dS )
ChannelABCz"A base class for all channel ABCs.returnNc                 C      dS )zStart the channel.N selfr   r   Q/var/www/html/lang_env/lib/python3.10/site-packages/jupyter_client/channelsabc.pystart
      zChannelABC.startc                 C   r   )zStop the channel.Nr   r   r   r   r   stop   r
   zChannelABC.stopc                 C   r   )z"Test whether the channel is alive.Nr   r   r   r   r   is_alive   r
   zChannelABC.is_aliver   N)
__name__
__module____qualname____doc__abcabstractmethodr	   r   boolr   r   r   r   r   r      s    r   )	metaclassc                   @   sX   e Zd ZdZejdefddZejdddZ	ejddd	Z
ejdefd
dZdS )HBChannelABCzHBChannel ABC.

    The docstrings for this class can be found in the base implementation:

    `jupyter_client.channels.HBChannel`
    r   c                 C   s   d S )Nr   r   r   r   r   time_to_dead"   s   zHBChannelABC.time_to_deadNc                 C   r   )zPause the heartbeat channel.Nr   r   r   r   r   pause&   r
   zHBChannelABC.pausec                 C   r   )zUnpause the heartbeat channel.Nr   r   r   r   r   unpause+   r
   zHBChannelABC.unpausec                 C   r   )z$Test whether the channel is beating.Nr   r   r   r   r   
is_beating0   r
   zHBChannelABC.is_beatingr   )r   r   r   r   r   abstractpropertyfloatr   r   r   r   r   r   r   r   r   r   r      s    r   )r   r   ABCMetar   r   r   r   r   r   <module>   s    