SchedBase::ConnReqBase Class Reference

#include <schedbase.h>

Inheritance diagram for SchedBase::ConnReqBase:

Inheritance graph
[legend]
Collaboration diagram for SchedBase::ConnReqBase:

Collaboration graph
[legend]
List of all members.

Detailed Description

Request of type connection.

Definition at line 128 of file schedbase.h.


Public Types

enum  ConnRet { REMOVE = 1, NOTIFY = 2, ADDCONN = 4 }

Public Member Functions

 ConnReqBase (float score)
virtual ~ConnReqBase ()
virtual int doConn ()=0
 Perform connection attempt.

Member Enumeration Documentation

enum SchedBase::ConnReqBase::ConnRet
 

Enumeration values:
REMOVE  Request should be removed.
NOTIFY  notify() should be called
ADDCONN  Connection has been added.

Definition at line 130 of file schedbase.h.


Constructor & Destructor Documentation

SchedBase::ConnReqBase::ConnReqBase float  score  ) 
 

Definition at line 71 of file schedbase.cpp.

SchedBase::ConnReqBase::~ConnReqBase  )  [virtual]
 

Definition at line 72 of file schedbase.cpp.


Member Function Documentation

virtual int SchedBase::ConnReqBase::doConn  )  [pure virtual]
 

Perform connection attempt.

Returns:
Bitfield of values from ConnRet enumeration

Implemented in Scheduler< Impl, ImplPtr >::AcceptReq, and Scheduler< Impl, ImplPtr >::ConnReq.


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