Public Member Functions | Data Fields

CacheTestSM Struct Reference

#include <P_CacheTest.h>

Inherits RegressionSM.

Collaboration diagram for CacheTestSM:
Collaboration graph
[legend]

Public Member Functions

void fill_buffer ()
int check_buffer ()
int check_result (int event)
int complete (int event)
int event_handler (int event, void *edata)
void make_request ()
virtual void make_request_internal ()=0
virtual int open_read_callout ()
virtual int open_write_callout ()
void cancel_timeout ()
void run ()
virtual RegressionSMclone ()=0
 CacheTestSM (RegressionTest *t)
 CacheTestSM (const CacheTestSM &ao)
 ~CacheTestSM ()

Data Fields

int start_memcpy_on_clone
Actiontimeout
Actioncache_action
ink_hrtime start_time
CacheVConnectioncache_vc
VIOcvio
MIOBufferbuffer
IOBufferReaderbuffer_reader
int64_t total_size
int64_t nbytes
CacheKey key
int repeat_count
int expect_event
int expect_initial_event
int initial_event
uint64_t content_salt
CacheTestHeader header
int end_memcpy_on_clone

Detailed Description

Definition at line 69 of file P_CacheTest.h.


Constructor & Destructor Documentation

CacheTestSM::CacheTestSM ( RegressionTest t  ) 

Definition at line 29 of file CacheTest.cc.

References event_handler(), and SET_HANDLER.

CacheTestSM::CacheTestSM ( const CacheTestSM ao  ) 
CacheTestSM::~CacheTestSM (  ) 

Member Function Documentation

void CacheTestSM::cancel_timeout (  )  [inline]

Definition at line 107 of file P_CacheTest.h.

References Action::cancel(), and timeout.

Referenced by event_handler().

int CacheTestSM::check_buffer (  ) 
int CacheTestSM::check_result ( int  event  ) 

Definition at line 256 of file CacheTest.cc.

References expect_event, expect_initial_event, and initial_event.

Referenced by complete(), and event_handler().

virtual RegressionSM* CacheTestSM::clone (  )  [pure virtual]

Reimplemented from RegressionSM.

int CacheTestSM::complete ( int  event  ) 
int CacheTestSM::event_handler ( int  event,
void *  edata 
)
void CacheTestSM::fill_buffer (  ) 
void CacheTestSM::make_request (  )  [inline]

Definition at line 99 of file P_CacheTest.h.

References ink_get_hrtime(), make_request_internal(), and start_time.

Referenced by event_handler().

virtual void CacheTestSM::make_request_internal (  )  [pure virtual]

Referenced by make_request().

int CacheTestSM::open_read_callout (  )  [virtual]

Definition at line 57 of file CacheTest.cc.

References buffer, cache_vc, cvio, CacheVConnection::do_io_read(), and nbytes.

Referenced by event_handler().

int CacheTestSM::open_write_callout (  )  [virtual]

Definition at line 62 of file CacheTest.cc.

References buffer_reader, cache_vc, cvio, CacheVConnection::do_io_write(), and nbytes.

Referenced by event_handler().

void CacheTestSM::run (  )  [inline, virtual]

Field Documentation

Definition at line 76 of file P_CacheTest.h.

Referenced by event_handler(), fill_buffer(), open_read_callout(), and ~CacheTestSM().

Definition at line 72 of file P_CacheTest.h.

Referenced by event_handler(), and ~CacheTestSM().

Definition at line 74 of file P_CacheTest.h.

Referenced by event_handler(), open_read_callout(), open_write_callout(), and ~CacheTestSM().

Definition at line 90 of file P_CacheTest.h.

Referenced by check_buffer(), and fill_buffer().

Definition at line 92 of file P_CacheTest.h.

Referenced by CacheTestSM().

Definition at line 87 of file P_CacheTest.h.

Referenced by check_result().

Definition at line 88 of file P_CacheTest.h.

Referenced by check_result().

Definition at line 91 of file P_CacheTest.h.

Definition at line 89 of file P_CacheTest.h.

Referenced by check_result(), and event_handler().

Definition at line 85 of file P_CacheTest.h.

Referenced by check_buffer(), and fill_buffer().

Definition at line 84 of file P_CacheTest.h.

Referenced by event_handler(), open_read_callout(), and open_write_callout().

Definition at line 86 of file P_CacheTest.h.

Referenced by event_handler().

Definition at line 70 of file P_CacheTest.h.

Referenced by CacheTestSM().

Definition at line 73 of file P_CacheTest.h.

Referenced by make_request().

Definition at line 71 of file P_CacheTest.h.

Referenced by cancel_timeout(), event_handler(), and run().

Definition at line 83 of file P_CacheTest.h.


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