GRPC C++  0.10.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Namespaces | Data Structures | Typedefs | Enumerations | Functions
grpc Namespace Reference

Namespaces

 CallOpGenericRecvMessageHelper
 
 protobuf
 
 testing
 

Data Structures

class  GenericServerContext
 
class  AsyncGenericService
 
class  ClientAsyncResponseReaderInterface
 
class  ClientAsyncResponseReader
 
class  ServerAsyncResponseWriter
 
class  AuthContext
 
class  AuthPropertyIterator
 
class  ByteBuffer
 
class  SerializationTraits< ByteBuffer, void >
 
class  ChannelArguments
 
class  ChannelInterface
 
class  ClientReader
 
class  ClientWriter
 
class  ClientReaderWriter
 
class  ClientAsyncReader
 
class  ClientAsyncWriter
 
class  ClientAsyncReaderWriter
 
class  ClientContext
 
class  ServerReader
 
class  ServerWriter
 
class  ServerReaderWriter
 
class  RpcMethodHandler
 
class  ClientStreamingHandler
 
class  ServerStreamingHandler
 
class  BidiStreamingHandler
 
class  CompletionQueueTag
 
class  CompletionQueue
 
class  ServerCompletionQueue
 
class  Credentials
 
struct  SslCredentialsOptions
 
class  DynamicThreadPool
 
class  FixedSizeThreadPool
 
class  GenericStub
 
class  WriteOptions
 Per-message write options. More...
 
class  CallNoOp
 Default argument for CallOpSet. More...
 
class  CallOpSendInitialMetadata
 
class  CallOpSendMessage
 
class  CallOpRecvMessage
 
class  CallOpGenericRecvMessage
 
class  CallOpClientSendClose
 
class  CallOpServerSendStatus
 
class  CallOpRecvInitialMetadata
 
class  CallOpClientRecvStatus
 
class  CallOpSetInterface
 An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
 
class  CallOpSet
 Primary implementaiton of CallOpSetInterface. More...
 
class  SneakyCallOpSet
 A CallOpSet that does not post completions to the completion queue. More...
 
class  CallHook
 
class  Call
 
class  GrpcLibrary
 
class  InternalStub
 
class  SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
 
class  RpcMethod
 
class  MethodHandler
 
class  RpcServiceMethod
 
class  RpcService
 
class  SerializationTraits
 Defines how to serialize and deserialize some type. More...
 
class  SynchronousService
 
class  ServerAsyncStreamingInterface
 
class  AsynchronousService
 
class  lock_guard
 
class  mutex
 
class  unique_lock
 
class  condition_variable
 
class  thread
 
class  Server
 
class  ServerBuilder
 
class  ServerAsyncReader
 
class  ServerAsyncWriter
 
class  ServerAsyncReaderWriter
 
class  ServerContext
 
class  ServerCredentials
 
struct  SslServerCredentialsOptions
 
class  Slice
 
class  Status
 
class  ClientStreamingInterface
 
class  ReaderInterface
 
class  WriterInterface
 
class  ClientReaderInterface
 
class  ClientWriterInterface
 
class  ClientReaderWriterInterface
 
class  ClientAsyncStreamingInterface
 
class  AsyncReaderInterface
 
class  AsyncWriterInterface
 
class  ClientAsyncReaderInterface
 
class  ClientAsyncWriterInterface
 
class  ClientAsyncReaderWriterInterface
 
class  ThreadPoolInterface
 
class  TimePoint
 
class  TimePoint< gpr_timespec >
 
class  TimePoint< std::chrono::system_clock::time_point >
 
class  SecureCredentials
 
class  SecureAuthContext
 
class  SecureServerCredentials
 
class  Channel
 

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< ChannelInterfaceCreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
 
std::shared_ptr< CredentialsGoogleDefaultCredentials ()
 
std::shared_ptr< CredentialsSslCredentials (const SslCredentialsOptions &options)
 
std::shared_ptr< CredentialsComputeEngineCredentials ()
 
std::shared_ptr< CredentialsServiceAccountCredentials (const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
 
std::shared_ptr< CredentialsServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds)
 
std::shared_ptr< CredentialsRefreshTokenCredentials (const grpc::string &json_refresh_token)
 
std::shared_ptr< CredentialsAccessTokenCredentials (const grpc::string &access_token)
 
std::shared_ptr< CredentialsIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
 
std::shared_ptr< CredentialsCompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
 
std::shared_ptr< CredentialsInsecureCredentials ()
 
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 ()
 
ThreadPoolInterfaceCreateDefaultThreadPool ()
 
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 Documentation

typedef std::string grpc::string

Enumeration Type Documentation

Enumerator
OK 
CANCELLED 
UNKNOWN 
INVALID_ARGUMENT 
DEADLINE_EXCEEDED 
NOT_FOUND 
ALREADY_EXISTS 
PERMISSION_DENIED 
UNAUTHENTICATED 
RESOURCE_EXHAUSTED 
FAILED_PRECONDITION 
ABORTED 
OUT_OF_RANGE 
UNIMPLEMENTED 
INTERNAL 
UNAVAILABLE 
DATA_LOSS 
DO_NOT_USE 

Function Documentation

std::shared_ptr< Credentials > grpc::AccessTokenCredentials ( const grpc::string access_token)
template<class InputMessage , class OutputMessage >
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)