Public Member Functions | Private Attributes | List of all members
grpc_core::LocalSubchannelPool Class Referencefinal

#include <local_subchannel_pool.h>

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

Public Member Functions

RefCountedPtr< SubchannelFindSubchannel (const SubchannelKey &key) override
 
 LocalSubchannelPool ()
 
RefCountedPtr< SubchannelRegisterSubchannel (const SubchannelKey &key, RefCountedPtr< Subchannel > constructed) override
 
void UnregisterSubchannel (const SubchannelKey &key, Subchannel *subchannel) override
 
 ~LocalSubchannelPool () override
 
- Public Member Functions inherited from grpc_core::SubchannelPoolInterface
 SubchannelPoolInterface ()
 
 ~SubchannelPoolInterface () override
 
- Public Member Functions inherited from grpc_core::RefCounted< SubchannelPoolInterface >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< SubchannelPoolInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelPoolInterfaceRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< SubchannelPoolInterfaceRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelPoolInterfaceRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Private Attributes

std::map< SubchannelKey, Subchannel * > subchannel_map_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< SubchannelPoolInterface >
using RefCountedChildType = SubchannelPoolInterface
 
- Static Public Member Functions inherited from grpc_core::SubchannelPoolInterface
static grpc_arg CreateChannelArg (SubchannelPoolInterface *subchannel_pool)
 
static SubchannelPoolInterfaceGetSubchannelPoolFromChannelArgs (const grpc_channel_args *args)
 
- Protected Member Functions inherited from grpc_core::RefCounted< SubchannelPoolInterface >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 38 of file local_subchannel_pool.h.

Constructor & Destructor Documentation

◆ LocalSubchannelPool()

grpc_core::LocalSubchannelPool::LocalSubchannelPool ( )
inline

Definition at line 40 of file local_subchannel_pool.h.

◆ ~LocalSubchannelPool()

grpc_core::LocalSubchannelPool::~LocalSubchannelPool ( )
inlineoverride

Definition at line 41 of file local_subchannel_pool.h.

Member Function Documentation

◆ FindSubchannel()

RefCountedPtr< Subchannel > grpc_core::LocalSubchannelPool::FindSubchannel ( const SubchannelKey key)
overridevirtual

Implements grpc_core::SubchannelPoolInterface.

Definition at line 53 of file local_subchannel_pool.cc.

◆ RegisterSubchannel()

RefCountedPtr< Subchannel > grpc_core::LocalSubchannelPool::RegisterSubchannel ( const SubchannelKey key,
RefCountedPtr< Subchannel constructed 
)
overridevirtual

Implements grpc_core::SubchannelPoolInterface.

Definition at line 31 of file local_subchannel_pool.cc.

◆ UnregisterSubchannel()

void grpc_core::LocalSubchannelPool::UnregisterSubchannel ( const SubchannelKey key,
Subchannel subchannel 
)
overridevirtual

Implements grpc_core::SubchannelPoolInterface.

Definition at line 42 of file local_subchannel_pool.cc.

Member Data Documentation

◆ subchannel_map_

std::map<SubchannelKey, Subchannel*> grpc_core::LocalSubchannelPool::subchannel_map_
private

Definition at line 54 of file local_subchannel_pool.h.


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


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