def METHOD_NAME(self, stream):
    eventTime = Uint32LE.unpack(stream)
    messageType = Uint16LE.unpack(stream)
    if messageType not in self.parsers:
        raise ParsingError("Invalid input message type")
    return self.parsers[messageType](stream, eventTime)