#include <subchannel_stream_client.h>
Classes | |
class | CallEventHandler |
class | CallState |
Public Member Functions | |
void | Orphan () override |
SubchannelStreamClient (RefCountedPtr< ConnectedSubchannel > connected_subchannel, grpc_pollset_set *interested_parties, std::unique_ptr< CallEventHandler > event_handler, const char *tracer) | |
~SubchannelStreamClient () override | |
![]() | |
InternallyRefCounted (const InternallyRefCounted &)=delete | |
InternallyRefCounted & | operator= (const InternallyRefCounted &)=delete |
![]() | |
Orphanable & | operator= (const Orphanable &)=delete |
Orphanable (const Orphanable &)=delete | |
Private Member Functions | |
std::unique_ptr< CallEventHandler > event_handler_ | ABSL_GUARDED_BY (mu_) |
OrphanablePtr< CallState > call_state_ | ABSL_GUARDED_BY (mu_) |
BackOff retry_backoff_ | ABSL_GUARDED_BY (mu_) |
grpc_timer retry_timer_ | ABSL_GUARDED_BY (mu_) |
grpc_closure retry_timer_callback_ | ABSL_GUARDED_BY (mu_) |
bool retry_timer_callback_pending_ | ABSL_GUARDED_BY (mu_) |
void | StartCall () |
void | StartCallLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(&mu_) |
void | StartRetryTimerLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(&mu_) |
Static Private Member Functions | |
static void | OnRetryTimer (void *arg, grpc_error_handle error) |
Private Attributes | |
MemoryAllocator | call_allocator_ |
RefCountedPtr< ConnectedSubchannel > | connected_subchannel_ |
grpc_pollset_set * | interested_parties_ |
Mutex | mu_ |
const char * | tracer_ |
Additional Inherited Members | |
![]() | |
InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
RefCountedPtr< SubchannelStreamClient > | Ref () GRPC_MUST_USE_RESULT |
RefCountedPtr< SubchannelStreamClient > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
void | Unref () |
void | Unref (const DebugLocation &location, const char *reason) |
~InternallyRefCounted () override=default | |
![]() | |
Orphanable () | |
virtual | ~Orphanable () |
Definition at line 64 of file subchannel_stream_client.h.
grpc_core::SubchannelStreamClient::SubchannelStreamClient | ( | RefCountedPtr< ConnectedSubchannel > | connected_subchannel, |
grpc_pollset_set * | interested_parties, | ||
std::unique_ptr< CallEventHandler > | event_handler, | ||
const char * | tracer | ||
) |
Definition at line 50 of file subchannel_stream_client.cc.
|
override |
Definition at line 80 of file subchannel_stream_client.cc.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |
Definition at line 144 of file subchannel_stream_client.cc.
|
overridevirtual |
Implements grpc_core::Orphanable.
Definition at line 87 of file subchannel_stream_client.cc.
|
private |
Definition at line 103 of file subchannel_stream_client.cc.
|
private |
Definition at line 108 of file subchannel_stream_client.cc.
|
private |
Definition at line 122 of file subchannel_stream_client.cc.
|
private |
Definition at line 204 of file subchannel_stream_client.h.
|
private |
Definition at line 201 of file subchannel_stream_client.h.
|
private |
Definition at line 202 of file subchannel_stream_client.h.
|
private |
Definition at line 206 of file subchannel_stream_client.h.
|
private |
Definition at line 203 of file subchannel_stream_client.h.