def METHOD_NAME(self, msg):
    """ Calls the frontend handler associated with the message type of the
        given message.
    """
    msg_type = msg['header']['msg_type']
    handler = getattr(self, '_handle_' + msg_type, None)
    if handler:
        handler(msg)