<s> from circuits import Component , Event <EOL> class bark ( Event ) : <EOL> """<STR_LIT>""" <EOL> class Pound ( Component ) : <EOL> def __init__ ( self ) : <EOL> super ( Pound , self ) . __init__ ( ) <EOL> self . bob = Bob ( ) . register ( self ) <EOL> self . fred = Fred ( ) . register ( self ) <EOL> class Dog ( Component ) : <EOL> def started ( self , * args ) : <EOL> self . fire ( bark ( ) ) <EOL> def bark ( self ) : <EOL> print ( "<STR_LIT>" % self . name ) <EOL> class Bob ( Dog ) : <EOL> """<STR_LIT>""" <EOL> channel = "<STR_LIT>" <EOL> class Fred ( Dog ) : <EOL> """<STR_LIT>""" <EOL> channel = "<STR_LIT>" <EOL> Pound ( ) . run ( ) </s>
