MCPcopy
hub / github.com/pyload/pyload / InsertEvent

Class InsertEvent

module/PullEvents.py:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 return ["remove", self.destination, self.type, self.id]
93
94class InsertEvent():
95 def __init__(self, itype, iid, after, destination):
96 assert itype == "pack" or itype == "file"
97 assert destination == "queue" or destination == "collector"
98 self.type = itype
99 self.id = iid
100 self.after = after
101 self.destination = destination
102
103 def toList(self):
104 return ["insert", self.destination, self.type, self.id, self.after]
105
106class ReloadAllEvent():
107 def __init__(self, destination):

Callers 4

addPackageMethod · 0.90
setPackageLocationMethod · 0.90
reorderPackageMethod · 0.90
reorderFileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected