#include <bufferConnection.h>


Definition at line 18 of file bufferConnection.h.
Public Member Functions | |
| void | sendBuffer (ConnectionPtr connection) |
| uint64_t | getSize () const |
Protected Member Functions | |
| virtual int64_t | read (void *buffer, const uint64_t bytes) |
| Read data from the connection. | |
| virtual int64_t | write (const void *buffer, const uint64_t bytes) const |
| Write data to the connection. | |
| virtual int64_t eq::net::BufferConnection::read | ( | void * | buffer, | |
| const uint64_t | bytes | |||
| ) | [inline, protected, virtual] |
Read data from the connection.
Note the the a return value of 0 is not an error condition, it means that no data was pending on a non-blocking connection.
| buffer | the buffer for saving the message. | |
| bytes | the number of bytes to read. |
Implements eq::net::Connection.
Definition at line 30 of file bufferConnection.h.
| int64_t eq::net::BufferConnection::write | ( | const void * | buffer, | |
| const uint64_t | bytes | |||
| ) | const [protected, virtual] |
Write data to the connection.
| buffer | the buffer containing the message. | |
| bytes | the number of bytes to write. |
Implements eq::net::Connection.
Definition at line 37 of file bufferConnection.cpp.
0.6 by
1.5.5