w11 - cpp 0.794
Backend server for Rlink and w11
|
FIXME_docs. More...
#include <RlinkServerEventLoop.hpp>
Public Member Functions | |
RlinkServerEventLoop (RlinkServer *pserv) | |
Default constructor. | |
virtual | ~RlinkServerEventLoop () |
Destructor. | |
virtual void | EventLoop () |
FIXME_docs. | |
Public Member Functions inherited from Retro::ReventLoop | |
ReventLoop () | |
FIXME_docs. | |
virtual | ~ReventLoop () |
FIXME_docs. | |
ReventLoop (const ReventLoop &)=delete | |
ReventLoop & | operator= (const ReventLoop &)=delete |
void | AddPollHandler (pollhdl_t &&pollhdl, int fd, short events=POLLIN) |
FIXME_docs. | |
bool | TestPollHandler (int fd, short events=POLLIN) |
FIXME_docs. | |
void | RemovePollHandler (int fd, short events, bool nothrow=false) |
FIXME_docs. | |
void | RemovePollHandler (int fd) |
FIXME_docs. | |
void | SetLogFile (const std::shared_ptr< RlogFile > &splog) |
FIXME_docs. | |
void | SetTraceLevel (uint32_t level) |
FIXME_docs. | |
uint32_t | TraceLevel () const |
FIXME_docs. | |
void | Stop () |
FIXME_docs. | |
void | UnStop () |
FIXME_docs. | |
bool | StopPending () |
FIXME_docs. | |
virtual void | EventLoop () |
FIXME_docs. | |
virtual void | Dump (std::ostream &os, int ind=0, const char *text=0, int detail=0) const |
FIXME_docs. | |
Protected Attributes | |
RlinkServer * | fpServer |
Protected Attributes inherited from Retro::ReventLoop | |
bool | fStopPending |
bool | fUpdatePoll |
std::mutex | fPollDscMutex |
std::vector< PollDsc > | fPollDsc |
std::vector< pollfd > | fPollFd |
std::vector< pollhdl_t > | fPollHdl |
uint32_t | fTraceLevel |
trace level | |
std::shared_ptr< RlogFile > | fspLog |
log file ptr | |
Additional Inherited Members | |
Public Types inherited from Retro::ReventLoop | |
typedef std::function< int(const pollfd &)> | pollhdl_t |
Protected Member Functions inherited from Retro::ReventLoop | |
int | DoPoll (int timeout=-1) |
FIXME_docs. | |
void | DoCall (void) |
FIXME_docs. | |
FIXME_docs.
Definition at line 26 of file RlinkServerEventLoop.hpp.
Retro::RlinkServerEventLoop::RlinkServerEventLoop | ( | RlinkServer * | pserv | ) |
Default constructor.
Definition at line 37 of file RlinkServerEventLoop.cpp.
|
virtual |
Destructor.
Definition at line 44 of file RlinkServerEventLoop.cpp.
|
virtual |
FIXME_docs.
Reimplemented from Retro::ReventLoop.
Definition at line 50 of file RlinkServerEventLoop.cpp.
References Retro::RlinkServer::ActnPending(), Retro::RlinkServer::AttnPending(), Retro::RlinkServer::CallActnHandler(), Retro::RlinkServer::CallAttnHandler(), Retro::ReventLoop::DoCall(), Retro::ReventLoop::DoPoll(), Retro::ReventLoop::fPollFd, fpServer, Retro::ReventLoop::fspLog, Retro::RlinkServer::fStats, Retro::ReventLoop::fTraceLevel, Retro::ReventLoop::fUpdatePoll, Retro::Rstats::Inc(), Retro::RlinkServer::kStatNEloopPoll, Retro::RlinkServer::kStatNEloopWait, and Retro::ReventLoop::StopPending().
Referenced by Retro::RlinkServer::StartOrResume().
|
protected |
Definition at line 34 of file RlinkServerEventLoop.hpp.
Referenced by EventLoop().