GRPC Core  18.0.0
Public Member Functions | Static Public Member Functions
grpc_core::SubchannelPoolInterface Class Referenceabstract

#include <subchannel_pool_interface.h>

Public Member Functions

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

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

Constructor & Destructor Documentation

◆ SubchannelPoolInterface()

grpc_core::SubchannelPoolInterface::SubchannelPoolInterface ( )
inline

◆ ~SubchannelPoolInterface()

grpc_core::SubchannelPoolInterface::~SubchannelPoolInterface ( )
inlineoverride

Member Function Documentation

◆ CreateChannelArg()

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

◆ 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

◆ 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: