コード例 #1
0
ファイル: updatesm.py プロジェクト: ArneBab/infocalypse
 def __init__(self, parent, name, success_state, failure_state):
     RequestQueueState.__init__(self, parent, name)
     self.insert_uri = None
     self.queued = False
     self.msg = None
     self.success_state = success_state
     self.failure_state = failure_state
コード例 #2
0
ファイル: updatesm.py プロジェクト: SeekingFor/infocalypse
 def __init__(self, parent, name, success_state, failure_state):
     RequestQueueState.__init__(self, parent, name)
     self.insert_uri = None
     self.queued = False
     self.msg = None
     self.success_state = success_state
     self.failure_state = failure_state
コード例 #3
0
    def __init__(self, parent, name):
        RequestQueueState.__init__(self, parent, name)

        # edge -> StatefulRequest
        self.pending = {}
        self.new_edges = []
        self.required_edges = []
        # HACK:
        # edge -> (x,y, 0) Freenet metadata bytes
        self.salting_cache = {}
コード例 #4
0
    def __init__(self, parent, name):
        RequestQueueState.__init__(self, parent, name)

        # edge -> StatefulRequest
        self.pending = {}
        self.new_edges = []
        self.required_edges = []
        # HACK:
        # edge -> (x,y, 0) Freenet metadata bytes
        self.salting_cache = {}
コード例 #5
0
 def reset(self):
     """ Implementation of State virtual. """
     self.new_edges = []
     self.required_edges = []
     self.salting_cache = {}
     RequestQueueState.reset(self)
コード例 #6
0
 def reset(self):
     """ Implementation of State virtual. """
     self.new_edges = []
     self.required_edges = []
     self.salting_cache = {}
     RequestQueueState.reset(self)
コード例 #7
0
ファイル: updatesm.py プロジェクト: ArneBab/infocalypse
 def reset(self):
     """ Implementation of State virtual. """
     self.insert_uri = None
     self.queued = False
     self.msg = None
     RequestQueueState.reset(self)
コード例 #8
0
ファイル: updatesm.py プロジェクト: SeekingFor/infocalypse
 def reset(self):
     """ Implementation of State virtual. """
     self.insert_uri = None
     self.queued = False
     self.msg = None
     RequestQueueState.reset(self)