GRPC C++  1.39.1
Data Structures | Namespaces | Enumerations | Functions
frame_data.h File Reference
#include <grpc/support/port_platform.h>
#include <grpc/slice.h>
#include <grpc/slice_buffer.h>
#include "src/core/ext/transport/chttp2/transport/frame.h"
#include "src/core/lib/transport/byte_stream.h"
#include "src/core/lib/transport/transport.h"

Go to the source code of this file.

Data Structures

struct  grpc_chttp2_data_parser
 

Namespaces

 grpc_core
 Round Robin Policy.
 

Enumerations

enum  grpc_chttp2_stream_state {
  GRPC_CHTTP2_DATA_FH_0 , GRPC_CHTTP2_DATA_FH_1 , GRPC_CHTTP2_DATA_FH_2 , GRPC_CHTTP2_DATA_FH_3 ,
  GRPC_CHTTP2_DATA_FH_4 , GRPC_CHTTP2_DATA_FRAME , GRPC_CHTTP2_DATA_ERROR
}
 

Functions

grpc_error_handle grpc_chttp2_data_parser_begin_frame (grpc_chttp2_data_parser *parser, uint8_t flags, uint32_t stream_id, grpc_chttp2_stream *s)
 
grpc_error_handle grpc_chttp2_data_parser_parse (void *parser, grpc_chttp2_transport *t, grpc_chttp2_stream *s, const grpc_slice &slice, int is_last)
 
void grpc_chttp2_encode_data (uint32_t id, grpc_slice_buffer *inbuf, uint32_t write_bytes, int is_eof, grpc_transport_one_way_stats *stats, grpc_slice_buffer *outbuf)
 
grpc_error_handle grpc_deframe_unprocessed_incoming_frames (grpc_chttp2_data_parser *p, grpc_chttp2_stream *s, grpc_slice_buffer *slices, grpc_slice *slice_out, grpc_core::OrphanablePtr< grpc_core::ByteStream > *stream_out)
 

Enumeration Type Documentation

◆ grpc_chttp2_stream_state

Enumerator
GRPC_CHTTP2_DATA_FH_0 
GRPC_CHTTP2_DATA_FH_1 
GRPC_CHTTP2_DATA_FH_2 
GRPC_CHTTP2_DATA_FH_3 
GRPC_CHTTP2_DATA_FH_4 
GRPC_CHTTP2_DATA_FRAME 
GRPC_CHTTP2_DATA_ERROR 

Function Documentation

◆ grpc_chttp2_data_parser_begin_frame()

grpc_error_handle grpc_chttp2_data_parser_begin_frame ( grpc_chttp2_data_parser parser,
uint8_t  flags,
uint32_t  stream_id,
grpc_chttp2_stream s 
)

◆ grpc_chttp2_data_parser_parse()

grpc_error_handle grpc_chttp2_data_parser_parse ( void *  parser,
grpc_chttp2_transport t,
grpc_chttp2_stream s,
const grpc_slice slice,
int  is_last 
)

◆ grpc_chttp2_encode_data()

void grpc_chttp2_encode_data ( uint32_t  id,
grpc_slice_buffer inbuf,
uint32_t  write_bytes,
int  is_eof,
grpc_transport_one_way_stats stats,
grpc_slice_buffer outbuf 
)

◆ grpc_deframe_unprocessed_incoming_frames()

grpc_error_handle grpc_deframe_unprocessed_incoming_frames ( grpc_chttp2_data_parser p,
grpc_chttp2_stream s,
grpc_slice_buffer slices,
grpc_slice slice_out,
grpc_core::OrphanablePtr< grpc_core::ByteStream > *  stream_out 
)