#include <Service.h>

Inheritance diagram for Adaptation::Service:
Collaboration diagram for Adaptation::Service:

Public Types

typedef RefCount< ServicePointer
typedef String Id

Public Member Functions

 Service (const ServiceConfigPointer &aConfig)
virtual ~Service ()
virtual bool probed () const =0
virtual bool broken () const
virtual bool up () const =0
virtual InitiatemakeXactLauncher (Http::Message *virginHeader, HttpRequest *virginCause, AccessLogEntry::Pointer &alp)=0
bool wants (const ServiceFilter &filter) const
virtual bool wantsUrl (const SBuf &urlPath) const =0
virtual void noteFailure ()=0
const ServiceConfigcfg () const
virtual void finalize ()
virtual void detach ()=0
virtual bool detached () const =0
 whether detached() was called More...

Protected Member Functions

ServiceConfigwriteableCfg ()

Private Attributes

ServiceConfigPointer theConfig

Detailed Description

Definition at line 27 of file Service.h.

Member Typedef Documentation

Definition at line 31 of file Service.h.

Definition at line 30 of file Service.h.

Constructor & Destructor Documentation

Adaptation::Service::Service ( const ServiceConfigPointer aConfig)

Definition at line 16 of file Service.cc.

References cfg(), debugs, HERE(), Must, NULL, and theConfig.

Adaptation::Service::~Service ( )

Definition at line 22 of file Service.cc.

Member Function Documentation

bool Adaptation::Service::broken ( ) const

Definition at line 30 of file Service.cc.

virtual void Adaptation::Service::detach ( )
pure virtual

called when removed from the config; the service will be auto-destroyed when the last refcounting user leaves

Implemented in Adaptation::Icap::ServiceRep, and Adaptation::Ecap::ServiceRep.

virtual bool Adaptation::Service::detached ( ) const
pure virtual
void Adaptation::Service::finalize ( )
virtual Initiate* Adaptation::Service::makeXactLauncher ( Http::Message virginHeader,
HttpRequest virginCause,
AccessLogEntry::Pointer alp 
pure virtual
virtual void Adaptation::Service::noteFailure ( )
pure virtual
virtual bool Adaptation::Service::probed ( ) const
pure virtual
virtual bool Adaptation::Service::up ( ) const
pure virtual
bool Adaptation::Service::wants ( const ServiceFilter filter) const
virtual bool Adaptation::Service::wantsUrl ( const SBuf urlPath) const
pure virtual
ServiceConfig& Adaptation::Service::writeableCfg ( )

Definition at line 62 of file Service.h.

References theConfig.

Member Data Documentation

ServiceConfigPointer Adaptation::Service::theConfig

Definition at line 65 of file Service.h.

Referenced by cfg(), Service(), and writeableCfg().

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






Web Site Translations