simple class to share common code to both TSockManager and Csock
More...
#include <Csocket.h>
simple class to share common code to both TSockManager and Csock
◆ CSockCommon()
CSockCommon::CSockCommon |
( |
| ) |
|
|
inline |
◆ ~CSockCommon()
virtual CSockCommon::~CSockCommon |
( |
| ) |
|
|
virtual |
◆ AddCron()
virtual void CSockCommon::AddCron |
( |
CCron * |
pcCron | ) |
|
|
virtual |
insert a newly created cron
◆ AssignFDs()
void CSockCommon::AssignFDs |
( |
std::map< cs_sock_t, short > & |
miiReadyFds, |
|
|
struct timeval * |
tvtimeout |
|
) |
| |
◆ CheckFDs()
void CSockCommon::CheckFDs |
( |
const std::map< cs_sock_t, short > & |
miiReadyFds | ) |
|
◆ CleanupCrons()
void CSockCommon::CleanupCrons |
( |
| ) |
|
◆ CleanupFDMonitors()
void CSockCommon::CleanupFDMonitors |
( |
| ) |
|
◆ Cron()
virtual void CSockCommon::Cron |
( |
| ) |
|
|
virtual |
This has a garbage collecter, and is used internall to call the jobs.
◆ DelCron() [1/2]
virtual void CSockCommon::DelCron |
( |
const CS_STRING & |
sName, |
|
|
bool |
bDeleteAll = true , |
|
|
bool |
bCaseSensitive = true |
|
) |
| |
|
virtual |
deletes a cron by name
- Parameters
-
sName | the name of the cron |
bDeleteAll | delete all crons that match sName |
bCaseSensitive | use strcmp or strcasecmp |
◆ DelCron() [2/2]
virtual void CSockCommon::DelCron |
( |
uint32_t |
iPos | ) |
|
|
virtual |
◆ DelCronByAddr()
virtual void CSockCommon::DelCronByAddr |
( |
CCron * |
pcCron | ) |
|
|
virtual |
◆ GetCrons()
const std::vector<CCron *>& CSockCommon::GetCrons |
( |
| ) |
const |
|
inline |
returns a const reference to the crons associated to this socket
◆ MonitorFD()
void CSockCommon::MonitorFD |
( |
CSMonitorFD * |
pMonitorFD | ) |
|
|
inline |
◆ m_vcCrons
std::vector<CCron *> CSockCommon::m_vcCrons |
|
protected |
◆ m_vcMonitorFD
The documentation for this class was generated from the following file: