|
Jpp 20.0.0-27-g39925593c-D
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. | |
| JStatus_t | getStatus () const |
| Get status of I/O. | |
| bool | isReset () const |
| Check reset status. | |
| bool | isBusy () const |
| Check busy status. | |
| bool | isReady () const |
| Check ready status. | |
| int | getCounter () const |
| Get number of I/O attempts. | |
| void | reset () |
| Reset. | |
Protected Member Functions | |
| void | setStatus (const JStatus_t status) |
| Set status of I/O. | |
Protected Attributes | |
| JStatus_t | status |
| int | counter |
Auxiliary class for non-blocking socket I/O.
Definition at line 22 of file JSocketStatus.hh.
|
inline |
|
inline |
|
inline |
Check reset status.
Definition at line 54 of file JSocketStatus.hh.
|
inline |
|
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 |
Reset.
Definition at line 96 of file JSocketStatus.hh.
|
protected |
Definition at line 115 of file JSocketStatus.hh.
|
protected |
Definition at line 116 of file JSocketStatus.hh.