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)
| 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 |