Public Member Functions

CacheHostMatcher Class Reference

#include <P_CacheHosting.h>

Collaboration diagram for CacheHostMatcher:
Collaboration graph
[legend]

Public Member Functions

 CacheHostMatcher (const char *name, CacheType typ)
 ~CacheHostMatcher ()
void Match (char const *rdata, int rlen, CacheHostResult *result)
void AllocateSpace (int num_entries)
void NewEntry (matcher_line *line_info)
void Print ()
int getNumElements () const
CacheHostRecordgetDataArray () const
HostLookupgetHLookup () const

Detailed Description

Definition at line 77 of file P_CacheHosting.h.


Constructor & Destructor Documentation

CacheHostMatcher::CacheHostMatcher ( const char *  name,
CacheType  typ 
)

Definition at line 37 of file CacheHosting.cc.

CacheHostMatcher::~CacheHostMatcher (  ) 

Definition at line 46 of file CacheHosting.cc.


Member Function Documentation

void CacheHostMatcher::AllocateSpace ( int  num_entries  ) 

Definition at line 85 of file CacheHosting.cc.

References HostLookup::AllocateSpace(), and ink_assert.

Referenced by CacheHostTable::BuildTableFromString().

CacheHostRecord* CacheHostMatcher::getDataArray (  )  const [inline]

Definition at line 89 of file P_CacheHosting.h.

Referenced by rebuild_host_table().

HostLookup* CacheHostMatcher::getHLookup (  )  const [inline]

Definition at line 90 of file P_CacheHosting.h.

int CacheHostMatcher::getNumElements (  )  const [inline]

Definition at line 88 of file P_CacheHosting.h.

Referenced by rebuild_host_table().

void CacheHostMatcher::Match ( char const *  rdata,
int  rlen,
CacheHostResult result 
)
void CacheHostMatcher::NewEntry ( matcher_line line_info  ) 
void CacheHostMatcher::Print (  ) 

Definition at line 60 of file CacheHosting.cc.

References HostLookup::Print().

Referenced by CacheHostTable::Print().


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