<s> from zope . interface import implementer <EOL> from comet . icomet import IHandler <EOL> __all__ = [ "<STR_LIT>" ] <EOL> @ implementer ( IHandler ) <EOL> class EventRelay ( object ) : <EOL> """<STR_LIT>""" <EOL> name = "<STR_LIT>" <EOL> def __init__ ( self , broadcaster_factory ) : <EOL> self . broadcaster_factory = broadcaster_factory <EOL> def __call__ ( self , event ) : <EOL> for broadcaster in self . broadcaster_factory . broadcasters : <EOL> broadcaster . send_event ( event ) </s>
