NCBI C++ ToolKit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
SUvNgHttp2_Tls Struct Referenceabstract

Search Toolkit Book for SUvNgHttp2_Tls

#include <connect/impl/ncbi_uv_nghttp2.hpp>

+ Inheritance diagram for SUvNgHttp2_Tls:

Public Types

using TCred = pair< string, string >
 
using TAddrNCred = pair< SSocketAddress, TCred >
 
using TGetWriteBuf = function< vector< char > &()>
 

Public Member Functions

virtual ~SUvNgHttp2_Tls ()
 
virtual int Read (const char *&buf, ssize_t &nread)=0
 
virtual int Write ()=0
 
virtual int Close ()=0
 
virtual const char * GetReadBuffer ()=0
 
virtual vector< char > & GetWriteBuffer ()=0
 

Static Public Member Functions

static SUvNgHttp2_TlsCreate (bool https, const TAddrNCred &addr_n_cred, size_t rd_buf_size, size_t wr_buf_size, TGetWriteBuf get_write_buf)
 

Detailed Description

Definition at line 444 of file ncbi_uv_nghttp2.hpp.

Member Typedef Documentation

◆ TAddrNCred

Definition at line 447 of file ncbi_uv_nghttp2.hpp.

◆ TCred

Definition at line 446 of file ncbi_uv_nghttp2.hpp.

◆ TGetWriteBuf

using SUvNgHttp2_Tls::TGetWriteBuf = function<vector<char>&()>

Definition at line 458 of file ncbi_uv_nghttp2.hpp.

Constructor & Destructor Documentation

◆ ~SUvNgHttp2_Tls()

virtual SUvNgHttp2_Tls::~SUvNgHttp2_Tls ( )
inlinevirtual

Definition at line 449 of file ncbi_uv_nghttp2.hpp.

Member Function Documentation

◆ Close()

virtual int SUvNgHttp2_Tls::Close ( )
pure virtual

Implemented in SUvNgHttp2_TlsImpl, and SUvNgHttp2_TlsNoOp.

◆ Create()

SUvNgHttp2_Tls * SUvNgHttp2_Tls::Create ( bool  https,
const TAddrNCred addr_n_cred,
size_t  rd_buf_size,
size_t  wr_buf_size,
TGetWriteBuf  get_write_buf 
)
static

Definition at line 932 of file ncbi_uv_nghttp2.cpp.

◆ GetReadBuffer()

virtual const char* SUvNgHttp2_Tls::GetReadBuffer ( )
pure virtual

Implemented in SUvNgHttp2_TlsImpl, and SUvNgHttp2_TlsNoOp.

◆ GetWriteBuffer()

virtual vector<char>& SUvNgHttp2_Tls::GetWriteBuffer ( )
pure virtual

Implemented in SUvNgHttp2_TlsImpl, and SUvNgHttp2_TlsNoOp.

◆ Read()

virtual int SUvNgHttp2_Tls::Read ( const char *&  buf,
ssize_t nread 
)
pure virtual

Implemented in SUvNgHttp2_TlsImpl, and SUvNgHttp2_TlsNoOp.

◆ Write()

virtual int SUvNgHttp2_Tls::Write ( )
pure virtual

Implemented in SUvNgHttp2_TlsImpl, and SUvNgHttp2_TlsNoOp.


The documentation for this struct was generated from the following files:
Modified on Mon May 20 05:04:45 2024 by modify_doxy.py rev. 669887