|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLNET::CServerBufSock Class ReferenceCServerBufSock A socket, its send buffer plus a nonblocking receiving system.
More...
#include <buf_sock.h>
Inheritance diagram for NLNET::CServerBufSock:
List of all members.
Detailed Description
CServerBufSock A socket, its send buffer plus a nonblocking receiving system.
Definition at line 276 of file buf_sock.h.
Constructor & Destructor Documentation
NLNET::CServerBufSock::CServerBufSock |
( |
CTcpSock * |
sock |
) |
[protected] |
|
Member Function Documentation
bool NLNET::CServerBufSock::advertiseConnection |
( |
CBufServer * |
bnb |
) |
[inline, protected] |
|
const std::vector<uint8> NLNET::CServerBufSock::receivedBuffer |
( |
|
) |
const [inline, protected] |
|
bool NLNET::CServerBufSock::receivePart |
( |
|
) |
[protected] |
|
|
Receives a part of a message (nonblocking socket only).
-
Returns:
-
True if the message has been completely received
Definition at line 370 of file buf_sock.cpp.
References _BytesRead, _Length, _NowReadingBuffer, _OwnerTask, _ReceiveBuffer, NLNET::CBufSock::asString, nlassert, nldebug, nlnettrace, nlwarning, NLNET::CBufSock::Sock, and NLNET::TBlockSize. |
void NLNET::CServerBufSock::setOwnerTask |
( |
CServerReceiveTask * |
owner |
) |
[inline, protected] |
|
virtual std::string NLNET::CServerBufSock::typeStr |
( |
|
) |
const [inline, protected, virtual] |
|
Friends And Related Function Documentation
friend class CBufServer [friend]
|
|
friend class CListenTask [friend]
|
|
friend class CServerReceiveTask [friend]
|
|
Member Data Documentation
bool NLNET::CServerBufSock::_Advertised [private]
|
|
|
True after a connection callback has been sent to the user, for this connection.
Definition at line 317 of file buf_sock.h. |
TBlockSize NLNET::CServerBufSock::_BytesRead [private]
|
|
TBlockSize NLNET::CServerBufSock::_Length [private]
|
|
bool NLNET::CServerBufSock::_NowReadingBuffer [private]
|
|
std::vector<uint8> NLNET::CServerBufSock::_ReceiveBuffer [private]
|
|
The documentation for this class was generated from the following files:
|
|