_postmodule is called when capture ends. It will attempt to call the child plugin's postmodule function. It will also print stats if in debug mode.
(self)
| 332 | pass |
| 333 | |
| 334 | def _postmodule(self): |
| 335 | """ |
| 336 | _postmodule is called when capture ends. It will attempt to call the |
| 337 | child plugin's postmodule function. It will also print stats if in |
| 338 | debug mode. |
| 339 | """ |
| 340 | self.postmodule() |
| 341 | self.out.close() |
| 342 | logger.info( |
| 343 | f"{self.seen_packet_count.value} seen packets, " |
| 344 | f"{self.handled_packet_count.value} handled packets " |
| 345 | ) |
| 346 | |
| 347 | def postmodule(self): |
| 348 | """ |
no test coverage detected