MCPcopy Index your code
hub / github.com/USArmyResearchLab/Dshell / _postmodule

Method _postmodule

dshell/core.py:334–345  ·  view source on GitHub ↗

_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)

Source from the content-addressed store, hash-verified

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 """

Callers 2

mainFunction · 0.45
_postmoduleMethod · 0.45

Calls 3

postmoduleMethod · 0.95
closeMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected