B
    2dk                 @   s6   d Z ddlZG dd de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   s   d S )N )selfr   r   g/work/yifan.wang/ringdown/master-ringdown-env/lib/python3.7/site-packages/jupyter_client/channelsabc.pystart
   s    zChannelABC.startc             C   s   d S )Nr   )r   r   r   r   stop   s    zChannelABC.stopc             C   s   d S )Nr   )r   r   r   r   is_alive   s    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   s   d S )Nr   )r   r   r   r   pause#   s    zHBChannelABC.pausec             C   s   d S )Nr   )r   r   r   r   unpause'   s    zHBChannelABC.unpausec             C   s   d S )Nr   )r   r   r   r   
is_beating+   s    zHBChannelABC.is_beatingN)r	   r
   r   r   r   abstractpropertyr   r   r   r   r   r   r   r   r   r      s
   r   )r   r   objectABCMetar   r   r   r   r   r   <module>   s   