Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 741 | olof | 1 | ########################################################### |
| 2 | # |
||
| 3 | # Node interface for raw tcp through TLS (static-key) |
||
| 4 | # |
||
| 5 | ########################################################### |
||
| 6 | |||
| 750 | olof | 7 | class NodeIfTCPTLS: |
| 741 | olof | 8 | config = [] |
| 9 | pktHandler = None |
||
| 750 | olof | 10 | ownerNotifier = None |
| 741 | olof | 11 | |
| 750 | olof | 12 | DEFAULT_CONFIG = {} |
| 13 | |||
| 14 | def __init__(self, pktHandler, cfg = None): |
||
| 741 | olof | 15 | self.config = cfg |
| 16 | self.pktHandler = pktHandler |
||
| 17 | |||
| 18 | def setPktHandler(self, pktHandler): |
||
| 19 | self.pktHandler = pktHandler |
||
| 750 | olof | 20 | |
| 21 | def setIfNotifier(self, ifNotifier): |
||
| 22 | self.ownerNotifier = ifNotifier |
||
| 741 | olof | 23 | |
| 24 | def start(self): |
||
| 25 | pass |
||
| 26 | |||
| 27 | def stop(self): |
||
| 28 | pass |
||
| 29 | |||
| 30 | def running(self): |
||
| 31 | pass |