Public Member Functions

BlasterUrlList Class Reference

#include <Prefetch.h>

Inherits Continuation.

Collaboration diagram for BlasterUrlList:
Collaboration graph
[legend]

Public Member Functions

 BlasterUrlList ()
void init (TSPrefetchBlastData const &bdata=UDP_BLAST_DATA, int tout=0, int xmtu=INT_MAX)
void free ()
int handleEvent (int event, void *data)
 Receives the event code and data for an Event.
void invokeUrlBlaster ()

Detailed Description

Definition at line 195 of file Prefetch.h.


Constructor & Destructor Documentation

BlasterUrlList::BlasterUrlList (  )  [inline]

Definition at line 207 of file Prefetch.h.


Member Function Documentation

void BlasterUrlList::free ( void   )  [inline]

Definition at line 228 of file Prefetch.h.

References ClassAllocator< C >::free(), and Continuation::mutex.

Referenced by handleEvent().

int BlasterUrlList::handleEvent ( int  event,
void *  data 
)

Receives the event code and data for an Event.

This function receives the event code and data for an event and forwards them to the current continuation handler. The processor calling back the continuation is responsible for acquiring its lock.

Parameters:
event Event code to be passed at callback (Processor specific).
data General purpose data related to the event code (Processor specific).
Returns:
State machine and processor specific return code.

Reimplemented from Continuation.

Definition at line 851 of file Prefetch.cc.

References PrefetchUrlEntry::blaster_link, Action::cancel(), EVENT_IMMEDIATE, EVENT_INTERVAL, free(), HRTIME_MSECONDS, ink_assert, invokeUrlBlaster(), PrefetchUrlEntry::len, PREFETCH_EVENT_SEND_URL, EThread::schedule_in(), and this_ethread().

Referenced by PrefetchBlaster::handleEvent(), and init().

void BlasterUrlList::init ( TSPrefetchBlastData const &  bdata = UDP_BLAST_DATA,
int  tout = 0,
int  xmtu = INT_MAX 
) [inline]
void BlasterUrlList::invokeUrlBlaster (  )  [inline]

Definition at line 278 of file Prefetch.h.

References ClassAllocator< C >::alloc(), and PrefetchUrlBlaster::init().

Referenced by handleEvent().


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