
    f                     R    d Z ddlZ G d dej                        Z G d de      Zy)z0Abstract base classes for kernel client channels    Nc                       e Zd ZdZej
                  dd       Zej
                  dd       Zej
                  defd       Z	y)
ChannelABCz"A base class for all channel ABCs.returnNc                      y)zStart the channel.N selfs    U/var/www/cvtools/html/venv/lib/python3.12/site-packages/jupyter_client/channelsabc.pystartzChannelABC.start
        	    c                      y)zStop the channel.Nr   r   s    r
   stopzChannelABC.stop   r   r   c                      y)z"Test whether the channel is alive.Nr   r   s    r
   is_alivezChannelABC.is_alive   r   r   r   N)
__name__
__module____qualname____doc__abcabstractmethodr   r   boolr   r   r   r
   r   r      sX    ,  	  	$  r   r   )	metaclassc                       e Zd ZdZej
                  defd       Zej                  dd       Z	ej                  dd       Z
ej                  defd       Zy)	HBChannelABCzHBChannel ABC.

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

    `jupyter_client.channels.HBChannel`
    r   c                      y )Nr   r   s    r
   time_to_deadzHBChannelABC.time_to_dead"   s    r   Nc                      y)zPause the heartbeat channel.Nr   r   s    r
   pausezHBChannelABC.pause&   r   r   c                      y)zUnpause the heartbeat channel.Nr   r   s    r
   unpausezHBChannelABC.unpause+   r   r   c                      y)z$Test whether the channel is beating.Nr   r   s    r
   
is_beatingzHBChannelABC.is_beating0   r   r   r   )r   r   r   r   r   abstractpropertyfloatr   r   r    r"   r   r$   r   r   r
   r   r      s}     	e   	  	  	D  r   r   )r   r   ABCMetar   r   r   r   r
   <module>r(      s)    6 3;; &: r   