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