- Aug 19, 2014
-
-
Michael DM Dryden authored
-
- Aug 15, 2014
-
-
Christian Fobel authored
Usage ===== python test_service.py <service bind addr> [service_time=1.] where: - `service bin addr` is the ZeroMQ address to bind to. - _e.g., `tcp://*:6789`_ - `service_time` is the length of time to simulate a service run in seconds.
-
Christian Fobel authored
-
Christian Fobel authored
Initial commit of ZeroMQ service client plugin demo. The basic idea is to have a service exposed through a ZeroMQ interface, responding on a `zmq.REP` socket to the following two messages: - `start` -> `started` - `notify_completion` -> `completed` This provides a basic inter-process method for starting a service, followed by a notification upon completion. The plugin provides a timeout option for each step in the DMF protocol to limit the amount of time spent waiting for a service to complete. __NB__ As of this commit, the MicroDrop app seems to freeze in the case where the service times out, after the error message indicating the protocol has failed is displayed. This is likely due to threading issues, which will be resolved after the plug-ins are ported to run in separate processes.
-