AEM
commsMgr.SerialServer Class Reference

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
 

Detailed Description

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

Constructor & Destructor Documentation

def commsMgr.SerialServer.__init__ (   self,
  writerq,
  portT,
  stopEv,
  mailerFunc,
  bd = 1000000,
  to = None 
)

Member Function Documentation

def commsMgr.SerialServer.serve (   self)
clears any incoming stuff, gives the AEM handshake, and serves until shut down by someone

Field Documentation

commsMgr.SerialServer.baudrate
commsMgr.SerialServer.outQ
commsMgr.SerialServer.port
commsMgr.SerialServer.processor
commsMgr.SerialServer.stopEvent
commsMgr.SerialServer.timeout

The documentation for this class was generated from the following file: