MCPcopy Index your code
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/contrib/cansocket_python_can.py:48–57  ·  view source on GitHub ↗

Initializes the SocketMapper helper class :param bus: A python-can Bus object :param sockets: A list of SocketWrapper objects which want to receive messages from the provided python-can Bus object.

(self, bus, sockets)

Source from the content-addressed store, hash-verified

46 a list of SocketWrapper instances
47 """
48 def __init__(self, bus, sockets):
49 # type: (can_BusABC, List[SocketWrapper]) -> None
50 """Initializes the SocketMapper helper class
51
52 :param bus: A python-can Bus object
53 :param sockets: A list of SocketWrapper objects which want to receive
54 messages from the provided python-can Bus object.
55 """
56 self.bus = bus
57 self.sockets = sockets
58
59 def mux(self):
60 # type: () -> None

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected