Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 736 | olof | 1 | ########################################################### |
| 2 | # |
||
| 3 | # IP/UDP interface, connects with can through an |
||
| 4 | # ethernet node |
||
| 5 | # |
||
| 6 | ########################################################### |
||
| 7 | |||
| 8 | class NodeIfUDP: |
||
| 9 | config = [] |
||
| 750 | olof | 10 | pktHandler = None |
| 11 | ownerNotifier = None |
||
| 736 | olof | 12 | |
| 750 | olof | 13 | def __init__(self, pktHandler, cfg = None): |
| 14 | self.config = cfg |
||
| 15 | self.pktHandler = pktHandler |
||
| 16 | |||
| 17 | def setPktHandler(self, pktHandler): |
||
| 18 | self.pktHandler = pktHandler |
||
| 19 | |||
| 20 | def setIfNotifier(self, ifNotifier): |
||
| 21 | self.ownerNotifier = ifNotifier |
||
| 736 | olof | 22 | |
| 23 | def start(self): |
||
| 24 | pass |
||
| 25 | |||
| 26 | def stop(self): |
||
| 27 | pass |
||
| 739 | olof | 28 | |
| 29 | def running(self): |
||
| 30 | pass |
||
| 31 |