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

Public Member Functions

Channelchannel () const
 
 ChannelData ()=default
 
size_t cq_idx () const
 
ChannelRegisteredMethodGetRegisteredMethod (const grpc_slice &host, const grpc_slice &path)
 
void InitTransport (RefCountedPtr< Server > server, RefCountedPtr< Channel > channel, size_t cq_idx, grpc_transport *transport, intptr_t channelz_socket_uuid)
 
RefCountedPtr< Serverserver () const
 
 ~ChannelData ()
 

Static Public Member Functions

static void DestroyChannelElement (grpc_channel_element *elem)
 
static grpc_error_handle InitChannelElement (grpc_channel_element *elem, grpc_channel_element_args *args)
 

Private Member Functions

void Destroy () ABSL_EXCLUSIVE_LOCKS_REQUIRED(server_ -> mu_global_)
 

Static Private Member Functions

static void AcceptStream (void *arg, grpc_transport *, const void *transport_server_data)
 
static void FinishDestroy (void *arg, grpc_error_handle error)
 

Private Attributes

RefCountedPtr< Channelchannel_
 
intptr_t channelz_socket_uuid_
 
size_t cq_idx_
 
grpc_closure finish_destroy_channel_closure_
 
absl::optional< std::list< ChannelData * >::iteratorlist_position_
 
uint32_t registered_method_max_probes_
 
std::unique_ptr< std::vector< ChannelRegisteredMethod > > registered_methods_
 
RefCountedPtr< Serverserver_
 

Detailed Description

Definition at line 221 of file src/core/lib/surface/server.h.

Constructor & Destructor Documentation

◆ ChannelData()

grpc_core::Server::ChannelData::ChannelData ( )
default

◆ ~ChannelData()

grpc_core::Server::ChannelData::~ChannelData ( )

Definition at line 997 of file src/core/lib/surface/server.cc.

Member Function Documentation

◆ AcceptStream()

void grpc_core::Server::ChannelData::AcceptStream ( void *  arg,
grpc_transport ,
const void *  transport_server_data 
)
staticprivate

Definition at line 1106 of file src/core/lib/surface/server.cc.

◆ channel()

Channel* grpc_core::Server::ChannelData::channel ( ) const
inline

Definition at line 232 of file src/core/lib/surface/server.h.

◆ cq_idx()

size_t grpc_core::Server::ChannelData::cq_idx ( ) const
inline

Definition at line 233 of file src/core/lib/surface/server.h.

◆ Destroy()

void grpc_core::Server::ChannelData::Destroy ( ) -> mu_global_)
private

Definition at line 1142 of file src/core/lib/surface/server.cc.

◆ DestroyChannelElement()

void grpc_core::Server::ChannelData::DestroyChannelElement ( grpc_channel_element elem)
static

Definition at line 1172 of file src/core/lib/surface/server.cc.

◆ FinishDestroy()

void grpc_core::Server::ChannelData::FinishDestroy ( void *  arg,
grpc_error_handle  error 
)
staticprivate

Definition at line 1132 of file src/core/lib/surface/server.cc.

◆ GetRegisteredMethod()

Server::ChannelRegisteredMethod * grpc_core::Server::ChannelData::GetRegisteredMethod ( const grpc_slice host,
const grpc_slice path 
)

Definition at line 1077 of file src/core/lib/surface/server.cc.

◆ InitChannelElement()

grpc_error_handle grpc_core::Server::ChannelData::InitChannelElement ( grpc_channel_element elem,
grpc_channel_element_args args 
)
static

Definition at line 1164 of file src/core/lib/surface/server.cc.

◆ InitTransport()

void grpc_core::Server::ChannelData::InitTransport ( RefCountedPtr< Server server,
RefCountedPtr< Channel channel,
size_t  cq_idx,
grpc_transport transport,
intptr_t  channelz_socket_uuid 
)

Definition at line 1014 of file src/core/lib/surface/server.cc.

◆ server()

RefCountedPtr<Server> grpc_core::Server::ChannelData::server ( ) const
inline

Definition at line 231 of file src/core/lib/surface/server.h.

Member Data Documentation

◆ channel_

RefCountedPtr<Channel> grpc_core::Server::ChannelData::channel_
private

Definition at line 254 of file src/core/lib/surface/server.h.

◆ channelz_socket_uuid_

intptr_t grpc_core::Server::ChannelData::channelz_socket_uuid_
private

Definition at line 266 of file src/core/lib/surface/server.h.

◆ cq_idx_

size_t grpc_core::Server::ChannelData::cq_idx_
private

Definition at line 257 of file src/core/lib/surface/server.h.

◆ finish_destroy_channel_closure_

grpc_closure grpc_core::Server::ChannelData::finish_destroy_channel_closure_
private

Definition at line 265 of file src/core/lib/surface/server.h.

◆ list_position_

absl::optional<std::list<ChannelData*>::iterator> grpc_core::Server::ChannelData::list_position_
private

Definition at line 258 of file src/core/lib/surface/server.h.

◆ registered_method_max_probes_

uint32_t grpc_core::Server::ChannelData::registered_method_max_probes_
private

Definition at line 264 of file src/core/lib/surface/server.h.

◆ registered_methods_

std::unique_ptr<std::vector<ChannelRegisteredMethod> > grpc_core::Server::ChannelData::registered_methods_
private

Definition at line 263 of file src/core/lib/surface/server.h.

◆ server_

RefCountedPtr<Server> grpc_core::Server::ChannelData::server_
private

Definition at line 253 of file src/core/lib/surface/server.h.


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


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