GRPC Core  10.0.0
Macros
propagation_bits.h File Reference
#include <grpc/impl/codegen/port_platform.h>

Go to the source code of this file.

Macros

#define GRPC_PROPAGATE_DEADLINE   ((uint32_t)1)
 Propagation bits: this can be bitwise or-ed to form propagation_mask for grpc_call. More...
 
#define GRPC_PROPAGATE_CENSUS_STATS_CONTEXT   ((uint32_t)2)
 Propagate census context. More...
 
#define GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT   ((uint32_t)4)
 
#define GRPC_PROPAGATE_CANCELLATION   ((uint32_t)8)
 Propagate cancellation. More...
 
#define GRPC_PROPAGATE_DEFAULTS
 Default propagation mask: clients of the core API are encouraged to encode deltas from this in their implementations... More...
 

Macro Definition Documentation

◆ GRPC_PROPAGATE_CANCELLATION

#define GRPC_PROPAGATE_CANCELLATION   ((uint32_t)8)

Propagate cancellation.

◆ GRPC_PROPAGATE_CENSUS_STATS_CONTEXT

#define GRPC_PROPAGATE_CENSUS_STATS_CONTEXT   ((uint32_t)2)

Propagate census context.

◆ GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT

#define GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT   ((uint32_t)4)

◆ GRPC_PROPAGATE_DEADLINE

#define GRPC_PROPAGATE_DEADLINE   ((uint32_t)1)

Propagation bits: this can be bitwise or-ed to form propagation_mask for grpc_call.

Propagate deadline

◆ GRPC_PROPAGATE_DEFAULTS

#define GRPC_PROPAGATE_DEFAULTS
Value:

Default propagation mask: clients of the core API are encouraged to encode deltas from this in their implementations...

ie write: GRPC_PROPAGATE_DEFAULTS & ~GRPC_PROPAGATE_DEADLINE to disable deadline propagation. Doing so gives flexibility in the future to define new propagation types that are default inherited or not.

GRPC_PROPAGATE_CENSUS_STATS_CONTEXT
#define GRPC_PROPAGATE_CENSUS_STATS_CONTEXT
Propagate census context.
Definition: propagation_bits.h:33
GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT
#define GRPC_PROPAGATE_CENSUS_TRACING_CONTEXT
Definition: propagation_bits.h:34
GRPC_PROPAGATE_DEADLINE
#define GRPC_PROPAGATE_DEADLINE
Propagation bits: this can be bitwise or-ed to form propagation_mask for grpc_call.
Definition: propagation_bits.h:31
GRPC_PROPAGATE_CANCELLATION
#define GRPC_PROPAGATE_CANCELLATION
Propagate cancellation.
Definition: propagation_bits.h:36