Auxiliary class for non-blocking socket I/O.
More...
#include <JSocketNonblocking.hh>
template<class JElement_t>
class JNET::JSocketBuffer< JElement_t >
Auxiliary class for non-blocking socket I/O.
Definition at line 22 of file JSocketNonblocking.hh.
◆ JStatus_t
◆ JSocketBuffer() [1/2]
template<class JElement_t>
◆ JSocketBuffer() [2/2]
template<class JElement_t>
◆ getSize()
template<class JElement_t>
◆ set() [1/2]
template<class JElement_t>
◆ set() [2/2]
template<class JElement_t>
Initialise buffer.
- Parameters
-
buffer | I/O data |
length | number of bytes |
Definition at line 78 of file JSocketNonblocking.hh.
81 THROW(JSocketException,
"Set socket buffer I/O while busy.");
◆ reset()
template<class JElement_t>
◆ getStatus()
JStatus_t JNET::JSocketStatus::getStatus |
( |
| ) |
const |
|
inlineinherited |
◆ isReset()
bool JNET::JSocketStatus::isReset |
( |
| ) |
const |
|
inlineinherited |
Check reset status.
- Returns
- true if reset; else false
Definition at line 54 of file JSocketStatus.hh.
◆ isBusy()
bool JNET::JSocketStatus::isBusy |
( |
| ) |
const |
|
inlineinherited |
Check busy status.
- Returns
- true if busy; else false
Definition at line 65 of file JSocketStatus.hh.
◆ isReady()
bool JNET::JSocketStatus::isReady |
( |
| ) |
const |
|
inlineinherited |
Check ready status.
- Returns
- true if ready; else false
Definition at line 76 of file JSocketStatus.hh.
◆ getCounter()
int JNET::JSocketStatus::getCounter |
( |
| ) |
const |
|
inlineinherited |
Get number of I/O attempts.
- Returns
- number of I/O attempts
Definition at line 87 of file JSocketStatus.hh.
◆ setStatus()
void JNET::JSocketStatus::setStatus |
( |
const JStatus_t |
status | ) |
|
|
inlineprotectedinherited |
◆ __data
template<class JElement_t>
◆ __size
template<class JElement_t>
◆ status
◆ counter
int JNET::JSocketStatus::counter |
|
protectedinherited |
The documentation for this class was generated from the following file: