| 
    Jpp 20.0.0-rc.3
    
   the software that should make you happy 
   | 
 
Auxiliary class for non-blocking socket I/O. More...
#include <JSocketNonblocking.hh>
  
Public Types | |
| enum | JStatus_t { IO_RESET = -1 , IO_READY = 0 , IO_BUSY = +1 } | 
Public Member Functions | |
| JSocketBuffer (JElement_t *buffer, const int length) | |
| Constructor.   | |
| int | getSize () const | 
| Get size of pending data.   | |
| void | set (const JSocketBuffer< JElement_t > &buffer) | 
| Initialise buffer.   | |
| void | set (JElement_t *buffer, const int length) | 
| Initialise buffer.   | |
| void | reset () | 
| Reset.   | |
| 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.   | |
Protected Member Functions | |
| JSocketBuffer () | |
| Default constructor.   | |
| void | setStatus (const JStatus_t status) | 
| Set status of I/O.   | |
Protected Attributes | |
| JElement_t * | __data | 
| int | __size | 
| JStatus_t | status | 
| int | counter | 
Auxiliary class for non-blocking socket I/O.
Definition at line 22 of file JSocketNonblocking.hh.
      
  | 
  inherited | 
      
  | 
  inlineprotected | 
Default constructor.
Definition at line 29 of file JSocketNonblocking.hh.
      
  | 
  inline | 
Constructor.
| buffer | I/O data | 
| length | number of bytes | 
Definition at line 43 of file JSocketNonblocking.hh.
      
  | 
  inline | 
Get size of pending data.
Definition at line 55 of file JSocketNonblocking.hh.
      
  | 
  inline | 
Initialise buffer.
| buffer | buffer | 
Definition at line 66 of file JSocketNonblocking.hh.
      
  | 
  inline | 
Initialise buffer.
| buffer | I/O data | 
| length | number of bytes | 
Definition at line 78 of file JSocketNonblocking.hh.
      
  | 
  inline | 
Reset.
Definition at line 94 of file JSocketNonblocking.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Check reset status.
Definition at line 54 of file JSocketStatus.hh.
      
  | 
  inlineinherited | 
      
  | 
  inlineinherited | 
Check ready status.
Definition at line 76 of file JSocketStatus.hh.
      
  | 
  inlineinherited | 
Get number of I/O attempts.
Definition at line 87 of file JSocketStatus.hh.
      
  | 
  inlineprotectedinherited | 
      
  | 
  protected | 
Definition at line 104 of file JSocketNonblocking.hh.
      
  | 
  protected | 
Definition at line 105 of file JSocketNonblocking.hh.
      
  | 
  protectedinherited | 
Definition at line 115 of file JSocketStatus.hh.
      
  | 
  protectedinherited | 
Definition at line 116 of file JSocketStatus.hh.