MCPcopy
hub / github.com/USArmyResearchLab/Dshell / produce_packets

Method produce_packets

dshell/core.py:154–159  ·  view source on GitHub ↗

Produces packets ready to be processed by the next plugin in the chain.

(self)

Source from the content-addressed store, hash-verified

152 self._packet_fragments = defaultdict(dict)
153
154 def produce_packets(self) -> Iterable["Packet"]:
155 """
156 Produces packets ready to be processed by the next plugin in the chain.
157 """
158 while self._packet_queue:
159 yield self._packet_queue.pop(0)
160
161 def flush(self):
162 """

Callers 3

feed_plugin_chainFunction · 0.45
clean_plugin_chainFunction · 0.45
consume_packetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected