'Send message to each listener.
@param name method name
@param args arguments for message instance
@return None'

def __call__(self, name, args):

    results = []
    try:
        messageType = self.messageTypes[name]
        listeners = self.listeners[maybeName(messageType[0])]
    except (KeyError,):
        return results
    message = messageType[0](**args)
    for listener in listeners:
        try:
            results.append(listener(message))
        except (Exception,):
            errmsg = "Exception    in    message    dispatch.        Handler    '%s'    for    '%s'"
            self.logger.exception(errmsg, maybeName(listener), name)
            results.append(None)
    return results
