ServiceRep.cc
Go to the documentation of this file.
325 Adaptation::Ecap::RegisterAdapterService(const Adaptation::Ecap::ServiceRep::AdapterService& adapterService)
void visitEachOption(libecap::NamedValueVisitor &visitor) const override
Definition: ServiceRep.cc:103
Definition: Initiate.h:30
static AdapterServices AsyncServices
configured services producing async transactions
Definition: ServiceRep.cc:42
ServiceRep(const ServiceConfigPointer &aConfig)
Definition: ServiceRep.cc:163
const libecap::Area option(const libecap::Name &name) const override
Definition: ServiceRep.cc:85
Definition: Service.h:27
bool wantsUrl(const SBuf &urlPath) const override
Definition: ServiceRep.cc:251
void error(char *format,...)
Definition: XactionRep.h:35
void UnregisterAdapterService(const String &serviceUri)
unregister loaded eCAP module service by service uri
Definition: ServiceRep.cc:333
ServiceRep::AdapterService FindAdapterService(const String &serviceUri)
returns loaded eCAP module service by service uri
Definition: ServiceRep.cc:314
void tryConfigureAndStart()
attempts to configure and start eCAP service; the caller handles exceptions
Definition: ServiceRep.cc:204
std::map< std::string, Adaptation::Ecap::ServiceRep::AdapterService > AdapterServices
libecap::adapter::services indexed by their URI
Definition: ServiceRep.cc:38
bool handleFinalizeFailure(const char *error)
Definition: ServiceRep.cc:222
Definition: HttpRequest.h:48
Definition: MemBuf.h:23
libecap::shared_ptr< libecap::adapter::Xaction > AdapterXaction
Definition: XactionRep.h:44
void RegisterAdapterService(const ServiceRep::AdapterService &adapterService)
register loaded eCAP module service
Definition: ServiceRep.cc:325
Definition: AsyncEngine.h:18
virtual const char * status() const
Definition: ServiceRep.cc:281
Definition: SquidString.h:25
int checkEvents(int timeout) override
Definition: ServiceRep.cc:117
void master(const AdapterXaction &aMaster)
Definition: XactionRep.cc:80
void CheckUnusedAdapterServices(const Services &services)
check for loaded eCAP services without matching ecap_service in squid.conf
Definition: ServiceRep.cc:344
Adaptation::Initiate * makeXactLauncher(Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp) override
Definition: ServiceRep.cc:260
libecap::shared_ptr< libecap::adapter::Service > AdapterService
Definition: ServiceRep.h:39
wraps Adaptation::Ecap::ServiceConfig to allow eCAP visitors
Definition: ServiceRep.cc:50
Adaptation::Ecap::ServiceConfig Master
Definition: ServiceRep.cc:53
void kickAsyncServices(timeval &timeout)
resumes async transactions (if any) and returns true if they set a timeout
Definition: ServiceRep.cc:141
Definition: AccessCheck.h:24
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products