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

Method flush

dshell/core.py:573–580  ·  view source on GitHub ↗

Triggers plugin to finish processing any remaining packets that are being held onto.

(self)

Source from the content-addressed store, hash-verified

571 self._connection_handler(_packet)
572
573 def flush(self):
574 """
575 Triggers plugin to finish processing any remaining packets that are being held onto.
576 """
577 super().flush()
578 # Call cleanup_connections() to force close any remaining open connections so they are
579 # on the queue ready to be passed down the chain.
580 self._cleanup_connections()
581
582 def _connection_handler(self, packet: "Packet"):
583 """

Callers

nothing calls this directly

Calls 2

_cleanup_connectionsMethod · 0.95
flushMethod · 0.45

Tested by

no test coverage detected