| 104 | return ["insert", self.destination, self.type, self.id, self.after] |
| 105 | |
| 106 | class ReloadAllEvent(): |
| 107 | def __init__(self, destination): |
| 108 | assert destination == "queue" or destination == "collector" |
| 109 | self.destination = destination |
| 110 | |
| 111 | def toList(self): |
| 112 | return ["reload", self.destination] |
| 113 | |
| 114 | class AccountUpdateEvent(): |
| 115 | def toList(self): |