MCPcopy
hub / github.com/pyload/pyload / RemoveEvent

Class RemoveEvent

module/PullEvents.py:83–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 return ["update", self.destination, self.type, self.id]
82
83class RemoveEvent():
84 def __init__(self, itype, iid, destination):
85 assert itype == "pack" or itype == "file"
86 assert destination == "queue" or destination == "collector"
87 self.type = itype
88 self.id = iid
89 self.destination = destination
90
91 def toList(self):
92 return ["remove", self.destination, self.type, self.id]
93
94class InsertEvent():
95 def __init__(self, itype, iid, after, destination):

Callers 5

deletePackageMethod · 0.90
deleteLinkMethod · 0.90
setPackageLocationMethod · 0.90
reorderPackageMethod · 0.90
reorderFileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected