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

@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
from multiaddr import Multiaddr
from libp2p.network.stream.net_stream_interface import INetStream
from libp2p.stream_muxer.muxed_connection_interface import IMuxedConn
from libp2p.stream_muxer.abc import IMuxedConn
if TYPE_CHECKING:
from .network_interface import INetwork