ACLServerNameStrategy Class Referenceabstract

#include <ServerName.h>

Inheritance diagram for ACLServerNameStrategy:
Collaboration diagram for ACLServerNameStrategy:

Public Types

typedef char const * MatchType
 

Public Member Functions

virtual int match (ACLData< MatchType > *&, ACLFilledChecklist *)
 
virtual bool requiresRequest () const
 
virtual const Acl::Optionsoptions ()
 
virtual bool valid () const
 
virtual int match (ACLData< char const * > *&, ACLFilledChecklist *)=0
 
virtual bool requiresRequest () const
 
virtual bool requiresReply () const
 
virtual bool valid () const
 

Private Attributes

Acl::BooleanOptionValue useClientRequested
 Ignore server-supplied names. More...
 
Acl::BooleanOptionValue useServerProvided
 Ignore client-supplied names. More...
 
Acl::BooleanOptionValue useConsensus
 Ignore mismatching names. More...
 

Detailed Description

Definition at line 24 of file ServerName.h.

Member Typedef Documentation

◆ MatchType

typedef char const * ACLStrategy< char const * >::MatchType
inherited

Definition at line 25 of file Strategy.h.

Member Function Documentation

◆ match() [1/2]

◆ match() [2/2]

◆ options()

const Acl::Options & ACLServerNameStrategy::options ( )
virtual

◆ requiresReply()

virtual bool ACLStrategy< char const * >::requiresReply ( ) const
inlinevirtualinherited

Definition at line 32 of file Strategy.h.

◆ requiresRequest() [1/2]

virtual bool ACLServerNameStrategy::requiresRequest ( ) const
inlinevirtual

Definition at line 30 of file ServerName.h.

◆ requiresRequest() [2/2]

virtual bool ACLStrategy< char const * >::requiresRequest ( ) const
inlinevirtualinherited

Definition at line 30 of file Strategy.h.

◆ valid() [1/2]

bool ACLServerNameStrategy::valid ( ) const
virtual

Definition at line 146 of file ServerName.cc.

References DBG_CRITICAL, debugs, useClientRequested, useConsensus, and useServerProvided.

◆ valid() [2/2]

virtual bool ACLStrategy< char const * >::valid ( ) const
inlinevirtualinherited

Definition at line 34 of file Strategy.h.

Member Data Documentation

◆ useClientRequested

Acl::BooleanOptionValue ACLServerNameStrategy::useClientRequested
private

Definition at line 35 of file ServerName.h.

Referenced by match(), options(), and valid().

◆ useConsensus

Acl::BooleanOptionValue ACLServerNameStrategy::useConsensus
private

Definition at line 37 of file ServerName.h.

Referenced by match(), options(), and valid().

◆ useServerProvided

Acl::BooleanOptionValue ACLServerNameStrategy::useServerProvided
private

Definition at line 36 of file ServerName.h.

Referenced by match(), options(), and valid().


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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors