Skip to content

Commit

Permalink
Add msg converter interface
Browse files Browse the repository at this point in the history
  • Loading branch information
vzahradnik committed Aug 30, 2023
1 parent 38575a4 commit fe9aa96
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tcmenu/remote/protocol/tag_val_protocol_incoming_msg_converter.py
@@ -0,0 +1,10 @@
from abc import ABC, abstractmethod

from tcmenu.remote.commands.menu_command import MenuCommand
from tcmenu.remote.protocol.tag_val_text_parser import TagValTextParser


class TagValProtocolIncomingMsgConverter(ABC):
@abstractmethod
def apply(self, parser: TagValTextParser) -> MenuCommand:
raise NotImplementedError

0 comments on commit fe9aa96

Please sign in to comment.