#NEWLINE# @ needs_zmq #NEWLINE# def register_message_handler( subject , callback ) : #NEWLINE# #INDENT# '\n    register a message handler to process messages send via send_message.\n    ' #NEWLINE# _handlers . setdefault ( subject , [ ] ) . append ( callback )