Adaptation::ServiceConfig Class Reference

#include <ServiceConfig.h>

Collaboration diagram for Adaptation::ServiceConfig:

List of all members.

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]
const char * Adaptation::ServiceConfig::methodStr (  )  const
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 33 of file ServiceConfig.h.

Referenced by parse(), and vectPointStr().

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().


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

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors