Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

"""Definitions of custom :doc:`Celery signals <celery:userguide/signals>` 

related to VOEvents. 

 

These signals allow us to keep the VOEvent broker code decoupled from any 

GCN-specific logic. Notably, it allows us to keep all of the details of 

the GCN-specific "Notice Type" concept out of :mod:`gwcelery.voevent`. 

""" 

from celery.utils.dispatch import Signal 

 

lvalert_received = Signal( 

name='lvalert_received', providing_args=('node', 'payload')) 

"""Fired whenever a VOEvent is received. 

 

Parameters 

---------- 

xml_document : :class:`comet.utility.xml.xml_document` 

The XML document that was received. The raw file contents are available as 

``xml_document.raw_bytes``. The ``lxml.etree`` representation of the 

document is available as ``xml_document.element``. 

"""