lbry-sdk/lbrynet/lbrynet_console/interfaces.py

24 lines
418 B
Python
Raw Normal View History

2015-08-20 17:27:15 +02:00
from zope.interface import Interface
class IControlHandlerFactory(Interface):
def get_prompt_description(self):
pass
def get_handler(self):
pass
class IControlHandler(Interface):
def handle_line(self, line):
pass
class ICommandHandlerFactory(Interface):
def get_handler(self):
pass
class ICommandHandler(Interface):
2015-08-20 17:27:15 +02:00
def handle_line(self, line):
pass