|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLNET::CStreamClient Class ReferenceClient class for layer 2.
More...
#include <stream_client.h>
Inheritance diagram for NLNET::CStreamClient:
List of all members.
Public Methods |
| CStreamClient (bool nodelay=true, bool replay=false) |
| Constructor. More...
|
void | send (const NLMISC::CMemStream &buffer) |
| Sends a message to the remote host. More...
|
void | receive (NLMISC::CMemStream &buffer) |
| Receives next block of data in the specified buffer (resizes the vector). More...
|
Private Methods |
void | send (const std::vector< uint8 > &buffer) |
| This function is public in the base class and we put it private here because user cannot use it in layer 2. More...
|
void | receive (std::vector< uint8 > &buffer) |
| This function is public in the base class and we put it private here because user cannot use it in layer 2. More...
|
Detailed Description
Client class for layer 2.
-
Author:
-
Vianney Lecroart , Nevrax France
-
Date:
-
2001
Definition at line 44 of file stream_client.h.
Constructor & Destructor Documentation
NLNET::CStreamClient::CStreamClient |
( |
bool |
nodelay = true, |
|
|
bool |
replay = false |
|
) |
[inline] |
|
Member Function Documentation
void NLNET::CStreamClient::receive |
( |
std::vector< uint8 > & |
buffer |
) |
[inline, private] |
|
|
This function is public in the base class and we put it private here because user cannot use it in layer 2.
Reimplemented from NLNET::CBufClient.
Definition at line 63 of file stream_client.h.
References nlstop. |
void NLNET::CStreamClient::send |
( |
const std::vector< uint8 > & |
buffer |
) |
[inline, private] |
|
|
This function is public in the base class and we put it private here because user cannot use it in layer 2.
Reimplemented from NLNET::CBufClient.
Definition at line 60 of file stream_client.h.
References nlstop. |
The documentation for this class was generated from the following files:
|
|