11#ifndef SQUID_SRC_ADAPTATION_ECAP_HOST_H
12#define SQUID_SRC_ADAPTATION_ECAP_HOST_H
14#if HAVE_LIBECAP_HOST_HOST_H
15#include <libecap/host/host.h>
24class Host :
public libecap::host::Host
28 std::string
uri()
const override;
29 void describe(std::ostream &os)
const override;
30 void noteVersionedService(
const char *libEcapVersion,
const libecap::weak_ptr<libecap::adapter::Service> &s)
override;
31 std::ostream *
openDebug(libecap::LogVerbosity lv)
override;
33 typedef libecap::shared_ptr<libecap::Message>
MessagePtr;
void noteVersionedService(const char *libEcapVersion, const libecap::weak_ptr< libecap::adapter::Service > &s) override
static void Register()
register adaptation host
std::string uri() const override
void describe(std::ostream &os) const override
std::ostream * openDebug(libecap::LogVerbosity lv) override
libecap::shared_ptr< libecap::Message > MessagePtr
Host(const Host &)
not implemented
MessagePtr newResponse() const override
void closeDebug(std::ostream *debug) override
Host & operator=(const Host &)
not implemented
MessagePtr newRequest() const override
void debug(const char *format,...)
const libecap::Name protocolIcp
const libecap::Name protocolUnknown
const libecap::Name protocolHtcp
const libecap::Name metaBypassable
an ecap_service parameter
const libecap::Name protocolInternal
const libecap::Name protocolCacheObj
const libecap::Name protocolIcy