py-libp2p/network/connection/raw_connection_interface.py
2018-11-11 16:09:37 -05:00

16 lines
369 B
Python

from abc import ABC, abstractmethod
class IRawConnection(ABC):
"""
A Raw Connection provides a Reader and a Writer
open_connection should return such a connection
"""
# @abstractmethod
# async def open_connection(self):
# """
# opens a connection on ip and port
# :return: a raw connection
# """
# pass