def __init__(self, fragment, args, client): BaseFetcher.__init__(self, fragment, args, client) self.available_args = None self.stream_id = 0 self.table = [] self.columns = [] self.paused_table = None self.firewall = '' self.error = None self.timer = QTimer() self.timer.setSingleShot(True) self.connect(self.timer, SIGNAL('timeout()'), self.sendUpdate) self.type = 'streaming'
def __init__(self, fragment, args, client): BaseFetcher.__init__(self, fragment, args, client) self.type = 'real-time'