#include <async_generic_service.h>
Public Member Functions | |
const std::string & | host () const |
const std::string & | method () const |
![]() | |
void | AddInitialMetadata (const std::string &key, const std::string &value) |
void | AddTrailingMetadata (const std::string &key, const std::string &value) |
void | AsyncNotifyWhenDone (void *tag) |
std::shared_ptr< const grpc::AuthContext > | auth_context () const |
grpc_call * | c_call () |
const struct census_context * | census_context () const |
Get the census context associated with this server call. More... | |
const std::multimap< grpc::string_ref, grpc::string_ref > & | client_metadata () const |
grpc_compression_algorithm | compression_algorithm () const |
grpc_compression_level | compression_level () const |
Return the compression algorithm to be used by the server call. More... | |
bool | compression_level_set () const |
std::chrono::system_clock::time_point | deadline () const |
Return the deadline for the server call. More... | |
bool | IsCancelled () const |
std::string | peer () const |
gpr_timespec | raw_deadline () const |
Return a gpr_timespec representation of the server call's deadline. More... | |
ServerContext () | |
void | set_compression_algorithm (grpc_compression_algorithm algorithm) |
void | set_compression_level (grpc_compression_level level) |
void | SetLoadReportingCosts (const std::vector< std::string > &cost_data) |
Set the serialized load reporting costs in cost_data for the call. More... | |
void | TryCancel () const |
![]() | |
void | AddInitialMetadata (const std::string &key, const std::string &value) |
void | AddTrailingMetadata (const std::string &key, const std::string &value) |
std::shared_ptr< const grpc::AuthContext > | auth_context () const |
grpc_call * | c_call () |
const struct census_context * | census_context () const |
Get the census context associated with this server call. More... | |
const std::multimap< grpc::string_ref, grpc::string_ref > & | client_metadata () const |
grpc_compression_algorithm | compression_algorithm () const |
grpc_compression_level | compression_level () const |
Return the compression algorithm to be used by the server call. More... | |
bool | compression_level_set () const |
std::chrono::system_clock::time_point | deadline () const |
Return the deadline for the server call. More... | |
grpc::string_ref | ExperimentalGetAuthority () const |
experimental::CallMetricRecorder * | ExperimentalGetCallMetricRecorder () |
bool | IsCancelled () const |
std::string | peer () const |
gpr_timespec | raw_deadline () const |
Return a gpr_timespec representation of the server call's deadline. More... | |
void | set_compression_algorithm (grpc_compression_algorithm algorithm) |
void | set_compression_level (grpc_compression_level level) |
void | SetLoadReportingCosts (const std::vector< std::string > &cost_data) |
Set the serialized load reporting costs in cost_data for the call. More... | |
void | TryCancel () const |
virtual | ~ServerContextBase () |
Private Attributes | |
std::string | host_ |
std::string | method_ |
Friends | |
class | ServerInterface |
Additional Inherited Members | |
![]() | |
void | AsyncNotifyWhenDone (void *tag) |
ContextAllocator * | context_allocator () const |
grpc::ServerUnaryReactor * | DefaultReactor () |
RpcAllocatorState * | GetRpcAllocatorState () |
ServerContextBase () | |
Constructors for use by derived classes. More... | |
ServerContextBase (gpr_timespec deadline, grpc_metadata_array *arr) | |
void | set_context_allocator (ContextAllocator *context_allocator) |
Definition at line 41 of file grpcpp/impl/codegen/async_generic_service.h.
|
inline |
Definition at line 44 of file grpcpp/impl/codegen/async_generic_service.h.
|
inline |
Definition at line 43 of file grpcpp/impl/codegen/async_generic_service.h.
|
friend |
Definition at line 47 of file grpcpp/impl/codegen/async_generic_service.h.
|
private |
Definition at line 50 of file grpcpp/impl/codegen/async_generic_service.h.
|
private |
Definition at line 49 of file grpcpp/impl/codegen/async_generic_service.h.