My Project
Public Member Functions | List of all members
ParaEngine::IProcessorWorkerData Class Reference

interface of processor worker data More...

#include <IDataLoader.h>

Public Member Functions

virtual int GetProcessorQueueID ()
 
virtual void * GetCurlInterface (int nID=0)
 get the libcurl easy interface that this thread is related to. More...
 
virtual void AddBytesProcessed (int nBytesProcessed)
 add number of bytes processed. More...
 
virtual int GetBytesProcessed ()
 get total number of bytes processed. More...
 

Detailed Description

interface of processor worker data

Member Function Documentation

§ AddBytesProcessed()

virtual void ParaEngine::IProcessorWorkerData::AddBytesProcessed ( int  nBytesProcessed)
inlinevirtual

add number of bytes processed.

this function can be called by the IDataProcessor for statistics

§ GetBytesProcessed()

virtual int ParaEngine::IProcessorWorkerData::GetBytesProcessed ( )
inlinevirtual

get total number of bytes processed.

§ GetCurlInterface()

virtual void* ParaEngine::IProcessorWorkerData::GetCurlInterface ( int  nID = 0)
inlinevirtual

get the libcurl easy interface that this thread is related to.

Normally there is only one curl interface per thread. curl interface is created on demand.

Parameters
nIDreserved for future use in case there are multiple curl interface per thread.

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