vdr 2.7.6
|
Public Member Functions | |
cSVDRPServerHandler (int TcpPort) | |
virtual | ~cSVDRPServerHandler () override |
void | WaitUntilReady (void) |
![]() | |
cThread (const char *Description=NULL, bool LowPriority=false) | |
virtual | ~cThread () |
void | SetDescription (const char *Description,...) __attribute__((format(printf |
void bool | Start (void) |
bool | Active (void) |
Protected Member Functions | |
virtual void | Action (void) override |
![]() | |
void | SetPriority (int Priority) |
void | SetIOPriority (int Priority) |
void | Lock (void) |
void | Unlock (void) |
bool | Running (void) |
void | Cancel (int WaitSeconds=0) |
Private Member Functions | |
void | HandleServerConnection (void) |
void | ProcessConnections (void) |
Private Attributes | |
bool | ready |
cSocket | tcpSocket |
cVector< cSVDRPServer * > | serverConnections |
Additional Inherited Members | |
![]() | |
static tThreadId | ThreadId (void) |
static tThreadId | IsMainThread (void) |
static void | SetMainThreadId (void) |
cSVDRPServerHandler::cSVDRPServerHandler | ( | int | TcpPort | ) |
Definition at line 2814 of file svdrp.c.
References cThread::cThread(), ready, and tcpSocket.
|
overridevirtual |
Definition at line 2821 of file svdrp.c.
References cThread::Cancel(), and serverConnections.
|
overrideprotectedvirtual |
A derived cThread class must implement the code it wants to execute as a separate thread in this function.
If this is a loop, it must check Running() repeatedly to see whether it's time to stop.
Implements cThread.
Definition at line 2853 of file svdrp.c.
References HandleServerConnection(), ProcessConnections(), ready, cThread::Running(), SVDRPServerPoller, and tcpSocket.
|
private |
Definition at line 2846 of file svdrp.c.
References serverConnections, and tcpSocket.
Referenced by Action().
|
private |
void cSVDRPServerHandler::WaitUntilReady | ( | void | ) |
Definition at line 2828 of file svdrp.c.
References ready, cCondWait::SleepMs(), and cTimeMs::TimedOut().
|
private |
Definition at line 2799 of file svdrp.c.
Referenced by Action(), cSVDRPServerHandler(), and WaitUntilReady().
|
private |
Definition at line 2801 of file svdrp.c.
Referenced by HandleServerConnection(), ProcessConnections(), and ~cSVDRPServerHandler().
|
private |
Definition at line 2800 of file svdrp.c.
Referenced by Action(), cSVDRPServerHandler(), and HandleServerConnection().