a summary a TLS I/O operation outcome More...
#include <Io.h>


Public Types | |
| enum | Category { ioSuccess , ioWantRead , ioWantWrite , ioError } |
| all possible outcome cases More... | |
| typedef RefCount< IoResult > | Pointer |
Public Member Functions | |
| IoResult (const Category aCategory) | |
| IoResult (const ErrorDetailPointer &anErrorDetail) | |
| IoResult (const IoResult &aRes)=default | |
| bool | successful () const |
| convenience wrapper to detect successful I/O outcome; implies !wantsIo() More... | |
| bool | wantsIo () const |
| convenience wrapper to detect whether more I/O is needed More... | |
| void | print (std::ostream &os) const |
Public Attributes | |
| ErrorDetailPointer | errorDetail |
| ioError case details (or nil) More... | |
| Category | category = ioError |
| primary outcome classification More... | |
| const char * | errorDescription = nullptr |
| a brief description of an error More... | |
| bool | important = false |
| whether the error was serious/unusual More... | |
Detailed Description
Member Typedef Documentation
◆ Pointer
| typedef RefCount<IoResult> Security::IoResult::Pointer |
Member Enumeration Documentation
◆ Category
Constructor & Destructor Documentation
◆ IoResult() [1/3]
|
inlineexplicit |
◆ IoResult() [2/3]
|
inlineexplicit |
◆ IoResult() [3/3]
|
default |
Member Function Documentation
◆ print()
| void IoResult< RT >::print | ( | std::ostream & | os | ) | const |
Definition at line 28 of file Io.cc.
References category, errorDescription, important, ioError, ioSuccess, ioWantRead, and ioWantWrite.
Referenced by Security::operator<<().
◆ successful()
|
inline |
◆ wantsIo()
|
inline |
Definition at line 34 of file Io.h.
References category, ioWantRead, and ioWantWrite.
Member Data Documentation
◆ category
Definition at line 40 of file Io.h.
Referenced by Security::PeerConnector::handleNegotiationResult(), ConnStateData::handleSslBumpHandshakeError(), print(), successful(), and wantsIo().
◆ errorDescription
| const char* Security::IoResult::errorDescription = nullptr |
Definition at line 43 of file Io.h.
Referenced by Security::PeerConnector::handleNegotiationResult(), ConnStateData::handleSslBumpHandshakeError(), and print().
◆ errorDetail
| ErrorDetailPointer Security::IoResult::errorDetail |
Definition at line 38 of file Io.h.
Referenced by Security::PeerConnector::handleNegotiationResult(), and ConnStateData::handleSslBumpHandshakeError().
◆ important
| bool Security::IoResult::important = false |
Definition at line 44 of file Io.h.
Referenced by ConnStateData::handleSslBumpHandshakeError(), and print().
The documentation for this class was generated from the following files:
