GRPC Core  18.0.0
Data Structures | Public Member Functions
grpc_core::channelz::SocketNode Class Reference

#include <channelz.h>

Data Structures

struct  Security
 

Public Member Functions

 SocketNode (std::string local, std::string remote, std::string name, RefCountedPtr< Security > security)
 
 ~SocketNode () override
 
Json RenderJson () 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
 ~BaseNode () override
 
std::string 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)
 
RefCountedPtr< BaseNode > RefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< BaseNode > RefIfNonZero (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

- 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 (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ SocketNode()

grpc_core::channelz::SocketNode::SocketNode ( std::string  local,
std::string  remote,
std::string  name,
RefCountedPtr< Security security 
)

◆ ~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()

Json grpc_core::channelz::SocketNode::RenderJson ( )
overridevirtual

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