U
    luf                     @   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                   @   sL   e Zd ZdZejddddZejddddZejeddd	Z	dS )

ChannelABCz"A base class for all channel ABCs.Nreturnc                 C   s   dS )zStart the channel.N selfr   r   >/tmp/pip-unpacked-wheel-naub1w99/jupyter_client/channelsabc.pystart
   s    zChannelABC.startc                 C   s   dS )zStop the channel.Nr   r   r   r   r   stop   s    zChannelABC.stopc                 C   s   dS )z"Test whether the channel is alive.Nr   r   r   r   r   is_alive   s    zChannelABC.is_alive)
__name__
__module____qualname____doc__abcabstractmethodr	   r
   boolr   r   r   r   r   r      s   r   )	metaclassc                   @   s`   e Zd ZdZejedddZejddddZ	ejdddd	Z
ejed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   s   dS )zPause the heartbeat channel.Nr   r   r   r   r   pause&   s    zHBChannelABC.pausec                 C   s   dS )zUnpause the heartbeat channel.Nr   r   r   r   r   unpause+   s    zHBChannelABC.unpausec                 C   s   dS )z$Test whether the channel is beating.Nr   r   r   r   r   
is_beating0   s    zHBChannelABC.is_beating)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   