RAVE
Lib.rave_pgf_logger.LogRecordSocketReceiver Class Reference

Simple TCP socket-based logging receiver suitable for testing, and maybe a little more. More...

Inheritance diagram for Lib.rave_pgf_logger.LogRecordSocketReceiver:

Public Member Functions

 __init__ (self, host=PGF_HOST, port=LOGPORT, handler=LogRecordStreamHandler)
 Initializer.
 
 serve_until_stopped (self)
 Serve until stopped.
 

Public Attributes

int abort = 0
 
int timeout = 1
 
 logname = None
 

Static Public Attributes

int allow_reuse_address = 1
 

Detailed Description

Simple TCP socket-based logging receiver suitable for testing, and maybe a little more.

Constructor & Destructor Documentation

◆ __init__()

Lib.rave_pgf_logger.LogRecordSocketReceiver.__init__ ( self,
host = PGF_HOST,
port = LOGPORT,
handler = LogRecordStreamHandler )

Initializer.

Parameters
hoststring host name
portint port number
handlerserver instance

Member Function Documentation

◆ serve_until_stopped()

Lib.rave_pgf_logger.LogRecordSocketReceiver.serve_until_stopped ( self)

Serve until stopped.


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