Daemon¶
This script runs in the clients and is responsible for spawning the Blender Player.
-
class
daemon.
Daemon
(BlenderVR_modules)¶ Bases:
object
Background management of the Blender Player and related stuff.
-
main
()¶ Start the Daemon, quits any instance of BlenderPlayer running.
-
processCommand
(command, argument)¶ Run the received commands
Parameters: - command (str) – Command to execute in the client machine
- argument – Value depends on the command
-
write
(*messages)¶ Send message to the client
Parameters: messages (list) – all the messages to send to the client (i.e., console commands)
-
-
daemon.
main
()¶ Main function to start the daemon.
Prepare execution (daemonize if necessary), then build a Daemon and call its main() method to manage background communications.