~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/longpoll/adapters/subscriber.py

[r=abentley,
        rvb][no-qa] UpdatePreviewDiffJob now issues an ObjectModifiedEvent
        when it updates the preview_diff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
__metaclass__ = type
7
7
__all__ = [
8
8
    "generate_subscribe_key",
9
 
    "LongPollSubscriber",
 
9
    "LongPollApplicationRequestSubscriber",
10
10
    ]
11
11
 
12
12
from uuid import uuid4
28
28
    return "longpoll.subscribe.%s" % uuid4()
29
29
 
30
30
 
31
 
class LongPollSubscriber:
 
31
class LongPollApplicationRequestSubscriber:
32
32
 
33
33
    adapts(IApplicationRequest)
34
34
    implements(ILongPollSubscriber)