Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo Class Reference

#include <client.h>

Public Member Functions

 ClientChannelInfo (const std::string &target, const ClientConfig &config, std::function< std::unique_ptr< StubType >(std::shared_ptr< Channel >)> create_stub, int shard)
 
Channelget_channel ()
 
StubType * get_stub ()
 
bool is_inproc ()
 

Private Member Functions

void set_channel_args (const ClientConfig &config, ChannelArguments *args)
 

Private Attributes

std::shared_ptr< Channelchannel_
 
bool is_inproc_
 
std::unique_ptr< StubType > stub_
 

Detailed Description

template<class StubType, class RequestType>
class grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo

Definition at line 506 of file client.h.

Constructor & Destructor Documentation

◆ ClientChannelInfo()

template<class StubType , class RequestType >
grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::ClientChannelInfo ( const std::string &  target,
const ClientConfig &  config,
std::function< std::unique_ptr< StubType >(std::shared_ptr< Channel >)>  create_stub,
int  shard 
)
inline

Definition at line 508 of file client.h.

Member Function Documentation

◆ get_channel()

template<class StubType , class RequestType >
Channel* grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::get_channel ( )
inline

Definition at line 542 of file client.h.

◆ get_stub()

template<class StubType , class RequestType >
StubType* grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::get_stub ( )
inline

Definition at line 543 of file client.h.

◆ is_inproc()

template<class StubType , class RequestType >
bool grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::is_inproc ( )
inline

Definition at line 544 of file client.h.

◆ set_channel_args()

template<class StubType , class RequestType >
void grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::set_channel_args ( const ClientConfig &  config,
ChannelArguments args 
)
inlineprivate

Definition at line 547 of file client.h.

Member Data Documentation

◆ channel_

template<class StubType , class RequestType >
std::shared_ptr<Channel> grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::channel_
private

Definition at line 559 of file client.h.

◆ is_inproc_

template<class StubType , class RequestType >
bool grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::is_inproc_
private

Definition at line 561 of file client.h.

◆ stub_

template<class StubType , class RequestType >
std::unique_ptr<StubType> grpc::testing::ClientImpl< StubType, RequestType >::ClientChannelInfo::stub_
private

Definition at line 560 of file client.h.


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


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