Public Member Functions | Private Attributes | Friends | List of all members
grpc::GenericCallbackServerContext Class Referencefinal

#include <async_generic_service.h>

Inheritance diagram for grpc::GenericCallbackServerContext:
Inheritance graph
[legend]

Public Member Functions

const std::string & host () const
 
const std::string & method () const
 
- Public Member Functions inherited from grpc::CallbackServerContext
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::AuthContextauth_context () const
 
grpc_callc_call ()
 
 CallbackServerContext ()
 
const struct census_contextcensus_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
 
ContextAllocatorcontext_allocator () const
 
std::chrono::system_clock::time_point deadline () const
 Return the deadline for the server call. More...
 
grpc::ServerUnaryReactorDefaultReactor ()
 
RpcAllocatorStateGetRpcAllocatorState ()
 
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 set_context_allocator (ContextAllocator *context_allocator)
 
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
 
- Public Member Functions inherited from grpc::ServerContextBase
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::AuthContextauth_context () const
 
grpc_callc_call ()
 
const struct census_contextcensus_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::CallMetricRecorderExperimentalGetCallMetricRecorder ()
 
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 grpc::Server
 

Additional Inherited Members

- Protected Member Functions inherited from grpc::ServerContextBase
void AsyncNotifyWhenDone (void *tag)
 
ContextAllocatorcontext_allocator () const
 
grpc::ServerUnaryReactorDefaultReactor ()
 
RpcAllocatorStateGetRpcAllocatorState ()
 
 ServerContextBase ()
 Constructors for use by derived classes. More...
 
 ServerContextBase (gpr_timespec deadline, grpc_metadata_array *arr)
 
void set_context_allocator (ContextAllocator *context_allocator)
 

Detailed Description

Definition at line 89 of file grpcpp/impl/codegen/async_generic_service.h.

Member Function Documentation

◆ host()

const std::string& grpc::GenericCallbackServerContext::host ( ) const
inline

Definition at line 92 of file grpcpp/impl/codegen/async_generic_service.h.

◆ method()

const std::string& grpc::GenericCallbackServerContext::method ( ) const
inline

Definition at line 91 of file grpcpp/impl/codegen/async_generic_service.h.

Friends And Related Function Documentation

◆ grpc::Server

friend class grpc::Server
friend

Definition at line 95 of file grpcpp/impl/codegen/async_generic_service.h.

Member Data Documentation

◆ host_

std::string grpc::GenericCallbackServerContext::host_
private

Definition at line 98 of file grpcpp/impl/codegen/async_generic_service.h.

◆ method_

std::string grpc::GenericCallbackServerContext::method_
private

Definition at line 97 of file grpcpp/impl/codegen/async_generic_service.h.


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


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