MCPcopy Create free account
hub / github.com/secdev/scapy / push

Method push

scapy/scapypipes.py:669–674  ·  view source on GitHub ↗
(self, msg)

Source from the content-addressed store, hash-verified

667 self.q = Queue()
668
669 def push(self, msg):
670 # type: (str) -> None
671 if self.opened:
672 self._send(msg)
673 else:
674 self.q.put((True, msg))
675
676 def high_push(self, msg):
677 # type: (str) -> None

Callers

nothing calls this directly

Calls 2

putMethod · 0.80
_sendMethod · 0.45

Tested by

no test coverage detected