(self, cf)
| 358 | """Handles incoming packets and sends the data to the correct receivers""" |
| 359 | |
| 360 | def __init__(self, cf): |
| 361 | Thread.__init__(self) |
| 362 | self.cf = cf |
| 363 | self.cb = [] |
| 364 | |
| 365 | def add_port_callback(self, port, cb): |
| 366 | """Add a callback for data that comes on a specific port""" |