Adaptation::ServiceConfig Class Reference
#include <ServiceConfig.h>

Public Member Functions | |
| ServiceConfig () | |
| const char * | methodStr () const |
| const char * | vectPointStr () const |
| bool | parse () |
Public Attributes | |
| String | key |
| String | uri |
| String | protocol |
| String | host |
| String | resource |
| int | port |
| Method | method |
| VectPoint | point |
| bool | bypass |
| bool | routing |
| whether this service may determine the next service(s) | |
| bool | ipv6 |
| whether this service uses IPv6 transport (default IPv4) | |
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) |
Detailed Description
Definition at line 12 of file ServiceConfig.h.
Constructor & Destructor Documentation
| Adaptation::ServiceConfig::ServiceConfig | ( | ) |
Definition at line 10 of file ServiceConfig.cc.
Member Function Documentation
| bool Adaptation::ServiceConfig::grokBool | ( | bool & | var, | |
| const char * | name, | |||
| const char * | value | |||
| ) | [protected] |
Definition at line 231 of file ServiceConfig.cc.
References cfg_filename, config_lineno, debugs, and HERE.
Referenced by parse().
| bool Adaptation::ServiceConfig::grokUri | ( | const char * | value | ) | [protected] |
Definition at line 130 of file ServiceConfig.cc.
References cfg_filename, config_lineno, debugs, String::find(), HERE, host, String::limitInit(), String::npos, NULL, p, port, protocol, resource, String::size(), String::substr(), String::termedBuf(), and uri.
Referenced by parse().
| const char * Adaptation::ServiceConfig::methodStr | ( | ) | const |
Definition at line 16 of file ServiceConfig.cc.
References method.
Referenced by Adaptation::Config::dumpService(), Adaptation::Icap::ModXact::makeRequestHeaders(), and parse().
| bool Adaptation::ServiceConfig::parse | ( | ) |
Definition at line 58 of file ServiceConfig.cc.
References bypass, cfg_filename, config_lineno, DBG_IMPORTANT, debugs, Ip::EnableIpv6, grokBool(), grokUri(), ipv6, key, method, methodStr(), name, NULL, parseMethod(), ConfigParser::ParseString(), parseVectPoint(), point, routing, uri, vectPointStr(), and w_space.
Referenced by Adaptation::Config::parseService().
| Adaptation::Method Adaptation::ServiceConfig::parseMethod | ( | const char * | buf | ) | const [protected] |
Definition at line 28 of file ServiceConfig.cc.
Referenced by parse().
| Adaptation::VectPoint Adaptation::ServiceConfig::parseVectPoint | ( | const char * | buf | ) | const [protected] |
Definition at line 40 of file ServiceConfig.cc.
Referenced by parse().
| const char * Adaptation::ServiceConfig::vectPointStr | ( | ) | const |
Definition at line 22 of file ServiceConfig.cc.
References point.
Referenced by Adaptation::Config::dumpService(), and parse().
Member Data Documentation
Definition at line 34 of file ServiceConfig.h.
Referenced by Adaptation::Icap::ServiceRep::announceStatusChange(), Adaptation::Config::dumpService(), parse(), and Adaptation::Icap::ModXact::start().
Definition at line 28 of file ServiceConfig.h.
Referenced by Adaptation::Icap::Xaction::finalizeLogInfo(), grokUri(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::ModXact::makeRequestHeaders(), and Adaptation::Icap::Xaction::openConnection().
Definition at line 36 of file ServiceConfig.h.
Referenced by Adaptation::Icap::Xaction::openConnection(), and parse().
Definition at line 23 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService(), Adaptation::Config::finalize(), Adaptation::Icap::Xaction::finalizeLogInfo(), parse(), and Adaptation::Service::Service().
Definition at line 32 of file ServiceConfig.h.
Referenced by Adaptation::Icap::ServiceRep::checkOptions(), Adaptation::Icap::ModXact::finalizeLogInfo(), Adaptation::Icap::ModXact::makeRequestHeaders(), methodStr(), and parse().
Definition at line 33 of file ServiceConfig.h.
Referenced by parse(), and vectPointStr().
Definition at line 30 of file ServiceConfig.h.
Referenced by Adaptation::Icap::ServiceRep::finalize(), grokUri(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::ModXact::makeRequestHeaders(), and Adaptation::Icap::Xaction::openConnection().
Definition at line 27 of file ServiceConfig.h.
Referenced by grokUri().
Definition at line 29 of file ServiceConfig.h.
Referenced by grokUri().
Definition at line 35 of file ServiceConfig.h.
Referenced by parse().
Definition at line 24 of file ServiceConfig.h.
Referenced by Adaptation::Config::dumpService(), Adaptation::Icap::Xaction::finalizeLogInfo(), grokUri(), Adaptation::Icap::OptXact::makeRequest(), Adaptation::Icap::ModXact::makeRequestHeaders(), Adaptation::Icap::Xaction::openConnection(), and parse().
The documentation for this class was generated from the following files:
- src/adaptation/ServiceConfig.h
- src/adaptation/ServiceConfig.cc
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
