def replyArrived(self, reply): SpecCommandA.replyArrived(self, reply) self.__cmdExecution = False if reply.error: self.emit('commandFailed', (reply.error_code, str(self.name()))) else: self.emit('commandReplyArrived', (reply.getValue(), str(self.name())))
def isConnected(self): return SpecCommandA.isSpecConnected(self)
def abort(self): SpecCommandA.abort(self) self.__cmdExecution = False self.emit('commandAborted', (str(self.name()), ))
def __init__(self, name, command, version=None, username=None, **kwargs): CommandObject.__init__(self, name, username, **kwargs) SpecCommandA.__init__(self, command, version) self.__cmdExecution = False
def __init__(self, name, command, version = None, username = None, **kwargs): CommandObject.__init__(self, name, username, **kwargs) SpecCommandA.__init__(self, command, version) self.__cmdExecution = False