eCAP service configuration More...

#include <Config.h>

Inheritance diagram for Adaptation::Ecap::ServiceConfig:
Collaboration diagram for Adaptation::Ecap::ServiceConfig:

Public Types

typedef std::pair< std::string, std::string > Extension
 
typedef std::list< ExtensionExtensions
 

Public Member Functions

bool grokExtension (const char *name, const char *value) override
 handle name=value configuration option with name unknown to Squid More...
 
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 More...
 
SrvBehaviour onOverload
 how to handle Max-Connections feature More...
 
bool routing
 whether this service may determine the next service(s) More...
 
bool ipv6
 whether this service uses IPv6 transport (default IPv4) More...
 
Security::PeerOptions secure
 
YesNoNone connectionEncryption
 whether this service uses only secure connections More...
 

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 More...
 
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 More...
 

Detailed Description

Definition at line 25 of file Config.h.

Member Typedef Documentation

◆ Extension

typedef std::pair<std::string, std::string> Adaptation::Ecap::ServiceConfig::Extension

Definition at line 32 of file Config.h.

◆ Extensions

Definition at line 33 of file Config.h.

Member Function Documentation

◆ grokBool()

bool Adaptation::ServiceConfig::grokBool ( bool &  var,
const char *  name,
const char *  value 
)
protectedinherited

Definition at line 294 of file ServiceConfig.cc.

References cfg_filename, config_lineno, DBG_CRITICAL, and debugs.

◆ grokExtension()

bool Adaptation::Ecap::ServiceConfig::grokExtension ( const char *  name,
const char *  value 
)
overridevirtual

Reimplemented from Adaptation::ServiceConfig.

Definition at line 51 of file Config.cc.

◆ grokLong()

bool Adaptation::ServiceConfig::grokLong ( long &  var,
const char *  name,
const char *  value 
)
protectedinherited

Definition at line 311 of file ServiceConfig.cc.

References cfg_filename, config_lineno, DBG_CRITICAL, and debugs.

◆ grokOnOverload()

bool Adaptation::ServiceConfig::grokOnOverload ( SrvBehaviour var,
const char *  value 
)
protectedinherited

◆ grokUri()

bool Adaptation::ServiceConfig::grokUri ( const char *  value)
protectedinherited

Definition at line 190 of file ServiceConfig.cc.

References cfg_filename, config_lineno, DBG_CRITICAL, debugs, String::npos, and port.

◆ methodStr()

const char * Adaptation::ServiceConfig::methodStr ( ) const
inherited

◆ parse()

◆ parseMethod()

Adaptation::Method Adaptation::ServiceConfig::parseMethod ( const char *  buf) const
protectedinherited

◆ parseVectPoint()

Adaptation::VectPoint Adaptation::ServiceConfig::parseVectPoint ( const char *  buf) const
protectedinherited

◆ vectPointStr()

const char * Adaptation::ServiceConfig::vectPointStr ( ) const
inherited

Definition at line 33 of file ServiceConfig.cc.

References Adaptation::vectPointStr().

Referenced by Adaptation::Config::dumpService().

Member Data Documentation

◆ bypass

bool Adaptation::ServiceConfig::bypass
inherited

◆ connectionEncryption

YesNoNone Adaptation::ServiceConfig::connectionEncryption
inherited

Definition at line 54 of file ServiceConfig.h.

Referenced by Adaptation::Config::dumpService().

◆ extensions

Extensions Adaptation::Ecap::ServiceConfig::extensions

Definition at line 34 of file Config.h.

◆ host

◆ ipv6

bool Adaptation::ServiceConfig::ipv6
inherited

Definition at line 50 of file ServiceConfig.h.

◆ key

◆ maxConn

long Adaptation::ServiceConfig::maxConn
inherited

Definition at line 47 of file ServiceConfig.h.

◆ method

◆ onOverload

SrvBehaviour Adaptation::ServiceConfig::onOverload
inherited

Definition at line 48 of file ServiceConfig.h.

◆ point

VectPoint Adaptation::ServiceConfig::point
inherited

◆ port

◆ protocol

String Adaptation::ServiceConfig::protocol
inherited

Definition at line 37 of file ServiceConfig.h.

Referenced by Adaptation::Config::dumpService().

◆ resource

String Adaptation::ServiceConfig::resource
inherited

Definition at line 39 of file ServiceConfig.h.

◆ routing

bool Adaptation::ServiceConfig::routing
inherited

Definition at line 49 of file ServiceConfig.h.

◆ secure

Security::PeerOptions Adaptation::ServiceConfig::secure
inherited

Definition at line 53 of file ServiceConfig.h.

Referenced by Adaptation::Config::dumpService().

◆ uri


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors