py-libp2p/connection/raw_connection_interface.py
2018-10-31 22:39:47 +01:00

13 lines
226 B
Python

from abc import ABC, abstractmethod
import asyncio
class IRawConnection(ABC):
@abstractmethod
def __init__(self, ip, port):
pass
@abstractmethod
async def open_connection(self):
pass