32 #ifndef _ESN_IOSERVICE_H_
33 #define _ESN_IOSERVICE_H_
35 #include <boost/shared_ptr.hpp>
57 virtual void Start() = 0;
61 virtual void Stop() = 0;
69 typedef boost::shared_ptr<IoService> IoServicePtr;
75 IoServicePtr CreateIoService(
int threadStackSize = 0);
79 #endif // _ESN_IOSERVICE_H_
virtual void * GetOrderSustainer()=0
virtual void * GetRunner()=0
IoService class, it will provide a thread running on IO port to process its IO events.
Definition: IoService.h:41