WIP: chat example

This commit is contained in:
Christophe de Carvalho Pereira Martins
2018-11-18 17:22:56 +01:00
parent 96edf96e76
commit 9123760191
4 changed files with 132 additions and 1 deletions

View File

@ -3,6 +3,13 @@ from abc import ABC, abstractmethod
class INetwork(ABC):
@abstractmethod
def get_peer_id(self):
"""
:return: the peer id
"""
pass
@abstractmethod
def set_stream_handler(self, protocol_id, stream_handler):
"""