Subversion Repositories HomeAutomation

Rev

Rev 750 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. ###########################################################
  2. #
  3. # IP/UDP interface, connects with can through an
  4. # ethernet node
  5. #
  6. ###########################################################
  7.  
  8. class NodeIfUDP:
  9.     config = []
  10.     pktHandler = None
  11.     ownerNotifier = None
  12.    
  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
  22.    
  23.     def start(self):
  24.         pass
  25.  
  26.     def stop(self):
  27.         pass
  28.  
  29.     def running(self):
  30.         pass
  31.