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

Method __init__

scapy/scapypipes.py:570–573  ·  view source on GitHub ↗
(self, msg, name=None)

Source from the content-addressed store, hash-verified

568 """
569
570 def __init__(self, msg, name=None):
571 # type: (str, Optional[Any]) -> None
572 Drain.__init__(self, name=name)
573 self.msg = msg
574
575 def on_trigger(self, trigmsg):
576 # type: (bool) -> None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected