Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc_core::Chttp2Connector Class Reference

#include <chttp2_connector.h>

Inheritance diagram for grpc_core::Chttp2Connector:
Inheritance graph
[legend]

Public Member Functions

void Connect (const Args &args, Result *result, grpc_closure *notify) override
 
void Shutdown (grpc_error_handle error) override
 
 ~Chttp2Connector () override
 
- Public Member Functions inherited from grpc_core::SubchannelConnector
void Orphan () override
 
- Public Member Functions inherited from grpc_core::InternallyRefCounted< SubchannelConnector >
 InternallyRefCounted (const InternallyRefCounted &)=delete
 
InternallyRefCountedoperator= (const InternallyRefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::Orphanable
Orphanableoperator= (const Orphanable &)=delete
 
 Orphanable (const Orphanable &)=delete
 

Private Member Functions

void MaybeNotify (grpc_error_handle error)
 

Static Private Member Functions

static void OnHandshakeDone (void *arg, grpc_error_handle error)
 
static void OnReceiveSettings (void *arg, grpc_error_handle error)
 
static void OnTimeout (void *arg, grpc_error_handle error)
 

Private Attributes

Args args_
 
grpc_endpointendpoint_ = nullptr
 
RefCountedPtr< HandshakeManagerhandshake_mgr_
 
Mutex mu_
 
grpc_closurenotify_ = nullptr
 
absl::optional< grpc_error_handlenotify_error_
 
grpc_closure on_receive_settings_
 
grpc_closure on_timeout_
 
Resultresult_ = nullptr
 
bool shutdown_ = false
 
grpc_timer timer_
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::InternallyRefCounted< SubchannelConnector >
 InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 
RefCountedPtr< SubchannelConnectorRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelConnectorRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~InternallyRefCounted () override=default
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Detailed Description

Definition at line 37 of file chttp2_connector.h.

Constructor & Destructor Documentation

◆ ~Chttp2Connector()

grpc_core::Chttp2Connector::~Chttp2Connector ( )
override

Definition at line 92 of file chttp2_connector.cc.

Member Function Documentation

◆ Connect()

void grpc_core::Chttp2Connector::Connect ( const Args args,
Result result,
grpc_closure notify 
)
overridevirtual

Implements grpc_core::SubchannelConnector.

Definition at line 98 of file chttp2_connector.cc.

◆ MaybeNotify()

void grpc_core::Chttp2Connector::MaybeNotify ( grpc_error_handle  error)
private

Definition at line 253 of file chttp2_connector.cc.

◆ OnHandshakeDone()

void grpc_core::Chttp2Connector::OnHandshakeDone ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 146 of file chttp2_connector.cc.

◆ OnReceiveSettings()

void grpc_core::Chttp2Connector::OnReceiveSettings ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 202 of file chttp2_connector.cc.

◆ OnTimeout()

void grpc_core::Chttp2Connector::OnTimeout ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 228 of file chttp2_connector.cc.

◆ Shutdown()

void grpc_core::Chttp2Connector::Shutdown ( grpc_error_handle  error)
overridevirtual

Implements grpc_core::SubchannelConnector.

Definition at line 136 of file chttp2_connector.cc.

Member Data Documentation

◆ args_

Args grpc_core::Chttp2Connector::args_
private

Definition at line 61 of file chttp2_connector.h.

◆ endpoint_

grpc_endpoint* grpc_core::Chttp2Connector::endpoint_ = nullptr
private

Definition at line 67 of file chttp2_connector.h.

◆ handshake_mgr_

RefCountedPtr<HandshakeManager> grpc_core::Chttp2Connector::handshake_mgr_
private

Definition at line 72 of file chttp2_connector.h.

◆ mu_

Mutex grpc_core::Chttp2Connector::mu_
private

Definition at line 60 of file chttp2_connector.h.

◆ notify_

grpc_closure* grpc_core::Chttp2Connector::notify_ = nullptr
private

Definition at line 63 of file chttp2_connector.h.

◆ notify_error_

absl::optional<grpc_error_handle> grpc_core::Chttp2Connector::notify_error_
private

Definition at line 71 of file chttp2_connector.h.

◆ on_receive_settings_

grpc_closure grpc_core::Chttp2Connector::on_receive_settings_
private

Definition at line 68 of file chttp2_connector.h.

◆ on_timeout_

grpc_closure grpc_core::Chttp2Connector::on_timeout_
private

Definition at line 70 of file chttp2_connector.h.

◆ result_

Result* grpc_core::Chttp2Connector::result_ = nullptr
private

Definition at line 62 of file chttp2_connector.h.

◆ shutdown_

bool grpc_core::Chttp2Connector::shutdown_ = false
private

Definition at line 64 of file chttp2_connector.h.

◆ timer_

grpc_timer grpc_core::Chttp2Connector::timer_
private

Definition at line 69 of file chttp2_connector.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:35