def stop_datatransfer(self): STOPCommandFactory = DTCommandFactory("STOP") self.s.send(STOPCommandFactory.commandstring())
def start_datatransfer(self): STARTCommandFactory = DTCommandFactory("START") self.s.send(STARTCommandFactory.commandstring())