Public Member Functions | Private Attributes | List of all members
grpc::testing::ChannelTestPeer Class Reference

A test-only class to access private members of Channel. More...

#include <channel_test_peer.h>

Public Member Functions

grpc_channelchannel () const
 Provide the gRPC Core channel. More...
 
 ChannelTestPeer (Channel *channel)
 
int registered_calls () const
 
int registration_attempts () const
 

Private Attributes

Channelchannel_
 

Detailed Description

A test-only class to access private members of Channel.

Definition at line 28 of file channel_test_peer.h.

Constructor & Destructor Documentation

◆ ChannelTestPeer()

grpc::testing::ChannelTestPeer::ChannelTestPeer ( Channel channel)
inlineexplicit

Definition at line 30 of file channel_test_peer.h.

Member Function Documentation

◆ channel()

grpc_channel* grpc::testing::ChannelTestPeer::channel ( ) const
inline

Provide the gRPC Core channel.

Definition at line 33 of file channel_test_peer.h.

◆ registered_calls()

int grpc::testing::ChannelTestPeer::registered_calls ( ) const

Definition at line 27 of file channel_test_peer.cc.

◆ registration_attempts()

int grpc::testing::ChannelTestPeer::registration_attempts ( ) const

Definition at line 32 of file channel_test_peer.cc.

Member Data Documentation

◆ channel_

Channel* grpc::testing::ChannelTestPeer::channel_
private

Definition at line 38 of file channel_test_peer.h.


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


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