py-libp2p/libp2p/network/connection/raw_connection_interface.py

10 lines
159 B
Python
Raw Normal View History

2018-11-13 02:02:49 +08:00
from abc import ABC
# pylint: disable=too-few-public-methods
2018-11-11 22:56:44 +08:00
2019-01-10 02:38:56 +08:00
2018-11-11 22:56:44 +08:00
class IRawConnection(ABC):
"""
A Raw Connection provides a Reader and a Writer
"""