This is a proof-of-concept of distributing VOEvent packets using ZeroMQ. This code is not production ready and is not intended for "serious" use.
The server connects to a broker which provides events using the VOEvent Transport Protocol (by default, we use that provided by DC-3 Dreams). Events are rebroadcast using the ZeroMQ "pub/sub" system.
- Python 2.6 or 2.7 (other versions untested).
- Python bindings for ZeroMQ.
- Twisted.
Edit the file config.py.
Run the server using Python:
$ python server.py
The client connects to the server and receives events over ZeroMQ. It simply dumps the received events to standard output.
- Python 2.6 or 2.7 (other versions untested).
- Python bindings for ZeroMQ.
Edit the source.
Run the client using Python:
$ python client.py