32 #ifndef _ESN_IOWORK_H_
33 #define _ESN_IOWORK_H_
50 virtual int Run(BufferPtr workdata);
56 virtual int Handle(IoBufferPtr data);
64 typedef boost::shared_ptr<IoWork> IoWorkPtr;
68 #endif // _ESN_BUSINESS_H_
IoWork class, it will provide the callback function for the threads(the workers) to handle io data(io...
Definition: IoWork.h:42
virtual int Run(BufferPtr workdata)
virtual int Handle(IoBufferPtr data)
Work class (interface), it will provide the callback function for the threads(the workers) ...
Definition: Work.h:41