GRPC Core
18.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/channel/channelz.h"
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/iomgr/endpoint.h"
#include "src/core/lib/transport/transport.h"
Go to the source code of this file.
Namespaces | |
grpc_core | |
Round Robin Policy. | |
Typedefs | |
typedef void(* | grpc_core::TestOnlyGlobalHttp2TransportInitCallback) () |
typedef void(* | grpc_core::TestOnlyGlobalHttp2TransportDestructCallback) () |
Functions | |
grpc_transport * | grpc_create_chttp2_transport (const grpc_channel_args *channel_args, grpc_endpoint *ep, bool is_client, grpc_resource_user *resource_user=nullptr) |
grpc_core::RefCountedPtr< grpc_core::channelz::SocketNode > | grpc_chttp2_transport_get_socket_node (grpc_transport *transport) |
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) |
Takes ownership of read_buffer, which (if non-NULL) contains leftover bytes previously read from the endpoint (e.g., by handshakers). More... | |
void | grpc_core::TestOnlySetGlobalHttp2TransportInitCallback (TestOnlyGlobalHttp2TransportInitCallback callback) |
void | grpc_core::TestOnlySetGlobalHttp2TransportDestructCallback (TestOnlyGlobalHttp2TransportDestructCallback callback) |
grpc_core::RefCountedPtr<grpc_core::channelz::SocketNode> grpc_chttp2_transport_get_socket_node | ( | grpc_transport * | transport | ) |
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 | ||
) |
Takes ownership of read_buffer, which (if non-NULL) contains leftover bytes previously read from the endpoint (e.g., by handshakers).
If non-null, notify_on_receive_settings will be scheduled when HTTP/2 settings are received from the peer.
grpc_transport* grpc_create_chttp2_transport | ( | const grpc_channel_args * | channel_args, |
grpc_endpoint * | ep, | ||
bool | is_client, | ||
grpc_resource_user * | resource_user = nullptr |
||
) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |