GRPC C++
0.10.0.0
|
Namespaces | |
protobuf | |
testing | |
Typedefs | |
typedef ServerAsyncReaderWriter < ByteBuffer, ByteBuffer > | GenericServerAsyncReaderWriter |
typedef std::pair < grpc::string, grpc::string > | AuthProperty |
typedef std::string | string |
typedef ClientAsyncReaderWriter < ByteBuffer, ByteBuffer > | GenericClientAsyncReaderWriter |
Enumerations | |
enum | StatusCode { OK = 0, CANCELLED = 1, UNKNOWN = 2, INVALID_ARGUMENT = 3, DEADLINE_EXCEEDED = 4, NOT_FOUND = 5, ALREADY_EXISTS = 6, PERMISSION_DENIED = 7, UNAUTHENTICATED = 16, RESOURCE_EXHAUSTED = 8, FAILED_PRECONDITION = 9, ABORTED = 10, OUT_OF_RANGE = 11, UNIMPLEMENTED = 12, INTERNAL = 13, UNAVAILABLE = 14, DATA_LOSS = 15, DO_NOT_USE = -1 } |
Functions | |
std::shared_ptr< ChannelInterface > | CreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args) |
std::shared_ptr< Credentials > | GoogleDefaultCredentials () |
std::shared_ptr< Credentials > | SslCredentials (const SslCredentialsOptions &options) |
std::shared_ptr< Credentials > | ComputeEngineCredentials () |
std::shared_ptr< Credentials > | ServiceAccountCredentials (const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds) |
std::shared_ptr< Credentials > | ServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds) |
std::shared_ptr< Credentials > | RefreshTokenCredentials (const grpc::string &json_refresh_token) |
std::shared_ptr< Credentials > | AccessTokenCredentials (const grpc::string &access_token) |
std::shared_ptr< Credentials > | IAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector) |
std::shared_ptr< Credentials > | CompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2) |
std::shared_ptr< Credentials > | InsecureCredentials () |
void | FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata) |
grpc_metadata * | FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata) |
template<class InputMessage , class OutputMessage > | |
Status | BlockingUnaryCall (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result) |
Status | SerializeProto (const grpc::protobuf::Message &msg, grpc_byte_buffer **buffer) |
Status | DeserializeProto (grpc_byte_buffer *buffer, grpc::protobuf::Message *msg, int max_message_size) |
std::shared_ptr < ServerCredentials > | SslServerCredentials (const SslServerCredentialsOptions &options) |
std::shared_ptr < ServerCredentials > | InsecureServerCredentials () |
ThreadPoolInterface * | CreateDefaultThreadPool () |
void | Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to) |
void | TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to) |
std::chrono::system_clock::time_point | Timespec2Timepoint (gpr_timespec t) |
std::shared_ptr< const AuthContext > | CreateAuthContext (grpc_call *call) |
void | Timepoint2Timespec (const system_clock::time_point &from, gpr_timespec *to) |
void | TimepointHR2Timespec (const high_resolution_clock::time_point &from, gpr_timespec *to) |
typedef std::pair<grpc::string, grpc::string> grpc::AuthProperty |
typedef std::string grpc::string |
enum grpc::StatusCode |
std::shared_ptr< Credentials > grpc::AccessTokenCredentials | ( | const grpc::string & | access_token | ) |
Status grpc::BlockingUnaryCall | ( | ChannelInterface * | channel, |
const RpcMethod & | method, | ||
ClientContext * | context, | ||
const InputMessage & | request, | ||
OutputMessage * | result | ||
) |
std::shared_ptr< Credentials > grpc::CompositeCredentials | ( | const std::shared_ptr< Credentials > & | creds1, |
const std::shared_ptr< Credentials > & | creds2 | ||
) |
std::shared_ptr< Credentials > grpc::ComputeEngineCredentials | ( | ) |
std::shared_ptr< const AuthContext > grpc::CreateAuthContext | ( | grpc_call * | call | ) |
std::shared_ptr< ChannelInterface > grpc::CreateChannel | ( | const grpc::string & | target, |
const std::shared_ptr< Credentials > & | creds, | ||
const ChannelArguments & | args | ||
) |
ThreadPoolInterface * grpc::CreateDefaultThreadPool | ( | ) |
Status grpc::DeserializeProto | ( | grpc_byte_buffer * | buffer, |
grpc::protobuf::Message * | msg, | ||
int | max_message_size | ||
) |
grpc_metadata * grpc::FillMetadataArray | ( | const std::multimap< grpc::string, grpc::string > & | metadata | ) |
void grpc::FillMetadataMap | ( | grpc_metadata_array * | arr, |
std::multimap< grpc::string, grpc::string > * | metadata | ||
) |
std::shared_ptr< Credentials > grpc::GoogleDefaultCredentials | ( | ) |
std::shared_ptr< Credentials > grpc::IAMCredentials | ( | const grpc::string & | authorization_token, |
const grpc::string & | authority_selector | ||
) |
std::shared_ptr< Credentials > grpc::InsecureCredentials | ( | ) |
std::shared_ptr< ServerCredentials > grpc::InsecureServerCredentials | ( | ) |
std::shared_ptr< Credentials > grpc::RefreshTokenCredentials | ( | const grpc::string & | json_refresh_token | ) |
Status grpc::SerializeProto | ( | const grpc::protobuf::Message & | msg, |
grpc_byte_buffer ** | buffer | ||
) |
std::shared_ptr< Credentials > grpc::ServiceAccountCredentials | ( | const grpc::string & | json_key, |
const grpc::string & | scope, | ||
long | token_lifetime_seconds | ||
) |
std::shared_ptr< Credentials > grpc::ServiceAccountJWTAccessCredentials | ( | const grpc::string & | json_key, |
long | token_lifetime_seconds | ||
) |
std::shared_ptr< Credentials > grpc::SslCredentials | ( | const SslCredentialsOptions & | options | ) |
std::shared_ptr< ServerCredentials > grpc::SslServerCredentials | ( | const SslServerCredentialsOptions & | options | ) |
void grpc::Timepoint2Timespec | ( | const system_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
void grpc::Timepoint2Timespec | ( | const std::chrono::system_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
void grpc::TimepointHR2Timespec | ( | const high_resolution_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
void grpc::TimepointHR2Timespec | ( | const std::chrono::high_resolution_clock::time_point & | from, |
gpr_timespec * | to | ||
) |
system_clock::time_point grpc::Timespec2Timepoint | ( | gpr_timespec | t | ) |