|
Jpp
18.5.2
the software that should make you happy
|
Auxiliary class for non-blocking socket I/O. More...
#include <JSocketStatus.hh>
Public Types | |
| enum | JStatus_t { IO_RESET = -1, IO_READY = 0, IO_BUSY = +1 } |
Public Member Functions | |
| JSocketStatus () | |
| Default constructor. More... | |
| JStatus_t | getStatus () const |
| Get status of I/O. More... | |
| bool | isReset () const |
| Check reset status. More... | |
| bool | isBusy () const |
| Check busy status. More... | |
| bool | isReady () const |
| Check ready status. More... | |
| int | getCounter () const |
| Get number of I/O attempts. More... | |
| void | reset () |
| Reset. More... | |
Protected Member Functions | |
| void | setStatus (const JStatus_t status) |
| Set status of I/O. More... | |
Protected Attributes | |
| JStatus_t | status |
| int | counter |
Auxiliary class for non-blocking socket I/O.
Definition at line 22 of file JSocketStatus.hh.
| Enumerator | |
|---|---|
| IO_RESET | |
| IO_READY | |
| IO_BUSY | |
Definition at line 26 of file JSocketStatus.hh.
|
inline |
Default constructor.
Definition at line 32 of file JSocketStatus.hh.
|
inline |
|
inline |
Check reset status.
Definition at line 54 of file JSocketStatus.hh.
|
inline |
Check busy status.
Definition at line 65 of file JSocketStatus.hh.
|
inline |
Check ready status.
Definition at line 76 of file JSocketStatus.hh.
|
inline |
Get number of I/O attempts.
Definition at line 87 of file JSocketStatus.hh.
|
inline |
|
inlineprotected |
|
protected |
Definition at line 115 of file JSocketStatus.hh.
|
protected |
Definition at line 116 of file JSocketStatus.hh.
1.8.5