chttp2_transport.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
20 #define GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H
21 
23 
25 #include <grpc/slice.h>
26 
33 
39 
44  const grpc_channel_args* channel_args, grpc_endpoint* ep, bool is_client);
45 
48 
55  grpc_closure* notify_on_receive_settings, grpc_closure* notify_on_close);
56 
57 namespace grpc_core {
60 
63 
66 
67 // If \a disable is true, the HTTP2 transport will not update the connectivity
68 // state tracker to TRANSIENT_FAILURE when a goaway is received. This prevents
69 // the watchers (eg. client_channel) from noticing the GOAWAY, thereby allowing
70 // us to test the racy behavior when a call is sent down the stack around the
71 // same time that a GOAWAY is received.
73  bool disable);
74 } // namespace grpc_core
75 
76 #endif /* GRPC_CORE_EXT_TRANSPORT_CHTTP2_TRANSPORT_CHTTP2_TRANSPORT_H */
trace.h
grpc_core::TestOnlyGlobalHttp2TransportDestructCallback
void(* TestOnlyGlobalHttp2TransportDestructCallback)()
Definition: chttp2_transport.h:59
slice.h
grpc_core::TestOnlySetGlobalHttp2TransportDestructCallback
void TestOnlySetGlobalHttp2TransportDestructCallback(TestOnlyGlobalHttp2TransportDestructCallback callback)
Definition: chttp2_transport.cc:217
grpc_core
Definition: call_metric_recorder.h:31
closure.h
channelz.h
grpc_core::TestOnlySetGlobalHttp2TransportInitCallback
void TestOnlySetGlobalHttp2TransportInitCallback(TestOnlyGlobalHttp2TransportInitCallback callback)
Definition: chttp2_transport.cc:212
grpc_channel_args
Definition: grpc_types.h:132
grpc_types.h
grpc_chttp2_transport_start_reading
void grpc_chttp2_transport_start_reading(grpc_transport *transport, grpc_slice_buffer *read_buffer, grpc_closure *notify_on_receive_settings, grpc_closure *notify_on_close)
Definition: chttp2_transport.cc:3128
grpc_core::TestOnlyGlobalHttp2TransportInitCallback
void(* TestOnlyGlobalHttp2TransportInitCallback)()
Definition: chttp2_transport.h:58
grpc_core::RefCountedPtr< grpc_core::channelz::SocketNode >
transport
grpc_transport transport
Definition: filter_fuzzer.cc:146
grpc_trace_http2_stream_state
grpc_core::TraceFlag grpc_trace_http2_stream_state
grpc_core::TestOnlyGlobalHttp2TransportDisableTransientFailureStateNotification
void TestOnlyGlobalHttp2TransportDisableTransientFailureStateNotification(bool disable)
Definition: chttp2_transport.cc:222
grpc_http_trace
grpc_core::TraceFlag grpc_http_trace
callback
static void callback(void *arg, int status, int timeouts, struct hostent *host)
Definition: acountry.c:224
transport_fwd.h
grpc_create_chttp2_transport
grpc_transport * grpc_create_chttp2_transport(const grpc_channel_args *channel_args, grpc_endpoint *ep, bool is_client)
Definition: chttp2_transport.cc:3122
grpc_core::TraceFlag
Definition: debug/trace.h:63
grpc_keepalive_trace
grpc_core::TraceFlag grpc_keepalive_trace
grpc_trace_chttp2_hpack_parser
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_hpack_parser
ref_counted_ptr.h
grpc_transport
Definition: transport_impl.h:89
grpc_slice_buffer
Definition: include/grpc/impl/codegen/slice.h:83
endpoint.h
grpc_chttp2_transport_get_socket_node
grpc_core::RefCountedPtr< grpc_core::channelz::SocketNode > grpc_chttp2_transport_get_socket_node(grpc_transport *transport)
Definition: chttp2_transport.cc:3116
grpc_closure
Definition: closure.h:56
grpc_endpoint
Definition: endpoint.h:105
grpc_trace_chttp2_refcount
grpc_core::DebugOnlyTraceFlag grpc_trace_chttp2_refcount
port_platform.h


grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:54