Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grpc_core::MockAuthorizationEndpoint Class Reference

#include <mock_authorization_endpoint.h>

Inheritance diagram for grpc_core::MockAuthorizationEndpoint:
Inheritance graph
[legend]

Public Member Functions

 MockAuthorizationEndpoint (absl::string_view local_uri, absl::string_view peer_uri)
 
void SetLocalAddress (absl::string_view local_address)
 
void SetPeer (absl::string_view peer_address)
 

Static Public Member Functions

static absl::string_view GetLocalAddress (grpc_endpoint *ep)
 
static absl::string_view GetPeer (grpc_endpoint *ep)
 

Private Attributes

std::string local_address_
 
std::string peer_address_
 

Additional Inherited Members

- Public Attributes inherited from grpc_endpoint
const grpc_endpoint_vtablevtable
 

Detailed Description

Definition at line 24 of file mock_authorization_endpoint.h.

Constructor & Destructor Documentation

◆ MockAuthorizationEndpoint()

grpc_core::MockAuthorizationEndpoint::MockAuthorizationEndpoint ( absl::string_view  local_uri,
absl::string_view  peer_uri 
)
inline

Definition at line 26 of file mock_authorization_endpoint.h.

Member Function Documentation

◆ GetLocalAddress()

static absl::string_view grpc_core::MockAuthorizationEndpoint::GetLocalAddress ( grpc_endpoint ep)
inlinestatic

Definition at line 41 of file mock_authorization_endpoint.h.

◆ GetPeer()

static absl::string_view grpc_core::MockAuthorizationEndpoint::GetPeer ( grpc_endpoint ep)
inlinestatic

Definition at line 35 of file mock_authorization_endpoint.h.

◆ SetLocalAddress()

void grpc_core::MockAuthorizationEndpoint::SetLocalAddress ( absl::string_view  local_address)
inline

Definition at line 51 of file mock_authorization_endpoint.h.

◆ SetPeer()

void grpc_core::MockAuthorizationEndpoint::SetPeer ( absl::string_view  peer_address)
inline

Definition at line 47 of file mock_authorization_endpoint.h.

Member Data Documentation

◆ local_address_

std::string grpc_core::MockAuthorizationEndpoint::local_address_
private

Definition at line 56 of file mock_authorization_endpoint.h.

◆ peer_address_

std::string grpc_core::MockAuthorizationEndpoint::peer_address_
private

Definition at line 57 of file mock_authorization_endpoint.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:36