![]() |
TcpSocket::OUTPUT Struct ReferenceOutput buffer struct.
More...
|
Public Member Functions | |
OUTPUT () | |
OUTPUT (const char *buf, size_t len) | |
size_t | Space () |
void | Add (const char *buf, size_t len) |
size_t | Remove (size_t len) |
const char * | Buf () |
size_t | Len () |
Public Attributes | |
size_t | _b |
size_t | _t |
size_t | _q |
char | _buf [TCP_OUTPUT_CAPACITY] |
Definition at line 98 of file TcpSocket.h.
TcpSocket::OUTPUT::OUTPUT | ( | ) | [inline] |
TcpSocket::OUTPUT::OUTPUT | ( | const char * | buf, | |
size_t | len | |||
) | [inline] |
size_t TcpSocket::OUTPUT::Space | ( | ) | [inline] |
Definition at line 103 of file TcpSocket.h.
References TCP_OUTPUT_CAPACITY.
00103 { 00104 return TCP_OUTPUT_CAPACITY - _t; 00105 }
void TcpSocket::OUTPUT::Add | ( | const char * | buf, | |
size_t | len | |||
) | [inline] |
size_t TcpSocket::OUTPUT::Remove | ( | size_t | len | ) | [inline] |
const char* TcpSocket::OUTPUT::Buf | ( | ) | [inline] |
size_t TcpSocket::OUTPUT::Len | ( | ) | [inline] |
size_t TcpSocket::OUTPUT::_b |
Definition at line 122 of file TcpSocket.h.
size_t TcpSocket::OUTPUT::_t |
Definition at line 123 of file TcpSocket.h.
size_t TcpSocket::OUTPUT::_q |
Definition at line 124 of file TcpSocket.h.
char TcpSocket::OUTPUT::_buf[TCP_OUTPUT_CAPACITY] |
Definition at line 125 of file TcpSocket.h.