GRPC C++  1.39.1
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Data Fields
grpc_core::channelz::SocketNode::Security Struct Reference

#include <channelz.h>

Data Structures

struct  Tls
 

Public Types

enum class  ModelType { kUnset = 0 , kTls = 1 , kOther = 2 }
 

Public Member Functions

Json RenderJson ()
 
grpc_arg MakeChannelArg () const
 
- Public Member Functions inherited from grpc_core::RefCounted< Security >
 ~RefCounted ()=default
 
RefCountedPtr< Security > Ref () GRPC_MUST_USE_RESULT
 
RefCountedPtr< Security > Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< Security > RefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< Security > 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
 

Static Public Member Functions

static RefCountedPtr< SecurityGetFromChannelArgs (const grpc_channel_args *args)
 

Data Fields

ModelType type = ModelType::kUnset
 
absl::optional< Tlstls
 
absl::optional< Jsonother
 

Additional Inherited Members

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

Member Enumeration Documentation

◆ ModelType

Enumerator
kUnset 
kTls 
kOther 

Member Function Documentation

◆ GetFromChannelArgs()

RefCountedPtr< SocketNode::Security > grpc_core::channelz::SocketNode::Security::GetFromChannelArgs ( const grpc_channel_args args)
static

◆ MakeChannelArg()

grpc_arg grpc_core::channelz::SocketNode::Security::MakeChannelArg ( ) const

◆ RenderJson()

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

Field Documentation

◆ other

absl::optional<Json> grpc_core::channelz::SocketNode::Security::other

◆ tls

absl::optional<Tls> grpc_core::channelz::SocketNode::Security::tls

◆ type

ModelType grpc_core::channelz::SocketNode::Security::type = ModelType::kUnset

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