GRPC C++  1.26.0
Public Member Functions
grpc_core::channelz::SocketNode Class Reference

#include <channelz.h>

Public Member Functions

 SocketNode (std::string local, std::string remote, std::string name)
 
 ~SocketNode () override
 
grpc_jsonRenderJson () override
 
void RecordStreamStartedFromLocal ()
 
void RecordStreamStartedFromRemote ()
 
void RecordStreamSucceeded ()
 
void RecordStreamFailed ()
 
void RecordMessagesSent (uint32_t num_sent)
 
void RecordMessageReceived ()
 
void RecordKeepaliveSent ()
 
const std::string & remote ()
 
- Public Member Functions inherited from grpc_core::channelz::BaseNode
virtual ~BaseNode ()
 
char * RenderJsonString ()
 
EntityType type () const
 
intptr_t uuid () const
 
const std::string & name () const
 
- Public Member Functions inherited from grpc_core::RefCounted< BaseNode >
 ~RefCounted ()=default
 
RefCountedPtr< BaseNode > Ref () GRPC_MUST_USE_RESULT
 
RefCountedPtr< BaseNode > Ref (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

- Public Types inherited from grpc_core::channelz::BaseNode
enum class  EntityType {
  kTopLevelChannel , kInternalChannel , kSubchannel , kServer ,
  kSocket
}
 
- Protected Member Functions inherited from grpc_core::channelz::BaseNode
 BaseNode (EntityType type, std::string name)
 
- Protected Member Functions inherited from grpc_core::RefCounted< BaseNode >
 RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ SocketNode()

grpc_core::channelz::SocketNode::SocketNode ( std::string  local,
std::string  remote,
std::string  name 
)

◆ ~SocketNode()

grpc_core::channelz::SocketNode::~SocketNode ( )
inlineoverride

Member Function Documentation

◆ RecordKeepaliveSent()

void grpc_core::channelz::SocketNode::RecordKeepaliveSent ( )
inline

◆ RecordMessageReceived()

void grpc_core::channelz::SocketNode::RecordMessageReceived ( )

◆ RecordMessagesSent()

void grpc_core::channelz::SocketNode::RecordMessagesSent ( uint32_t  num_sent)

◆ RecordStreamFailed()

void grpc_core::channelz::SocketNode::RecordStreamFailed ( )
inline

◆ RecordStreamStartedFromLocal()

void grpc_core::channelz::SocketNode::RecordStreamStartedFromLocal ( )

◆ RecordStreamStartedFromRemote()

void grpc_core::channelz::SocketNode::RecordStreamStartedFromRemote ( )

◆ RecordStreamSucceeded()

void grpc_core::channelz::SocketNode::RecordStreamSucceeded ( )
inline

◆ remote()

const std::string& grpc_core::channelz::SocketNode::remote ( )
inline

◆ RenderJson()

grpc_json* grpc_core::channelz::SocketNode::RenderJson ( )
overridevirtual

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