Easy Simple Network Library  0.3.7
All Classes Functions Modules
Public Member Functions | List of all members
esnlib::IoWork Class Reference

IoWork class, it will provide the callback function for the threads(the workers) to handle io data(io buffer) More...

#include <IoWork.h>

Inheritance diagram for esnlib::IoWork:
esnlib::Work

Public Member Functions

virtual int Run (BufferPtr workdata)
 
virtual int Handle (IoBufferPtr data)
 

Detailed Description

IoWork class, it will provide the callback function for the threads(the workers) to handle io data(io buffer)

Member Function Documentation

virtual int esnlib::IoWork::Handle ( IoBufferPtr  data)
virtual

The callback function for the threads(the workers) to handle io data(io buffer)

Parameters
dataThe IO data
Returns
The return code
virtual int esnlib::IoWork::Run ( BufferPtr  workdata)
virtual

The callback function for the threads(the workers)

Parameters
workdataThe working data
Returns
The return code

Reimplemented from esnlib::Work.


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