
    Mh                     V    d Z ddlZ G d dej                  Z G d de          ZdS )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	dS )
ChannelABCz"A base class for all channel ABCs.returnNc                     dS )zStart the channel.N selfs    Z/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/jupyter_client/channelsabc.pystartzChannelABC.start
   	     	    c                     dS )zStop the channel.Nr   r   s    r
   stopzChannelABC.stop   r   r   c                     dS )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      s        ,,    	    	$      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dS )	HBChannelABCzHBChannel ABC.

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

    `jupyter_client.channels.HBChannel`
    r   c                     d S )Nr   r   s    r
   time_to_deadzHBChannelABC.time_to_dead"   s    r   Nc                     dS )zPause the heartbeat channel.Nr   r   s    r
   pausezHBChannelABC.pause&   r   r   c                     dS )zUnpause the heartbeat channel.Nr   r   s    r
   unpausezHBChannelABC.unpause+   r   r   c                     dS )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 6 


    3;    &    :     r   