o
    i`                     @   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                   @   s:   e Zd ZdZejdd Zejdd Zejdd ZdS )	
ChannelABCz"A base class for all channel ABCs.c                 C      dS )zStart the channel.N selfr   r   U/var/www/edux/Edux_v2/venv/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_aliveN)	__name__
__module____qualname____doc__abcabstractmethodr   r
   r   r   r   r   r   r      s    

r   )	metaclassc                   @   sH   e Zd ZdZejdd Zejdd Zejdd Z	ejdd	 Z
d
S )HBChannelABCzHBChannel ABC.

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

    `jupyter_client.channels.HBChannel`
    c                 C   s   d S )Nr   r   r   r   r   time_to_dead"   s   zHBChannelABC.time_to_deadc                 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_beatingN)r   r   r   r   r   abstractpropertyr   r   r   r   r   r   r   r   r   r      s    


r   )r   r   ABCMetar   r   r   r   r   r   <module>   s    