Host.cc
Go to the documentation of this file.
114Adaptation::Ecap::Host::noteVersionedService(const char *vGiven, const libecap::weak_ptr<libecap::adapter::Service> &weak)
static SBuf EssentialVersion(const SBuf &raw)
Strips libecap version components not affecting compatibility decisions.
Definition: Host.cc:79
static libecap::shared_ptr< Adaptation::Ecap::Host > TheHost
the host application (i.e., Squid) wrapper registered with libecap
Definition: Host.cc:34
static bool SupportedVersion(const char *vTheir, const char *them)
Definition: Host.cc:92
Definition: Host.h:23
void noteVersionedService(const char *libEcapVersion, const libecap::weak_ptr< libecap::adapter::Service > &s) override
Definition: Host.cc:114
void describe(std::ostream &os) const override
Definition: Host.cc:72
std::ostream * openDebug(libecap::LogVerbosity lv) override
Definition: Host.cc:144
libecap::shared_ptr< libecap::Message > MessagePtr
Definition: Host.h:31
void closeDebug(std::ostream *debug) override
Definition: Host.cc:154
Definition: MessageRep.h:148
static bool Enabled(const int section, const int level)
whether debugging the given section and the given level produces output
Definition: Stream.h:75
static void Finish()
logs output buffer created in Start() and closes debugging context
Definition: debug.cc:1363
static std::ostringstream & Start(const int section, const int level)
opens debugging context and returns output buffer
Definition: debug.cc:1339
Definition: HttpReply.h:25
Definition: HttpRequest.h:49
void RegisterAdapterService(const ServiceRep::AdapterService &adapterService)
register loaded eCAP module service
Definition: ServiceRep.cc:316
const libecap::Name protocolIcp
const libecap::Name protocolUnknown
const libecap::Name protocolHtcp
const libecap::Name protocolInternal
const libecap::Name protocolIcy