|
virtual void | onDataReady (bt::Uint8 *buf, bt::Uint32 size)=0 |
|
Definition at line 51 of file trafficshapedsocket.h.
◆ onDataReady()
virtual void net::SocketReader::onDataReady |
( |
bt::Uint8 * |
buf, |
|
|
bt::Uint32 |
size |
|
) |
| |
|
pure virtual |
Function which will be called whenever data has been read from the socket. This data should be dealt with, otherwise it will be discarded.
- Parameters
-
buf | The buffer |
size | The size of the buffer |
Implemented in bt::HttpConnection, and bt::PacketReader.
The documentation for this class was generated from the following file: