Module PyroHelpers
source code
Python Remote Objects support.
Use this class if you don't want to deal with TCP directly and Python
is the program on both ends of the network.
The module provides some Vision Egg specific code for Pyro. Pyro
allows you to call python objects on remote machines just like they
are on the local machine. This makes the task of writing a two
computer Vision Egg application quite easy, because one can mostly
ignore the network-based intermediate stage.
PyroControllers are run on the computer performing the presentation.
The PyroServer class also runs on this computer, and allows these
controllers to be changed from a computer running PyroClient. To
listen to the network PyroListenerController must be instantiated by
the PyroServer -- this checks for any requests coming over the
network, but only at times specified because it is a subclass of
VisionEgg.FlowControl.Controller.
Just like TCPControllers, don't use this class for realtime control
unless you think your network is that fast and reliable. It's great
for setting up parameters in advance and sending a trigger pulse,
though!
Author:
Andrew Straw <astraw@users.sourceforge.net>
|
__version__ = VisionEgg.release_name
|
|
__cvs__ = '$Revision$'.split() [1]
|
|
__date__ = ' '.join('$Date$'.split() [1: 3])
|