feedbackprocesscontroller — Controls the Feedback Processes.

class lib.feedbackprocesscontroller.FeedbackProcess(modname, classname, ipcReady, port, fbplugin)

Process that wrapps the Feedback’s activities.

run()
Run the FeedbackProcess’ activities in the new process.
class lib.feedbackprocesscontroller.FeedbackProcessController(plugindirs, baseclass, timeout)

Takes care of starting and stopping of Feedback Processes.

get_feedbacks()
Return a list of available Feedbacks.
start_feedback(name, port, fbplugin)
Starts the given Feedback in a new process.
stop_feedback()

Stops the current Process.

First it tries to join the process with the given timeout, if that fails it terminates the process the hard way.

Module author: Bastian Venthur <venthur@cs.tu-berlin.de>

Previous topic

feedbackcontroller — Feedback Controller.

Next topic

ipc — Inter Process Communication.

This Page