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

IoService class, it will provide a thread running on IO port to process its IO events. More...

#include <IoService.h>

Public Member Functions

virtual void * GetRunner ()=0
 
virtual void * GetOrderSustainer ()=0
 
virtual void Start ()=0
 
virtual void Stop ()=0
 

Detailed Description

IoService class, it will provide a thread running on IO port to process its IO events.

Member Function Documentation

virtual void* esnlib::IoService::GetOrderSustainer ( )
pure virtual

Get the pointer of the order sustainer (for orderly execution)

Returns
The pointer of the order sustainer
virtual void* esnlib::IoService::GetRunner ( )
pure virtual

Get the pointer of the runner (a struct including a thread)

Returns
The pointer of the runner
virtual void esnlib::IoService::Start ( )
pure virtual

Start the service (run a thread to process its IO events)

virtual void esnlib::IoService::Stop ( )
pure virtual

Stop the service


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