Classes | Functions
proxy.cc File Reference
#include "test/core/end2end/fixtures/proxy.h"
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include "src/core/lib/gpr/useful.h"
#include "src/core/lib/gprpp/host_port.h"
#include "src/core/lib/gprpp/memory.h"
#include "src/core/lib/gprpp/thd.h"
#include "src/core/lib/surface/call.h"
#include "test/core/util/port.h"
Include dependency graph for proxy.cc:

Go to the source code of this file.

Classes

struct  closure
 
struct  grpc_end2end_proxy
 
struct  proxy_call
 

Functions

grpc_end2end_proxygrpc_end2end_proxy_create (const grpc_end2end_proxy_def *def, const grpc_channel_args *client_args, const grpc_channel_args *server_args)
 
void grpc_end2end_proxy_destroy (grpc_end2end_proxy *proxy)
 
const char * grpc_end2end_proxy_get_client_target (grpc_end2end_proxy *proxy)
 
const char * grpc_end2end_proxy_get_server_port (grpc_end2end_proxy *proxy)
 
static closurenew_closure (void(*func)(void *arg, int success), void *arg)
 
static void on_c2p_closed (void *arg, int)
 
static void on_c2p_recv_msg (void *arg, int success)
 
static void on_c2p_sent_initial_metadata (void *arg, int)
 
static void on_c2p_sent_message (void *arg, int success)
 
static void on_c2p_sent_status (void *arg, int)
 
static void on_new_call (void *arg, int success)
 
static void on_p2s_recv_initial_metadata (void *arg, int)
 
static void on_p2s_recv_msg (void *arg, int success)
 
static void on_p2s_sent_close (void *arg, int)
 
static void on_p2s_sent_initial_metadata (void *arg, int)
 
static void on_p2s_sent_message (void *arg, int success)
 
static void on_p2s_status (void *arg, int success)
 
static void refpc (proxy_call *pc, const char *)
 
static void request_call (grpc_end2end_proxy *proxy)
 
static void shutdown_complete (void *arg, int)
 
static void thread_main (void *arg)
 
static void unrefpc (proxy_call *pc, const char *)
 

Function Documentation

◆ grpc_end2end_proxy_create()

grpc_end2end_proxy* grpc_end2end_proxy_create ( const grpc_end2end_proxy_def def,
const grpc_channel_args client_args,
const grpc_channel_args server_args 
)

Definition at line 87 of file proxy.cc.

◆ grpc_end2end_proxy_destroy()

void grpc_end2end_proxy_destroy ( grpc_end2end_proxy proxy)

Definition at line 139 of file proxy.cc.

◆ grpc_end2end_proxy_get_client_target()

const char* grpc_end2end_proxy_get_client_target ( grpc_end2end_proxy proxy)

Definition at line 462 of file proxy.cc.

◆ grpc_end2end_proxy_get_server_port()

const char* grpc_end2end_proxy_get_server_port ( grpc_end2end_proxy proxy)

Definition at line 466 of file proxy.cc.

◆ new_closure()

static closure* new_closure ( void(*)(void *arg, int success)  func,
void *  arg 
)
static

Definition at line 126 of file proxy.cc.

◆ on_c2p_closed()

static void on_c2p_closed ( void *  arg,
int   
)
static

Definition at line 341 of file proxy.cc.

◆ on_c2p_recv_msg()

static void on_c2p_recv_msg ( void *  arg,
int  success 
)
static

Definition at line 225 of file proxy.cc.

◆ on_c2p_sent_initial_metadata()

static void on_c2p_sent_initial_metadata ( void *  arg,
int   
)
static

Definition at line 166 of file proxy.cc.

◆ on_c2p_sent_message()

static void on_c2p_sent_message ( void *  arg,
int  success 
)
static

Definition at line 260 of file proxy.cc.

◆ on_c2p_sent_status()

static void on_c2p_sent_status ( void *  arg,
int   
)
static

Definition at line 300 of file proxy.cc.

◆ on_new_call()

static void on_new_call ( void *  arg,
int  success 
)
static

Definition at line 346 of file proxy.cc.

◆ on_p2s_recv_initial_metadata()

static void on_p2s_recv_initial_metadata ( void *  arg,
int   
)
static

Definition at line 171 of file proxy.cc.

◆ on_p2s_recv_msg()

static void on_p2s_recv_msg ( void *  arg,
int  success 
)
static

Definition at line 280 of file proxy.cc.

◆ on_p2s_sent_close()

static void on_p2s_sent_close ( void *  arg,
int   
)
static

Definition at line 220 of file proxy.cc.

◆ on_p2s_sent_initial_metadata()

static void on_p2s_sent_initial_metadata ( void *  arg,
int   
)
static

Definition at line 193 of file proxy.cc.

◆ on_p2s_sent_message()

static void on_p2s_sent_message ( void *  arg,
int  success 
)
static

Definition at line 200 of file proxy.cc.

◆ on_p2s_status()

static void on_p2s_status ( void *  arg,
int  success 
)
static

Definition at line 305 of file proxy.cc.

◆ refpc()

static void refpc ( proxy_call pc,
const char *   
)
static

Definition at line 162 of file proxy.cc.

◆ request_call()

static void request_call ( grpc_end2end_proxy proxy)
static

Definition at line 432 of file proxy.cc.

◆ shutdown_complete()

static void shutdown_complete ( void *  arg,
int   
)
static

Definition at line 133 of file proxy.cc.

◆ thread_main()

static void thread_main ( void *  arg)
static

Definition at line 441 of file proxy.cc.

◆ unrefpc()

static void unrefpc ( proxy_call pc,
const char *   
)
static

Definition at line 150 of file proxy.cc.



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