GRPC Core  9.0.0
Data Structures | Public Member Functions
grpc_core::SubchannelInterface Class Referenceabstract

#include <subchannel_interface.h>

Data Structures

class  ConnectivityStateWatcherInterface
 

Public Member Functions

template<typename TraceFlagT = TraceFlag>
 SubchannelInterface (TraceFlagT *trace_flag=nullptr)
 
virtual ~SubchannelInterface ()=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)
 
bool RefIfNonZero ()
 
bool RefIfNonZero (const DebugLocation &location, const char *reason)
 
 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 (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ SubchannelInterface()

template<typename TraceFlagT = TraceFlag>
grpc_core::SubchannelInterface::SubchannelInterface ( TraceFlagT *  trace_flag = nullptr)
inlineexplicit

◆ ~SubchannelInterface()

virtual grpc_core::SubchannelInterface::~SubchannelInterface ( )
virtualdefault

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: