#include <stream.h>
|
virtual bool | open (int socket_fd, struct sockaddr *address, size_t address_len) |
|
virtual void | setOptions (int socket_fd) |
|
bool | setup (std::string &host, int port) |
|
Definition at line 29 of file stream.h.
URStream::URStream |
( |
std::string & |
host, |
|
|
int |
port |
|
) |
| |
|
inline |
bool URStream::closed |
( |
| ) |
|
|
inline |
bool URStream::connect |
( |
| ) |
|
|
inline |
void URStream::disconnect |
( |
| ) |
|
|
inline |
virtual bool URStream::open |
( |
int |
socket_fd, |
|
|
struct sockaddr * |
address, |
|
|
size_t |
address_len |
|
) |
| |
|
inlineprotectedvirtual |
bool URStream::read |
( |
uint8_t * |
buf, |
|
|
size_t |
buf_len, |
|
|
size_t & |
read |
|
) |
| |
bool URStream::write |
( |
const uint8_t * |
buf, |
|
|
size_t |
buf_len, |
|
|
size_t & |
written |
|
) |
| |
std::string URStream::host_ |
|
private |
std::mutex URStream::read_mutex_ |
|
private |
std::mutex URStream::write_mutex_ |
|
private |
The documentation for this class was generated from the following files: