|
Squid Web Cache master
|
eCAP service configuration More...
#include <Config.h>
Public Types | |
| typedef std::pair< std::string, std::string > | Extension |
| typedef std::list< Extension > | Extensions |
Public Member Functions | |
| bool | grokExtension (const char *name, const char *value) override |
| handle name=value configuration option with name unknown to Squid | |
| const char * | methodStr () const |
| const char * | vectPointStr () const |
| bool | parse () |
Public Attributes | |
| Extensions | extensions |
| String | key |
| String | uri |
| String | protocol |
| String | host |
| String | resource |
| int | port |
| Method | method |
| VectPoint | point |
| bool | bypass |
| long | maxConn |
| maximum number of concurrent service transactions | |
| SrvBehaviour | onOverload |
| how to handle Max-Connections feature | |
| bool | routing |
| whether this service may determine the next service(s) | |
| bool | ipv6 |
| whether this service uses IPv6 transport (default IPv4) | |
| Security::PeerOptions | secure |
| YesNoNone | connectionEncryption |
| whether this service uses only secure connections | |
Protected Member Functions | |
| Method | parseMethod (const char *buf) const |
| VectPoint | parseVectPoint (const char *buf) const |
| bool | grokBool (bool &var, const char *name, const char *value) |
| interpret parsed values | |
| bool | grokUri (const char *value) |
| bool | grokLong (long &var, const char *name, const char *value) |
| bool | grokOnOverload (SrvBehaviour &var, const char *value) |
| handle on-overload configuration option | |
| typedef std::pair<std::string, std::string> Adaptation::Ecap::ServiceConfig::Extension |
| typedef std::list<Extension> Adaptation::Ecap::ServiceConfig::Extensions |
|
protectedinherited |
Definition at line 294 of file ServiceConfig.cc.
References cfg_filename, config_lineno, DBG_CRITICAL, and debugs.
|
overridevirtual |
Reimplemented from Adaptation::ServiceConfig.
|
protectedinherited |
Definition at line 311 of file ServiceConfig.cc.
References cfg_filename, config_lineno, DBG_CRITICAL, and debugs.
|
protectedinherited |
Definition at line 326 of file ServiceConfig.cc.
References cfg_filename, config_lineno, DBG_CRITICAL, debugs, Adaptation::srvBlock, Adaptation::srvBypass, Adaptation::srvForce, and Adaptation::srvWait.
|
protectedinherited |
Definition at line 190 of file ServiceConfig.cc.
References cfg_filename, config_lineno, DBG_CRITICAL, debugs, String::npos, and port.
|
inherited |
Definition at line 27 of file ServiceConfig.cc.
References Adaptation::methodStr().
Referenced by Adaptation::Config::dumpService(), and Adaptation::Icap::ModXact::makeRequestHeaders().
|
inherited |
Definition at line 69 of file ServiceConfig.cc.
References cfg_filename, config_lineno, DBG_CRITICAL, DBG_IMPORTANT, DBG_PARSE_NOTE, debugs, encrypt(), Adaptation::methodNone, Adaptation::methodStr(), ConfigParser::NextToken(), Adaptation::pointNone, String::size(), Adaptation::srvBypass, Adaptation::srvWait, String::termedBuf(), and Adaptation::vectPointStr().
Referenced by Adaptation::Config::parseService().
|
protectedinherited |
Definition at line 39 of file ServiceConfig.cc.
References Adaptation::methodNone, Adaptation::methodReqmod, and Adaptation::methodRespmod.
|
protectedinherited |
Definition at line 51 of file ServiceConfig.cc.
References Adaptation::pointNone, Adaptation::pointPostCache, and Adaptation::pointPreCache.
|
inherited |
Definition at line 33 of file ServiceConfig.cc.
References Adaptation::vectPointStr().
Referenced by Adaptation::Config::dumpService().
|
inherited |
Definition at line 44 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService(), Adaptation::ServiceGroup::finalize(), and Adaptation::ServiceGroup::findService().
|
inherited |
Definition at line 54 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService().
| Extensions Adaptation::Ecap::ServiceConfig::extensions |
|
inherited |
|
inherited |
Definition at line 50 of file ServiceConfig.h.
|
inherited |
Definition at line 33 of file ServiceConfig.h.
Referenced by Adaptation::ServiceGroup::checkUniqueness(), Adaptation::Config::dumpService(), Adaptation::Config::finalize(), Adaptation::ServiceGroup::finalize(), Adaptation::Icap::Xaction::finalizeLogInfo(), and Adaptation::Iterator::step().
|
inherited |
Definition at line 47 of file ServiceConfig.h.
|
inherited |
Definition at line 42 of file ServiceConfig.h.
Referenced by Adaptation::ServiceGroup::finalize(), Adaptation::Icap::ModXact::finalizeLogInfo(), Adaptation::Icap::ModXact::makeRequestHeaders(), and Adaptation::DynamicServiceChain::Split().
|
inherited |
Definition at line 48 of file ServiceConfig.h.
|
inherited |
Definition at line 43 of file ServiceConfig.h.
Referenced by Adaptation::ServiceGroup::finalize(), and Adaptation::DynamicServiceChain::Split().
|
inherited |
Definition at line 40 of file ServiceConfig.h.
Referenced by Adaptation::Icap::Xaction::dnsLookupDone(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::ModXact::makeRequestHeaders(), and Adaptation::Icap::Xaction::openConnection().
|
inherited |
Definition at line 37 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService().
|
inherited |
Definition at line 39 of file ServiceConfig.h.
|
inherited |
Definition at line 49 of file ServiceConfig.h.
|
inherited |
Definition at line 53 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService().
|
inherited |
Definition at line 34 of file ServiceConfig.h.
Referenced by Adaptation::ServiceGroup::checkUniqueness(), Adaptation::Config::dumpService(), Adaptation::Icap::Xaction::finalizeLogInfo(), Adaptation::Icap::OptXact::makeRequest(), and Adaptation::Icap::ModXact::makeRequestHeaders().