The Shared Variable Engine

This is the redis based SVE application. It is just a simple framework wrapper that starts a redis-server in the init function. Command line arguments and those from config are passed to the redis-server. The only implemented PML function is redis that runs a redis client and executes a redis command and returns the results to the caller.

class SVE.LogWriter(SVE)
deliver(item)

Process SV message and save to file

class SVE.SVE(device_mode=False, noSVE=None, **extra_args)
init()

Start redis server using command line arguments and self.config

redis(*args, **kwargs)

Send command to redis server

get(param, sv=None)

get run time parameters

set(*args, **kwargs)

set run time parameters (not used for this application)

configure(*args, **kwargs)

configure is not used for the redis sve application. Just return success

main()

Run loop for redis SVE Application

class SVE.LogWriter(SVE)
deliver(item)

Process SV message and save to file

class SVE.SVE(device_mode=False, noSVE=None, **extra_args)
init()

Start redis server using command line arguments and self.config

redis(*args, **kwargs)

Send command to redis server

get(param, sv=None)

get run time parameters

set(*args, **kwargs)

set run time parameters (not used for this application)

configure(*args, **kwargs)

configure is not used for the redis sve application. Just return success

main()

Run loop for redis SVE Application