Public Member Functions | Static Public Member Functions | List of all members
grpc_core::SubchannelPoolInterface Class Referenceabstract

#include <subchannel_pool_interface.h>

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

Public Member Functions

virtual RefCountedPtr< SubchannelFindSubchannel (const SubchannelKey &key)=0
 
virtual RefCountedPtr< SubchannelRegisterSubchannel (const SubchannelKey &key, RefCountedPtr< Subchannel > constructed)=0
 
 SubchannelPoolInterface ()
 
virtual void UnregisterSubchannel (const SubchannelKey &key, Subchannel *subchannel)=0
 
 ~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
 

Static Public Member Functions

static grpc_arg CreateChannelArg (SubchannelPoolInterface *subchannel_pool)
 
static SubchannelPoolInterfaceGetSubchannelPoolFromChannelArgs (const grpc_channel_args *args)
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< SubchannelPoolInterface >
using RefCountedChildType = SubchannelPoolInterface
 
- Protected Member Functions inherited from grpc_core::RefCounted< SubchannelPoolInterface >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 76 of file subchannel_pool_interface.h.

Constructor & Destructor Documentation

◆ SubchannelPoolInterface()

grpc_core::SubchannelPoolInterface::SubchannelPoolInterface ( )
inline

Definition at line 78 of file subchannel_pool_interface.h.

◆ ~SubchannelPoolInterface()

grpc_core::SubchannelPoolInterface::~SubchannelPoolInterface ( )
inlineoverride

Definition at line 82 of file subchannel_pool_interface.h.

Member Function Documentation

◆ CreateChannelArg()

grpc_arg grpc_core::SubchannelPoolInterface::CreateChannelArg ( SubchannelPoolInterface subchannel_pool)
static

Definition at line 121 of file subchannel_pool_interface.cc.

◆ FindSubchannel()

virtual RefCountedPtr<Subchannel> grpc_core::SubchannelPoolInterface::FindSubchannel ( const SubchannelKey key)
pure virtual

◆ GetSubchannelPoolFromChannelArgs()

SubchannelPoolInterface * grpc_core::SubchannelPoolInterface::GetSubchannelPoolFromChannelArgs ( const grpc_channel_args args)
static

Definition at line 129 of file subchannel_pool_interface.cc.

◆ RegisterSubchannel()

virtual RefCountedPtr<Subchannel> grpc_core::SubchannelPoolInterface::RegisterSubchannel ( const SubchannelKey key,
RefCountedPtr< Subchannel constructed 
)
pure virtual

◆ UnregisterSubchannel()

virtual void grpc_core::SubchannelPoolInterface::UnregisterSubchannel ( const SubchannelKey key,
Subchannel subchannel 
)
pure virtual

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


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