(self, source, destination, queue=False)
| 79 | @lock |
| 80 | @threaded |
| 81 | def forward(self, source, destination, queue=False): |
| 82 | if queue: |
| 83 | old_ids = set(pack.pid for pack in self.pyload.api.getCollector()) |
| 84 | |
| 85 | forward(source, destination) |
| 86 | |
| 87 | if queue: |
| 88 | new_ids = set(pack.pid for pack in self.pyload.api.getCollector()) |
| 89 | for id in new_ids - old_ids: |
| 90 | self.pyload.api.pushToQueue(id) |
| 91 | |
| 92 | @threaded |
| 93 | def proxy(self): |
no test coverage detected