Classes | Functions | Variables
filter_causes_close.cc File Reference
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include <grpc/byte_buffer.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include "src/core/lib/channel/channel_stack.h"
#include "src/core/lib/channel/channel_stack_builder.h"
#include "src/core/lib/config/core_configuration.h"
#include "src/core/lib/surface/channel_init.h"
#include "test/core/end2end/cq_verifier.h"
#include "test/core/end2end/end2end_tests.h"
Include dependency graph for filter_causes_close.cc:

Go to the source code of this file.

Classes

struct  call_data
 
struct  channel_data
 

Functions

static grpc_end2end_test_fixture begin_test (grpc_end2end_test_config config, const char *test_name, grpc_channel_args *client_args, grpc_channel_args *server_args)
 
static void destroy_call_elem (grpc_call_element *, const grpc_call_final_info *, grpc_closure *)
 
static void destroy_channel_elem (grpc_channel_element *)
 
static void drain_cq (grpc_completion_queue *cq)
 
static void end_test (grpc_end2end_test_fixture *f)
 
void filter_causes_close (grpc_end2end_test_config config)
 
void filter_causes_close_pre_init (void)
 
static gpr_timespec five_seconds_from_now (void)
 
static grpc_error_handle init_call_elem (grpc_call_element *, const grpc_call_element_args *)
 
static grpc_error_handle init_channel_elem (grpc_channel_element *, grpc_channel_element_args *)
 
static gpr_timespec n_seconds_from_now (int n)
 
static void recv_im_ready (void *arg, grpc_error_handle error)
 
static void shutdown_client (grpc_end2end_test_fixture *f)
 
static void shutdown_server (grpc_end2end_test_fixture *f)
 
static void start_transport_stream_op_batch (grpc_call_element *elem, grpc_transport_stream_op_batch *op)
 
static void * tag (intptr_t t)
 
static void test_request (grpc_end2end_test_config config)
 

Variables

static const grpc_channel_filter test_filter
 

Function Documentation

◆ begin_test()

static grpc_end2end_test_fixture begin_test ( grpc_end2end_test_config  config,
const char *  test_name,
grpc_channel_args client_args,
grpc_channel_args server_args 
)
static

Definition at line 37 of file filter_causes_close.cc.

◆ destroy_call_elem()

static void destroy_call_elem ( grpc_call_element ,
const grpc_call_final_info ,
grpc_closure  
)
static

Definition at line 226 of file filter_causes_close.cc.

◆ destroy_channel_elem()

static void destroy_channel_elem ( grpc_channel_element )
static

Definition at line 235 of file filter_causes_close.cc.

◆ drain_cq()

static void drain_cq ( grpc_completion_queue cq)
static

Definition at line 57 of file filter_causes_close.cc.

◆ end_test()

static void end_test ( grpc_end2end_test_fixture f)
static

Definition at line 82 of file filter_causes_close.cc.

◆ filter_causes_close()

void filter_causes_close ( grpc_end2end_test_config  config)

Definition at line 256 of file filter_causes_close.cc.

◆ filter_causes_close_pre_init()

void filter_causes_close_pre_init ( void  )

Definition at line 270 of file filter_causes_close.cc.

◆ five_seconds_from_now()

static gpr_timespec five_seconds_from_now ( void  )
static

Definition at line 53 of file filter_causes_close.cc.

◆ init_call_elem()

static grpc_error_handle init_call_elem ( grpc_call_element ,
const grpc_call_element_args  
)
static

Definition at line 221 of file filter_causes_close.cc.

◆ init_channel_elem()

static grpc_error_handle init_channel_elem ( grpc_channel_element ,
grpc_channel_element_args  
)
static

Definition at line 230 of file filter_causes_close.cc.

◆ n_seconds_from_now()

static gpr_timespec n_seconds_from_now ( int  n)
static

Definition at line 49 of file filter_causes_close.cc.

◆ recv_im_ready()

static void recv_im_ready ( void *  arg,
grpc_error_handle  error 
)
static

Definition at line 198 of file filter_causes_close.cc.

◆ shutdown_client()

static void shutdown_client ( grpc_end2end_test_fixture f)
static

Definition at line 76 of file filter_causes_close.cc.

◆ shutdown_server()

static void shutdown_server ( grpc_end2end_test_fixture f)
static

Definition at line 64 of file filter_causes_close.cc.

◆ start_transport_stream_op_batch()

static void start_transport_stream_op_batch ( grpc_call_element elem,
grpc_transport_stream_op_batch op 
)
static

Definition at line 209 of file filter_causes_close.cc.

◆ tag()

static void* tag ( intptr_t  t)
static

Definition at line 35 of file filter_causes_close.cc.

◆ test_request()

static void test_request ( grpc_end2end_test_config  config)
static

Definition at line 92 of file filter_causes_close.cc.

Variable Documentation

◆ test_filter

const grpc_channel_filter test_filter
static
destroy_channel_elem
static void destroy_channel_elem(grpc_channel_element *)
Definition: filter_causes_close.cc:235
start_transport_stream_op_batch
static void start_transport_stream_op_batch(grpc_call_element *elem, grpc_transport_stream_op_batch *op)
Definition: filter_causes_close.cc:209
call_data
struct connected_channel_call_data call_data
grpc_channel_next_op
void grpc_channel_next_op(grpc_channel_element *elem, grpc_transport_op *op)
Definition: channel_stack.cc:264
grpc_call_stack_ignore_set_pollset_or_pollset_set
void grpc_call_stack_ignore_set_pollset_or_pollset_set(grpc_call_element *, grpc_polling_entity *)
Definition: channel_stack.cc:233
grpc_channel_stack_no_post_init
void grpc_channel_stack_no_post_init(grpc_channel_stack *, grpc_channel_element *)
Definition: channel_stack.cc:282
grpc_channel_next_get_info
void grpc_channel_next_get_info(grpc_channel_element *elem, const grpc_channel_info *channel_info)
Definition: channel_stack.cc:258
destroy_call_elem
static void destroy_call_elem(grpc_call_element *, const grpc_call_final_info *, grpc_closure *)
Definition: filter_causes_close.cc:226
init_call_elem
static grpc_error_handle init_call_elem(grpc_call_element *, const grpc_call_element_args *)
Definition: filter_causes_close.cc:221
channel_data
struct connected_channel_channel_data channel_data
init_channel_elem
static grpc_error_handle init_channel_elem(grpc_channel_element *, grpc_channel_element_args *)
Definition: filter_causes_close.cc:230


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