AEM
|
Public Member Functions | |
def | __init__ (self, writerq, portT, stopEv, mailerFunc, bd=1000000, to=None) |
def | serve (self) |
Data Fields | |
port | |
stopEvent | |
baudrate | |
timeout | |
outQ | |
processor | |
Implent the serving of the serial port, reads blocks of 900 bytes, i.e. 100 structs and enqueues them for the helper thread to process
def commsMgr.SerialServer.__init__ | ( | self, | |
writerq, | |||
portT, | |||
stopEv, | |||
mailerFunc, | |||
bd = 1000000 , |
|||
to = None |
|||
) |
def commsMgr.SerialServer.serve | ( | self | ) |
clears any incoming stuff, gives the AEM handshake, and serves until shut down by someone
commsMgr.SerialServer.baudrate |
commsMgr.SerialServer.outQ |
commsMgr.SerialServer.port |
commsMgr.SerialServer.processor |
commsMgr.SerialServer.stopEvent |
commsMgr.SerialServer.timeout |