libcopp  2.2.0
Public Member Functions | Private Attributes
GreeterClient Class Reference
Collaboration diagram for GreeterClient:
Collaboration graph

Public Member Functions

 GreeterClient (std::shared_ptr< Channel > channel)
 
std::string SayHello (const std::string &user)
 

Private Attributes

std::unique_ptr< Greeter::Stub > stub_
 

Detailed Description

Definition at line 18 of file client-main.cpp.

Constructor & Destructor Documentation

◆ GreeterClient()

GreeterClient::GreeterClient ( std::shared_ptr< Channel >  channel)
inlineexplicit

Definition at line 20 of file client-main.cpp.

Member Function Documentation

◆ SayHello()

std::string GreeterClient::SayHello ( const std::string &  user)
inline

Definition at line 24 of file client-main.cpp.

References stub_.

Referenced by main().

Field Documentation

◆ stub_

std::unique_ptr<Greeter::Stub> GreeterClient::stub_
private

Definition at line 49 of file client-main.cpp.

Referenced by SayHello().


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