X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=saml%2Fsaml2%2Fmetadata%2FAbstractMetadataProvider.h;h=8e256cd5370778cbcf8080a90b38c685be23badd;hp=9670e5736f87eb996309d14c5789ff58d1865db7;hb=d76fadfe73c89442f328a7540e7b0ae08e0fbae6;hpb=3654400391293dea962369965a26ae2023a61f37 diff --git a/saml/saml2/metadata/AbstractMetadataProvider.h b/saml/saml2/metadata/AbstractMetadataProvider.h index 9670e57..8e256cd 100644 --- a/saml/saml2/metadata/AbstractMetadataProvider.h +++ b/saml/saml2/metadata/AbstractMetadataProvider.h @@ -81,6 +81,7 @@ namespace opensaml { using MetadataProvider::getEntityDescriptor; using MetadataProvider::getEntitiesDescriptor; + void outputStatus(std::ostream& os) const; void emitChangeEvent() const; std::pair getEntityDescriptor(const Criteria& criteria) const; const EntitiesDescriptor* getEntitiesDescriptor(const char* name, bool requireValidMetadata=true) const; @@ -90,6 +91,9 @@ namespace opensaml { ) const; protected: + /** Time of last update for reporting. */ + mutable time_t m_lastUpdate; + /** Embedded KeyInfoResolver instance. */ xmltooling::KeyInfoResolver* m_resolver;