Implement new stream

This commit is contained in:
Stuckinaboot
2018-10-31 22:40:01 +01:00
parent 8959d491b2
commit bab97f5648
3 changed files with 33 additions and 3 deletions

View File

@ -15,9 +15,10 @@ class INetwork(ABC):
pass
@abstractmethod
def new_stream(self, peer_id):
def new_stream(self, peer_id, protocol_id):
"""
:param peer_id: peer_id of destination
:param protocol_id: protocol id
:return: stream instance
"""
pass