Public Member Functions | Data Fields

KeepAliveLockHandler Class Reference

#include <Prefetch.h>

Inherits Continuation.

Collaboration diagram for KeepAliveLockHandler:
Collaboration graph
[legend]

Public Member Functions

 KeepAliveLockHandler ()
void init (IpEndpoint const &xip, MIOBuffer *xbuf, IOBufferReader *xreader)
 ~KeepAliveLockHandler ()
int handleEvent (int event, void *data)
 Receives the event code and data for an Event.

Data Fields

IpEndpoint ip
MIOBufferbuf
IOBufferReaderreader

Detailed Description

Definition at line 402 of file Prefetch.h.


Constructor & Destructor Documentation

KeepAliveLockHandler::KeepAliveLockHandler (  )  [inline]

Definition at line 407 of file Prefetch.h.

References ip.

KeepAliveLockHandler::~KeepAliveLockHandler (  )  [inline]

Definition at line 424 of file Prefetch.h.

References Continuation::mutex.


Member Function Documentation

int KeepAliveLockHandler::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 2236 of file Prefetch.cc.

References KeepAliveConnTable::append(), buf, EVENT_INTERVAL, ip, prefetchLockHandlerAllocator, and reader.

Referenced by init().

void KeepAliveLockHandler::init ( IpEndpoint const &  xip,
MIOBuffer xbuf,
IOBufferReader xreader 
) [inline]

Field Documentation

Definition at line 431 of file Prefetch.h.

Referenced by handleEvent(), and init().

Definition at line 430 of file Prefetch.h.

Referenced by handleEvent(), init(), and KeepAliveLockHandler().

Definition at line 432 of file Prefetch.h.

Referenced by handleEvent(), and init().


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