Remove unused interface

Add all options
Bugs fixed
This commit is contained in:
lsw
2022-02-02 23:08:25 +01:00
parent c421933780
commit 8abd2b2b41
11 changed files with 424 additions and 121 deletions

View File

@@ -1,30 +0,0 @@
class IProtocol:
def build_SIGNIN(self, login, password):
pass
def build_SIGNUP(self, login, password):
pass
def build_FILELIST(self):
pass
def build_SAVEFILE(self, filename, size):
pass
def build_GETFILE(self, filename):
pass
def build_REMOVEFILE(self, filename):
pass
def build_SIGNOUT(self):
pass
def parse(self, line, debug_enabled):
pass
def parse_FILES(self, line):
pass
def parse_GETFILEOK(self, line):
pass

View File

@@ -1,7 +1,6 @@
from model.IProtocol import *
import re
class Protocol(IProtocol):
class Protocol:
RX_DIGIT = r"[0-9]"
RX_SIZE = r"(" + RX_DIGIT + "{1,10})"
RX_LINE = r"(\\x0d\\x0a){0,1}"