# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLNET::CClientReceiveTask Class Reference

Code of receiving thread for clients. More...

#include <buf_client.h>

Inheritance diagram for NLNET::CClientReceiveTask:

NLMISC::IRunnable List of all members.

Public Methods

 CClientReceiveTask (CBufClient *client, TSockId sockid)
 Constructor (increments the reference to the object pointed to by the smart pointer sockid). More...

virtual void run ()
 Run. More...

CTcpSocksock ()
 Returns the socket. More...

TSockId sockId ()
 Returns the socket identifier. More...


Private Attributes

CBufClient_Client
TSockId _SockId

Detailed Description

Code of receiving thread for clients.

Definition at line 45 of file buf_client.h.


Constructor & Destructor Documentation

NLNET::CClientReceiveTask::CClientReceiveTask CBufClient   client,
TSockId    sockid
[inline]
 

Constructor (increments the reference to the object pointed to by the smart pointer sockid).

Definition at line 50 of file buf_client.h.

References _Client, _SockId, and NLNET::TSockId.


Member Function Documentation

void NLNET::CClientReceiveTask::run   [virtual]
 

Run.

Implements NLMISC::IRunnable.

Definition at line 427 of file buf_client.cpp.

References _Client, _SockId, nldebug, nlnettrace, nlwarning, sock, and NLNET::TBlockSize.

CTcpSock* NLNET::CClientReceiveTask::sock   [inline]
 

Returns the socket.

Definition at line 56 of file buf_client.h.

References _SockId.

Referenced by run.

TSockId NLNET::CClientReceiveTask::sockId   [inline]
 

Returns the socket identifier.

Definition at line 59 of file buf_client.h.

References _SockId, and NLNET::TSockId.


Member Data Documentation

CBufClient* NLNET::CClientReceiveTask::_Client [private]
 

Definition at line 63 of file buf_client.h.

Referenced by CClientReceiveTask, and run.

TSockId NLNET::CClientReceiveTask::_SockId [private]
 

Definition at line 65 of file buf_client.h.

Referenced by CClientReceiveTask, run, sock, and sockId.


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