refactored
This commit is contained in:
+4
-1
@@ -1,5 +1,5 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from msg_montainer import MsgContainer
|
||||
from msg_container import MsgContainer
|
||||
|
||||
class MsgSink(ABC):
|
||||
def __init__(self):
|
||||
@@ -8,3 +8,6 @@ class MsgSink(ABC):
|
||||
@abstractmethod
|
||||
def on_recv(self, msg: MsgContainer):
|
||||
pass
|
||||
|
||||
def is_msg(self, msg: MsgContainer):
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user