#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)
 
 ~Service () override
 
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

◆ Id

Definition at line 31 of file Service.h.

◆ Pointer

Definition at line 30 of file Service.h.

Constructor & Destructor Documentation

◆ Service()

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

Definition at line 16 of file Service.cc.

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

◆ ~Service()

Adaptation::Service::~Service ( )
override

Definition at line 22 of file Service.cc.

Member Function Documentation

◆ broken()

bool Adaptation::Service::broken ( ) const
virtual

Definition at line 30 of file Service.cc.

◆ cfg()

◆ detach()

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::Ecap::ServiceRep, and Adaptation::Icap::ServiceRep.

◆ detached()

virtual bool Adaptation::Service::detached ( ) const
pure virtual

◆ finalize()

void Adaptation::Service::finalize ( )
virtual

◆ makeXactLauncher()

virtual Initiate * Adaptation::Service::makeXactLauncher ( Http::Message virginHeader,
HttpRequest virginCause,
AccessLogEntry::Pointer alp 
)
pure virtual

◆ noteFailure()

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

◆ probed()

virtual bool Adaptation::Service::probed ( ) const
pure virtual

◆ up()

virtual bool Adaptation::Service::up ( ) const
pure virtual

◆ wants()

bool Adaptation::Service::wants ( const ServiceFilter filter) const

◆ wantsUrl()

virtual bool Adaptation::Service::wantsUrl ( const SBuf urlPath) const
pure virtual

◆ writeableCfg()

ServiceConfig & Adaptation::Service::writeableCfg ( )
inlineprotected

Definition at line 62 of file Service.h.

References theConfig.

Member Data Documentation

◆ theConfig

ServiceConfigPointer Adaptation::Service::theConfig
private

Definition at line 65 of file Service.h.

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


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors