GRPC C++  1.39.1
Data Structures | Public Member Functions
grpc_core::SubchannelInterface Class Referenceabstract

#include <subchannel_interface.h>

Data Structures

class  ConnectivityStateWatcherInterface
 

Public Member Functions

 SubchannelInterface (const char *trace=nullptr)
 
 ~SubchannelInterface () override=default
 
virtual grpc_connectivity_state CheckConnectivityState ()=0
 
virtual void WatchConnectivityState (grpc_connectivity_state initial_state, std::unique_ptr< ConnectivityStateWatcherInterface > watcher)=0
 
virtual void CancelConnectivityStateWatch (ConnectivityStateWatcherInterface *watcher)=0
 
virtual void AttemptToConnect ()=0
 
virtual void ResetBackoff ()=0
 
virtual const grpc_channel_argschannel_args ()=0
 
- Public Member Functions inherited from grpc_core::RefCounted< SubchannelInterface >
 ~RefCounted ()=default
 
RefCountedPtr< SubchannelInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelInterfaceRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< SubchannelInterfaceRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelInterfaceRefIfNonZero (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
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ SubchannelInterface()

grpc_core::SubchannelInterface::SubchannelInterface ( const char *  trace = nullptr)
inlineexplicit

◆ ~SubchannelInterface()

grpc_core::SubchannelInterface::~SubchannelInterface ( )
overridedefault

Member Function Documentation

◆ AttemptToConnect()

virtual void grpc_core::SubchannelInterface::AttemptToConnect ( )
pure virtual

◆ CancelConnectivityStateWatch()

virtual void grpc_core::SubchannelInterface::CancelConnectivityStateWatch ( ConnectivityStateWatcherInterface watcher)
pure virtual

◆ channel_args()

virtual const grpc_channel_args* grpc_core::SubchannelInterface::channel_args ( )
pure virtual

◆ CheckConnectivityState()

virtual grpc_connectivity_state grpc_core::SubchannelInterface::CheckConnectivityState ( )
pure virtual

◆ ResetBackoff()

virtual void grpc_core::SubchannelInterface::ResetBackoff ( )
pure virtual

◆ WatchConnectivityState()

virtual void grpc_core::SubchannelInterface::WatchConnectivityState ( grpc_connectivity_state  initial_state,
std::unique_ptr< ConnectivityStateWatcherInterface watcher 
)
pure virtual

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