move stream and connection interfaces to abc

This commit is contained in:
Chih Cheng Liang
2019-08-05 11:17:38 +08:00
parent c804f5ad19
commit 9e0a806218
11 changed files with 56 additions and 72 deletions

View File

@ -1,6 +1,6 @@
from abc import ABC, abstractmethod
from libp2p.stream_muxer.muxed_connection_interface import IMuxedConn
from libp2p.stream_muxer.abc import IMuxedConn
class INetStream(ABC):