@classmethod
    def recv_body(cls, f, protocol_version, user_type_map):
        event_type = read_string(f).upper()
        if event_type in known_event_types:
            read_method = getattr(cls, 'recv_' + event_type.lower())
            return cls(event_type=event_type, event_args=read_method(f, protocol_version))
        raise NotSupportedError('Unknown event type %r' % event_type)
dataset/ETHPy150Open datastax/python-driver/cassandra/protocol.py/EventMessage.recv_body/original