proxygen
wangle::SSLException Class Reference

#include <SSLUtil.h>

Inheritance diagram for wangle::SSLException:

Public Member Functions

 SSLException (SSLErrorEnum error, const std::chrono::milliseconds &latency, uint64_t bytesRead)
 
SSLErrorEnum getError () const
 
std::chrono::milliseconds getLatency () const
 
uint64_t getBytesRead () const
 

Private Attributes

SSLErrorEnum error_ {SSLErrorEnum::NO_ERROR}
 
std::chrono::milliseconds latency_
 
uint64_t bytesRead_ {0}
 

Detailed Description

Definition at line 48 of file SSLUtil.h.

Constructor & Destructor Documentation

wangle::SSLException::SSLException ( SSLErrorEnum  error,
const std::chrono::milliseconds &  latency,
uint64_t  bytesRead 
)

Member Function Documentation

uint64_t wangle::SSLException::getBytesRead ( ) const
inline

Definition at line 57 of file SSLUtil.h.

57 { return bytesRead_; }
uint64_t bytesRead_
Definition: SSLUtil.h:62
SSLErrorEnum wangle::SSLException::getError ( ) const
inline

Definition at line 55 of file SSLUtil.h.

55 { return error_; }
SSLErrorEnum error_
Definition: SSLUtil.h:60
std::chrono::milliseconds wangle::SSLException::getLatency ( ) const
inline

Definition at line 56 of file SSLUtil.h.

56 { return latency_; }
std::chrono::milliseconds latency_
Definition: SSLUtil.h:61

Member Data Documentation

uint64_t wangle::SSLException::bytesRead_ {0}
private

Definition at line 62 of file SSLUtil.h.

SSLErrorEnum wangle::SSLException::error_ {SSLErrorEnum::NO_ERROR}
private

Definition at line 60 of file SSLUtil.h.

std::chrono::milliseconds wangle::SSLException::latency_
private

Definition at line 61 of file SSLUtil.h.


The documentation for this class was generated from the following file: