Easy Simple Network Library  0.3.7
Public Member Functions | List of all members
esnlib::Work Class Reference

Work class (interface), it will provide the callback function for the threads(the workers) More...

#include <Work.h>

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

Public Member Functions

virtual int Run (BufferPtr workdata)
 

Detailed Description

Work class (interface), it will provide the callback function for the threads(the workers)

Member Function Documentation

virtual int esnlib::Work::Run ( BufferPtr  workdata)
virtual

The callback function for the threads(the workers)

Parameters
workdataThe working data
Returns
The return code

Reimplemented in esnlib::IoWork.


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