|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLNET::CServerReceiveTask Class ReferenceCode of receiving threads for servers.
More...
#include <buf_server.h>
Inheritance diagram for NLNET::CServerReceiveTask:
List of all members.
Detailed Description
Code of receiving threads for servers.
Note: the methods locations in the classes do not correspond to the threads where they are executed, but to the data they use.
Definition at line 402 of file buf_server.h.
Constructor & Destructor Documentation
NLNET::CServerReceiveTask::CServerReceiveTask |
( |
CBufServer * |
server |
) |
[inline] |
|
Member Function Documentation
void NLNET::CServerReceiveTask::addNewSocket |
( |
TSockId |
sockid |
) |
[inline] |
|
void NLNET::CServerReceiveTask::addToRemoveSet |
( |
TSockId |
sockid |
) |
[inline] |
|
|
Add connection to the remove set (mutexed on _RemoveSet) Note: you must not call this method within a mutual exclusion on _Connections, or there will be a deadlock (see clearClosedConnection()).
Definition at line 441 of file buf_server.h.
References _RemoveSet, nlassert, nlnettrace, and NLNET::TSockId. |
void NLNET::CServerReceiveTask::clearClosedConnections |
( |
|
) |
|
|
uint NLNET::CServerReceiveTask::numberOfConnections |
( |
|
) |
[inline] |
|
|
Returns the number of connections handled by the thread (mutexed on _Connections).
Definition at line 413 of file buf_server.h.
References _Connections. |
void NLNET::CServerReceiveTask::run |
( |
|
) |
[virtual] |
|
CBufServer* NLNET::CServerReceiveTask::server |
( |
|
) |
[inline] |
|
Friends And Related Function Documentation
friend class CBufServer [friend]
|
|
Member Data Documentation
NLMISC::CSynchronized<CConnections> NLNET::CServerReceiveTask::_Connections [private]
|
|
NLMISC::CSynchronized<CConnections> NLNET::CServerReceiveTask::_RemoveSet [private]
|
|
CBufServer* NLNET::CServerReceiveTask::_Server [private]
|
|
The documentation for this class was generated from the following files:
|
|