def _dispatch(self, msg):
msg_type = msg['<STR_LIT>']['<STR_LIT>']<EOL>handler = getattr(self, '<STR_LIT>' + msg_type, None)<EOL>if handler:<EOL><INDENT>handler(msg)<EOL><DEDENT>
Calls the frontend handler associated with the message type of the
            given message.