Remove unused interface
Add all options Bugs fixed
This commit is contained in:
@@ -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
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user