From 7afa666d2f0bff9e87ab36d2d6945236eabed363 Mon Sep 17 00:00:00 2001 From: David Garcia Quintas Date: Thu, 3 Sep 2015 09:45:14 -0700 Subject: [PATCH] Regenerated doxygen after #3227 --- doc/ref/c++.internal/html/annotated.html | 227 ++-- .../html/async__generic__service_8cc.html | 6 +- .../html/async__generic__service_8h.html | 12 +- .../async__generic__service_8h_source.html | 34 +- .../html/async__stream_8h.html} | 50 +- .../html/async__stream_8h_source.html | 598 +++++++++ .../html/async__unary__call_8h.html | 14 +- .../html/async__unary__call_8h_source.html | 79 +- .../c++.internal/html/auth__context_8h.html | 29 +- .../html/auth__context_8h_source.html | 138 +- .../html/auth__metadata__processor_8h.html} | 24 +- .../auth__metadata__processor_8h_source.html} | 118 +- .../html/auth__property__iterator_8cc.html | 6 +- .../c++.internal/html/byte__buffer_8cc.html | 6 +- .../c++.internal/html/byte__buffer_8h.html | 15 +- .../html/byte__buffer_8h_source.html | 140 +- doc/ref/c++.internal/html/call_8cc.html | 12 +- doc/ref/c++.internal/html/call_8h.html | 24 +- doc/ref/c++.internal/html/call_8h_source.html | 1131 ++++++++-------- doc/ref/c++.internal/html/channel_8cc.html | 30 +- doc/ref/c++.internal/html/channel_8h.html | 28 +- .../c++.internal/html/channel_8h_source.html | 177 ++- .../html/channel__arguments_8cc.html | 6 +- .../html/channel__arguments_8h.html | 11 +- .../html/channel__arguments_8h_source.html | 93 +- .../html/channel__interface_8h_source.html | 175 --- .../html/class_grpc_buffer_reader.html | 4 +- .../html/class_grpc_buffer_writer.html | 4 +- doc/ref/c++.internal/html/classes.html | 88 +- .../classgrpc_1_1_async_generic_service.html | 6 +- .../classgrpc_1_1_async_reader_interface.html | 35 +- .../classgrpc_1_1_async_writer_interface.html | 34 +- .../classgrpc_1_1_asynchronous_service.html | 4 +- .../html/classgrpc_1_1_auth_context.html | 248 +++- ...lassgrpc_1_1_auth_metadata_processor.html} | 133 +- ...auth_metadata_processor_aync_wrapper.html} | 97 +- .../classgrpc_1_1_auth_property_iterator.html | 12 +- .../classgrpc_1_1_bidi_streaming_handler.html | 4 +- .../html/classgrpc_1_1_byte_buffer.html | 36 +- .../c++.internal/html/classgrpc_1_1_call.html | 4 +- .../html/classgrpc_1_1_call_hook.html | 6 +- .../html/classgrpc_1_1_call_no_op.html | 4 +- ...ssgrpc_1_1_call_op_client_recv_status.html | 4 +- ...assgrpc_1_1_call_op_client_send_close.html | 4 +- ...grpc_1_1_call_op_generic_recv_message.html | 4 +- ...v_message_helper_1_1_deserialize_func.html | 4 +- ...sage_helper_1_1_deserialize_func_type.html | 4 +- ...rpc_1_1_call_op_recv_initial_metadata.html | 4 +- .../classgrpc_1_1_call_op_recv_message.html | 14 +- ...rpc_1_1_call_op_send_initial_metadata.html | 4 +- .../classgrpc_1_1_call_op_send_message.html | 4 +- ...ssgrpc_1_1_call_op_server_send_status.html | 4 +- .../html/classgrpc_1_1_call_op_set.html | 6 +- .../classgrpc_1_1_call_op_set_interface.html | 10 +- .../html/classgrpc_1_1_channel.html | 395 +++++- .../html/classgrpc_1_1_channel_arguments.html | 35 +- .../classgrpc_1_1_client_async_reader.html | 54 +- ...rpc_1_1_client_async_reader_interface.html | 11 +- ...ssgrpc_1_1_client_async_reader_writer.html | 68 +- ..._client_async_reader_writer_interface.html | 31 +- ...grpc_1_1_client_async_response_reader.html | 21 +- ...lient_async_response_reader_interface.html | 6 +- ..._1_1_client_async_streaming_interface.html | 35 +- .../classgrpc_1_1_client_async_writer.html | 59 +- ...rpc_1_1_client_async_writer_interface.html | 30 +- .../html/classgrpc_1_1_client_context.html | 194 ++- .../html/classgrpc_1_1_client_reader.html | 48 +- ...classgrpc_1_1_client_reader_interface.html | 24 +- .../classgrpc_1_1_client_reader_writer.html | 61 +- ...pc_1_1_client_reader_writer_interface.html | 30 +- ...lassgrpc_1_1_client_streaming_handler.html | 4 +- ...ssgrpc_1_1_client_streaming_interface.html | 24 +- .../html/classgrpc_1_1_client_writer.html | 43 +- ...classgrpc_1_1_client_writer_interface.html | 26 +- .../html/classgrpc_1_1_completion_queue.html | 97 +- .../classgrpc_1_1_completion_queue_tag.html | 13 +- .../html/classgrpc_1_1_credentials.html | 40 +- .../classgrpc_1_1_dynamic_thread_pool.html | 6 +- .../classgrpc_1_1_fixed_size_thread_pool.html | 6 +- .../classgrpc_1_1_generic_server_context.html | 15 +- .../html/classgrpc_1_1_generic_stub.html | 14 +- .../html/classgrpc_1_1_grpc_library.html | 4 +- .../html/classgrpc_1_1_method_handler.html | 6 +- .../classgrpc_1_1_propagation_options.html | 371 ++++++ .../html/classgrpc_1_1_reader_interface.html | 29 +- .../html/classgrpc_1_1_rpc_method.html | 50 +- .../classgrpc_1_1_rpc_method_handler.html | 4 +- .../html/classgrpc_1_1_rpc_service.html | 4 +- .../classgrpc_1_1_rpc_service_method.html | 10 +- .../classgrpc_1_1_secure_auth_context.html | 160 ++- .../classgrpc_1_1_secure_credentials.html | 16 +- ...assgrpc_1_1_secure_server_credentials.html | 36 +- .../classgrpc_1_1_serialization_traits.html | 8 +- ...raits_3_01_byte_buffer_00_01void_01_4.html | 6 +- ...base_42903f95c85f031c7724191271564901.html | 4 +- .../html/classgrpc_1_1_server.html | 72 +- ...sgrpc_1_1_server_1_1_shutdown_request.html | 4 +- ...classgrpc_1_1_server_1_1_sync_request.html | 52 +- ...server_1_1_sync_request_1_1_call_data.html | 4 +- ...erver_1_1_unimplemented_async_request.html | 248 ++++ ..._unimplemented_async_request_context.html} | 65 +- ...rver_1_1_unimplemented_async_response.html | 216 +++ .../classgrpc_1_1_server_async_reader.html | 17 +- ...ssgrpc_1_1_server_async_reader_writer.html | 78 +- ...grpc_1_1_server_async_response_writer.html | 11 +- ..._1_1_server_async_streaming_interface.html | 6 +- .../classgrpc_1_1_server_async_writer.html | 16 +- .../html/classgrpc_1_1_server_builder.html | 67 +- ...classgrpc_1_1_server_completion_queue.html | 20 +- .../html/classgrpc_1_1_server_context.html | 93 +- ..._1_1_server_context_1_1_completion_op.html | 30 +- .../classgrpc_1_1_server_credentials.html | 35 +- .../html/classgrpc_1_1_server_reader.html | 17 +- .../classgrpc_1_1_server_reader_writer.html | 39 +- ...lassgrpc_1_1_server_streaming_handler.html | 4 +- .../html/classgrpc_1_1_server_writer.html | 18 +- .../html/classgrpc_1_1_slice.html | 38 +- .../classgrpc_1_1_sneaky_call_op_set.html | 6 +- .../html/classgrpc_1_1_status.html | 35 +- .../html/classgrpc_1_1_stub_options.html | 107 ++ .../classgrpc_1_1_synchronous_service.html | 4 +- .../classgrpc_1_1_thread_pool_interface.html | 6 +- .../html/classgrpc_1_1_time_point.html | 6 +- ...1_1_time_point_3_01gpr__timespec_01_4.html | 6 +- ..._1_1system__clock_1_1time__point_01_4.html | 6 +- ...classgrpc_1_1_unknown_method_handler.html} | 90 +- .../html/classgrpc_1_1_write_options.html | 4 +- .../html/classgrpc_1_1_writer_interface.html | 39 +- .../classgrpc_1_1condition__variable.html | 4 +- .../html/classgrpc_1_1lock__guard.html | 4 +- .../c++.internal/html/classgrpc_1_1mutex.html | 4 +- .../html/classgrpc_1_1string__ref.html | 777 +++++++++++ .../html/classgrpc_1_1thread.html | 4 +- .../html/classgrpc_1_1unique__lock.html | 4 +- .../html/client__context_8cc.html | 9 +- .../c++.internal/html/client__context_8h.html | 19 +- .../html/client__context_8h_source.html | 438 ++++--- .../html/client__unary__call_8h.html | 16 +- .../html/client__unary__call_8h_source.html | 112 +- .../html/completion__queue_8cc.html | 6 +- .../html/completion__queue_8h.html | 16 +- .../html/completion__queue_8h_source.html | 320 +++-- doc/ref/c++.internal/html/config_8h.html | 8 +- .../c++.internal/html/config_8h_source.html | 14 +- .../html/config__protobuf_8h.html | 8 +- .../html/config__protobuf_8h_source.html | 14 +- .../html/create__auth__context_8h.html | 6 +- .../html/create__auth__context_8h_source.html | 6 +- .../html/create__channel_8cc.html | 18 +- .../c++.internal/html/create__channel_8h.html | 17 +- .../html/create__channel_8h_source.html | 39 +- ...tml => create__channel__internal_8cc.html} | 19 +- .../html/create__channel__internal_8h.html | 118 ++ .../create__channel__internal_8h_source.html} | 50 +- .../create__default__thread__pool_8cc.html | 6 +- .../c++.internal/html/credentials_8cc.html | 6 +- doc/ref/c++.internal/html/credentials_8h.html | 35 +- .../html/credentials_8h_source.html | 205 ++- .../dir_0b10d04e5d7dad9a62c383a9247be3d1.html | 10 +- .../dir_19df79a805b4861569a906876c7b9634.html | 102 ++ .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 4 +- .../dir_799bce05d9e8d02e411cbb271f1d27d0.html | 4 +- ...dir_7d74774c8f3e0db94d40932630f431b6.html} | 40 +- .../dir_9054dff79f4aef5611b5dbb47b540bd9.html | 6 +- .../dir_9b13ffd429196d74948b03440343f0b3.html | 12 +- .../dir_ac8b245a5921095c43c106649fd7bc4b.html | 6 +- .../dir_b3f05bce718e375cbe64ccd78910fb7d.html | 124 ++ .../dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- .../dir_dfdbda394c3f7a3aa55229f33a559c41.html | 4 +- .../dir_f1b2ab2a88927c1e950e43c1cf4b634b.html | 50 +- .../dir_fdeab67c13c4581d892d240a87ff1c87.html | 4 +- .../html/dynamic__thread__pool_8cc.html | 6 +- .../html/dynamic__thread__pool_8h.html | 18 +- .../html/dynamic__thread__pool_8h_source.html | 87 +- doc/ref/c++.internal/html/files.html | 136 +- .../html/fixed__size__thread__pool_8cc.html | 6 +- .../html/fixed__size__thread__pool_8h.html | 16 +- .../fixed__size__thread__pool_8h_source.html | 32 +- doc/ref/c++.internal/html/functions.html | 41 +- doc/ref/c++.internal/html/functions_a.html | 21 +- doc/ref/c++.internal/html/functions_b.html | 14 +- doc/ref/c++.internal/html/functions_c.html | 75 +- doc/ref/c++.internal/html/functions_d.html | 24 +- doc/ref/c++.internal/html/functions_e.html | 25 +- doc/ref/c++.internal/html/functions_enum.html | 5 +- doc/ref/c++.internal/html/functions_eval.html | 5 +- doc/ref/c++.internal/html/functions_f.html | 19 +- doc/ref/c++.internal/html/functions_func.html | 19 +- .../c++.internal/html/functions_func_b.html | 7 +- .../c++.internal/html/functions_func_c.html | 59 +- .../c++.internal/html/functions_func_d.html | 24 +- .../c++.internal/html/functions_func_e.html | 25 +- .../c++.internal/html/functions_func_f.html | 19 +- .../c++.internal/html/functions_func_g.html | 19 +- .../c++.internal/html/functions_func_h.html | 6 +- .../c++.internal/html/functions_func_i.html | 14 +- .../c++.internal/html/functions_func_j.html | 6 +- .../c++.internal/html/functions_func_l.html | 9 +- .../c++.internal/html/functions_func_m.html | 9 +- .../c++.internal/html/functions_func_n.html | 9 +- .../c++.internal/html/functions_func_o.html | 7 +- .../c++.internal/html/functions_func_p.html | 14 +- .../c++.internal/html/functions_func_r.html | 23 +- .../c++.internal/html/functions_func_s.html | 42 +- .../c++.internal/html/functions_func_t.html | 9 +- .../c++.internal/html/functions_func_u.html | 15 +- .../c++.internal/html/functions_func_w.html | 11 +- .../c++.internal/html/functions_func_x.html | 141 ++ .../c++.internal/html/functions_func_~.html | 20 +- doc/ref/c++.internal/html/functions_g.html | 22 +- doc/ref/c++.internal/html/functions_h.html | 6 +- doc/ref/c++.internal/html/functions_i.html | 17 +- doc/ref/c++.internal/html/functions_j.html | 6 +- doc/ref/c++.internal/html/functions_l.html | 9 +- doc/ref/c++.internal/html/functions_m.html | 9 +- doc/ref/c++.internal/html/functions_n.html | 12 +- doc/ref/c++.internal/html/functions_o.html | 10 +- doc/ref/c++.internal/html/functions_p.html | 14 +- doc/ref/c++.internal/html/functions_r.html | 21 +- doc/ref/c++.internal/html/functions_rela.html | 63 +- doc/ref/c++.internal/html/functions_s.html | 49 +- doc/ref/c++.internal/html/functions_t.html | 9 +- doc/ref/c++.internal/html/functions_type.html | 119 ++ doc/ref/c++.internal/html/functions_u.html | 19 +- doc/ref/c++.internal/html/functions_vars.html | 14 +- doc/ref/c++.internal/html/functions_w.html | 11 +- doc/ref/c++.internal/html/functions_x.html | 142 ++ doc/ref/c++.internal/html/functions_~.html | 20 +- .../c++.internal/html/generic__stub_8cc.html | 6 +- .../c++.internal/html/generic__stub_8h.html | 12 +- .../html/generic__stub_8h_source.html | 55 +- doc/ref/c++.internal/html/globals.html | 7 +- doc/ref/c++.internal/html/globals_defs.html | 4 +- doc/ref/c++.internal/html/globals_vars.html | 7 +- doc/ref/c++.internal/html/graph_legend.html | 4 +- .../c++.internal/html/grpc__library_8h.html | 4 +- .../html/grpc__library_8h_source.html | 7 +- doc/ref/c++.internal/html/hierarchy.html | 504 +++---- doc/ref/c++.internal/html/index.html | 4 +- .../html/insecure__credentials_8cc.html | 16 +- .../insecure__server__credentials_8cc.html | 8 +- .../html/internal__stub_8h_source.html | 163 --- doc/ref/c++.internal/html/namespacegrpc.html | 597 +++++++-- ...1_call_op_generic_recv_message_helper.html | 4 +- .../html/namespacegrpc_1_1protobuf.html | 4 +- .../html/namespacegrpc_1_1protobuf_1_1io.html | 4 +- .../html/namespacegrpc_1_1testing.html | 4 +- .../c++.internal/html/namespacemembers.html | 63 +- .../html/namespacemembers_enum.html | 4 +- .../html/namespacemembers_eval.html | 4 +- .../html/namespacemembers_func.html | 108 +- .../html/namespacemembers_type.html | 9 +- doc/ref/c++.internal/html/namespaces.html | 4 +- .../c++.internal/html/proto__utils_8cc.html | 6 +- .../c++.internal/html/proto__utils_8h.html | 8 +- .../html/proto__utils_8h_source.html | 10 +- .../c++.internal/html/rpc__method_8cc.html | 4 +- doc/ref/c++.internal/html/rpc__method_8h.html | 8 +- .../html/rpc__method_8h_source.html | 84 +- .../html/rpc__service__method_8h.html | 12 +- .../html/rpc__service__method_8h_source.html | 141 +- doc/ref/c++.internal/html/search/all_0.js | 21 +- doc/ref/c++.internal/html/search/all_1.js | 15 +- doc/ref/c++.internal/html/search/all_10.js | 5 +- doc/ref/c++.internal/html/search/all_11.js | 14 +- doc/ref/c++.internal/html/search/all_12.js | 45 +- doc/ref/c++.internal/html/search/all_13.js | 2 + doc/ref/c++.internal/html/search/all_14.js | 9 + doc/ref/c++.internal/html/search/all_15.js | 7 +- doc/ref/c++.internal/html/search/all_16.js | 4 +- doc/ref/c++.internal/html/search/all_17.js | 44 +- .../html/search/all_18.html} | 2 +- doc/ref/c++.internal/html/search/all_18.js | 45 + doc/ref/c++.internal/html/search/all_2.js | 4 +- doc/ref/c++.internal/html/search/all_3.js | 49 +- doc/ref/c++.internal/html/search/all_4.js | 10 +- doc/ref/c++.internal/html/search/all_5.js | 8 +- doc/ref/c++.internal/html/search/all_6.js | 16 +- doc/ref/c++.internal/html/search/all_7.js | 13 +- doc/ref/c++.internal/html/search/all_9.js | 10 +- doc/ref/c++.internal/html/search/all_c.js | 2 +- doc/ref/c++.internal/html/search/all_d.js | 1 + doc/ref/c++.internal/html/search/all_e.js | 4 +- doc/ref/c++.internal/html/search/all_f.js | 14 +- doc/ref/c++.internal/html/search/classes_0.js | 4 + doc/ref/c++.internal/html/search/classes_2.js | 3 +- doc/ref/c++.internal/html/search/classes_7.js | 2 +- doc/ref/c++.internal/html/search/classes_8.js | 3 +- doc/ref/c++.internal/html/search/classes_9.js | 4 +- doc/ref/c++.internal/html/search/classes_a.js | 6 +- doc/ref/c++.internal/html/search/classes_b.js | 37 +- doc/ref/c++.internal/html/search/classes_c.js | 34 +- doc/ref/c++.internal/html/search/classes_d.js | 10 +- doc/ref/c++.internal/html/search/classes_e.js | 3 +- doc/ref/c++.internal/html/search/classes_f.js | 5 - doc/ref/c++.internal/html/search/files_0.js | 5 +- doc/ref/c++.internal/html/search/files_2.js | 3 +- doc/ref/c++.internal/html/search/files_6.js | 4 +- doc/ref/c++.internal/html/search/files_9.js | 7 +- .../c++.internal/html/search/functions_0.js | 4 + .../c++.internal/html/search/functions_1.js | 4 +- .../c++.internal/html/search/functions_10.js | 20 +- .../c++.internal/html/search/functions_11.js | 1 + .../c++.internal/html/search/functions_12.js | 3 + .../c++.internal/html/search/functions_13.js | 7 +- .../c++.internal/html/search/functions_14.js | 44 +- .../html/search/functions_15.html | 26 + .../c++.internal/html/search/functions_15.js | 45 + .../c++.internal/html/search/functions_2.js | 34 +- .../c++.internal/html/search/functions_3.js | 8 +- .../c++.internal/html/search/functions_4.js | 8 +- .../c++.internal/html/search/functions_5.js | 16 +- .../c++.internal/html/search/functions_6.js | 12 +- .../c++.internal/html/search/functions_8.js | 6 +- .../c++.internal/html/search/functions_a.js | 2 +- .../c++.internal/html/search/functions_b.js | 1 + .../c++.internal/html/search/functions_c.js | 3 +- .../c++.internal/html/search/functions_d.js | 11 +- .../c++.internal/html/search/functions_e.js | 4 +- .../c++.internal/html/search/functions_f.js | 12 +- doc/ref/c++.internal/html/search/related_0.js | 21 +- doc/ref/c++.internal/html/search/related_2.js | 2 +- doc/ref/c++.internal/html/search/related_3.js | 3 +- .../search/{classes_f.html => related_8.html} | 2 +- doc/ref/c++.internal/html/search/related_8.js | 4 + doc/ref/c++.internal/html/search/search.js | 12 +- .../c++.internal/html/search/typedefs_0.js | 2 +- .../c++.internal/html/search/typedefs_1.js | 4 +- .../c++.internal/html/search/typedefs_3.js | 1 + .../c++.internal/html/search/typedefs_5.js | 2 +- .../c++.internal/html/search/typedefs_6.js | 3 +- .../c++.internal/html/search/typedefs_7.html | 26 + .../c++.internal/html/search/typedefs_7.js | 4 + .../c++.internal/html/search/typedefs_8.html | 26 + .../c++.internal/html/search/typedefs_8.js | 5 + .../c++.internal/html/search/variables_2.js | 1 + .../c++.internal/html/search/variables_6.js | 2 +- .../c++.internal/html/search/variables_7.js | 6 +- .../c++.internal/html/search/variables_8.js | 6 +- .../c++.internal/html/search/variables_9.js | 3 +- .../c++.internal/html/search/variables_a.html | 26 + .../c++.internal/html/search/variables_a.js | 6 + .../c++.internal/html/search/variables_b.html | 26 + .../c++.internal/html/search/variables_b.js | 4 + .../html/secure__auth__context_8cc.html | 4 +- .../html/secure__auth__context_8h.html | 6 +- .../html/secure__auth__context_8h_source.html | 67 +- .../html/secure__channel__arguments_8cc.html | 6 +- .../secure__create__auth__context_8cc.html | 6 +- .../html/secure__credentials_8cc.html | 32 +- .../html/secure__credentials_8h.html | 8 +- .../html/secure__credentials_8h_source.html | 19 +- .../html/secure__server__credentials_8cc.html | 12 +- .../html/secure__server__credentials_8h.html | 12 +- ...secure__server__credentials_8h_source.html | 89 +- .../html/serialization__traits_8h.html | 4 +- .../html/serialization__traits_8h_source.html | 4 +- doc/ref/c++.internal/html/server_8cc.html | 28 +- doc/ref/c++.internal/html/server_8h.html | 10 +- .../c++.internal/html/server_8h_source.html | 444 ++++--- .../html/server__builder_8cc.html | 7 +- .../c++.internal/html/server__builder_8h.html | 7 +- .../html/server__builder_8h_source.html | 158 +-- .../html/server__context_8cc.html | 6 +- .../c++.internal/html/server__context_8h.html | 13 +- .../html/server__context_8h_source.html | 352 ++--- .../html/server__credentials_8cc.html | 6 +- .../html/server__credentials_8h.html | 14 +- .../html/server__credentials_8h_source.html | 119 +- .../c++.internal/html/service__type_8h.html | 10 +- .../html/service__type_8h_source.html | 24 +- doc/ref/c++.internal/html/slice_8cc.html | 6 +- doc/ref/c++.internal/html/slice_8h.html | 11 +- .../c++.internal/html/slice_8h_source.html | 99 +- doc/ref/c++.internal/html/status_8cc.html | 6 +- doc/ref/c++.internal/html/status_8h.html | 13 +- .../c++.internal/html/status_8h_source.html | 80 +- .../html/status__code__enum_8h.html | 8 +- .../html/status__code__enum_8h_source.html | 198 +-- .../c++.internal/html/stream_8h_source.html | 994 -------------- .../html/string__ref_8cc.html} | 41 +- ...__iterator_8h.html => string__ref_8h.html} | 42 +- .../html/string__ref_8h_source.html | 251 ++++ ..._method_handler_1_1_handler_parameter.html | 4 +- ...tructgrpc_1_1_ssl_credentials_options.html | 25 +- ...pc_1_1_ssl_server_credentials_options.html | 13 +- ...entials_options_1_1_pem_key_cert_pair.html | 6 +- .../html/stub__options_8h.html} | 19 +- .../html/stub__options_8h_source.html} | 36 +- doc/ref/c++.internal/html/sync_8h.html | 6 +- doc/ref/c++.internal/html/sync_8h_source.html | 6 +- doc/ref/c++.internal/html/sync__cxx11_8h.html | 4 +- .../html/sync__cxx11_8h_source.html | 4 +- .../c++.internal/html/sync__no__cxx11_8h.html | 4 +- .../html/sync__no__cxx11_8h_source.html | 142 +- .../c++.internal/html/sync__stream_8h.html | 153 +++ .../html/sync__stream_8h_source.html | 529 ++++++++ doc/ref/c++.internal/html/thd_8h.html | 6 +- doc/ref/c++.internal/html/thd_8h_source.html | 6 +- doc/ref/c++.internal/html/thd__cxx11_8h.html | 4 +- .../html/thd__cxx11_8h_source.html | 4 +- .../c++.internal/html/thd__no__cxx11_8h.html | 4 +- .../html/thd__no__cxx11_8h_source.html | 111 +- .../html/thread__pool__interface_8h.html | 8 +- .../thread__pool__interface_8h_source.html | 16 +- doc/ref/c++.internal/html/time_8cc.html | 8 +- doc/ref/c++.internal/html/time_8h.html | 10 +- doc/ref/c++.internal/html/time_8h_source.html | 16 +- doc/ref/c++/html/annotated.html | 189 +-- .../c++/html/async__generic__service_8h.html | 12 +- .../async__generic__service_8h_source.html | 34 +- .../html/async__stream_8h.html} | 50 +- doc/ref/c++/html/async__stream_8h_source.html | 598 +++++++++ doc/ref/c++/html/async__unary__call_8h.html | 14 +- .../html/async__unary__call_8h_source.html | 79 +- doc/ref/c++/html/auth__context_8h.html | 29 +- doc/ref/c++/html/auth__context_8h_source.html | 138 +- .../html/auth__metadata__processor_8h.html} | 20 +- ... auth__metadata__processor_8h_source.html} | 116 +- doc/ref/c++/html/byte__buffer_8h.html | 15 +- doc/ref/c++/html/byte__buffer_8h_source.html | 140 +- doc/ref/c++/html/call_8h.html | 24 +- doc/ref/c++/html/call_8h_source.html | 1131 ++++++++-------- doc/ref/c++/html/channel_8h.html | 136 ++ doc/ref/c++/html/channel_8h_source.html | 263 ++++ doc/ref/c++/html/channel__arguments_8h.html | 11 +- .../html/channel__arguments_8h_source.html | 93 +- .../html/channel__interface_8h_source.html | 175 --- doc/ref/c++/html/classes.html | 78 +- .../classgrpc_1_1_async_generic_service.html | 6 +- .../classgrpc_1_1_async_reader_interface.html | 29 +- .../classgrpc_1_1_async_writer_interface.html | 28 +- .../classgrpc_1_1_asynchronous_service.html | 4 +- .../c++/html/classgrpc_1_1_auth_context.html | 238 +++- ...lassgrpc_1_1_auth_metadata_processor.html} | 129 +- .../classgrpc_1_1_auth_property_iterator.html | 12 +- .../classgrpc_1_1_bidi_streaming_handler.html | 4 +- .../c++/html/classgrpc_1_1_byte_buffer.html | 36 +- doc/ref/c++/html/classgrpc_1_1_call.html | 4 +- doc/ref/c++/html/classgrpc_1_1_call_hook.html | 4 +- .../c++/html/classgrpc_1_1_call_no_op.html | 4 +- ...ssgrpc_1_1_call_op_client_recv_status.html | 4 +- ...assgrpc_1_1_call_op_client_send_close.html | 4 +- ...grpc_1_1_call_op_generic_recv_message.html | 4 +- ...v_message_helper_1_1_deserialize_func.html | 4 +- ...sage_helper_1_1_deserialize_func_type.html | 4 +- ...rpc_1_1_call_op_recv_initial_metadata.html | 4 +- .../classgrpc_1_1_call_op_recv_message.html | 4 +- ...rpc_1_1_call_op_send_initial_metadata.html | 4 +- .../classgrpc_1_1_call_op_send_message.html | 4 +- ...ssgrpc_1_1_call_op_server_send_status.html | 4 +- .../c++/html/classgrpc_1_1_call_op_set.html | 4 +- .../classgrpc_1_1_call_op_set_interface.html | 8 +- doc/ref/c++/html/classgrpc_1_1_channel.html | 560 ++++++++ .../html/classgrpc_1_1_channel_arguments.html | 35 +- .../classgrpc_1_1_client_async_reader.html | 54 +- ...rpc_1_1_client_async_reader_interface.html | 11 +- ...ssgrpc_1_1_client_async_reader_writer.html | 68 +- ..._client_async_reader_writer_interface.html | 31 +- ...grpc_1_1_client_async_response_reader.html | 21 +- ...lient_async_response_reader_interface.html | 6 +- ..._1_1_client_async_streaming_interface.html | 35 +- .../classgrpc_1_1_client_async_writer.html | 59 +- ...rpc_1_1_client_async_writer_interface.html | 30 +- .../html/classgrpc_1_1_client_context.html | 196 ++- .../c++/html/classgrpc_1_1_client_reader.html | 48 +- ...classgrpc_1_1_client_reader_interface.html | 24 +- .../classgrpc_1_1_client_reader_writer.html | 61 +- ...pc_1_1_client_reader_writer_interface.html | 30 +- ...lassgrpc_1_1_client_streaming_handler.html | 4 +- ...ssgrpc_1_1_client_streaming_interface.html | 24 +- .../c++/html/classgrpc_1_1_client_writer.html | 43 +- ...classgrpc_1_1_client_writer_interface.html | 26 +- .../html/classgrpc_1_1_completion_queue.html | 97 +- .../classgrpc_1_1_completion_queue_tag.html | 11 +- .../c++/html/classgrpc_1_1_credentials.html | 40 +- .../classgrpc_1_1_generic_server_context.html | 15 +- .../c++/html/classgrpc_1_1_generic_stub.html | 14 +- .../c++/html/classgrpc_1_1_grpc_library.html | 4 +- .../html/classgrpc_1_1_method_handler.html | 6 +- .../classgrpc_1_1_propagation_options.html | 371 ++++++ .../html/classgrpc_1_1_reader_interface.html | 29 +- .../c++/html/classgrpc_1_1_rpc_method.html | 50 +- .../classgrpc_1_1_rpc_method_handler.html | 4 +- .../c++/html/classgrpc_1_1_rpc_service.html | 4 +- .../classgrpc_1_1_rpc_service_method.html | 10 +- .../classgrpc_1_1_serialization_traits.html | 8 +- ...raits_3_01_byte_buffer_00_01void_01_4.html | 6 +- ...base_42903f95c85f031c7724191271564901.html | 4 +- doc/ref/c++/html/classgrpc_1_1_server.html | 66 +- .../classgrpc_1_1_server_async_reader.html | 17 +- ...ssgrpc_1_1_server_async_reader_writer.html | 68 +- ...grpc_1_1_server_async_response_writer.html | 11 +- ..._1_1_server_async_streaming_interface.html | 4 +- .../classgrpc_1_1_server_async_writer.html | 16 +- .../html/classgrpc_1_1_server_builder.html | 67 +- ...classgrpc_1_1_server_completion_queue.html | 20 +- .../html/classgrpc_1_1_server_context.html | 93 +- .../classgrpc_1_1_server_credentials.html | 33 +- .../c++/html/classgrpc_1_1_server_reader.html | 17 +- .../classgrpc_1_1_server_reader_writer.html | 39 +- ...lassgrpc_1_1_server_streaming_handler.html | 4 +- .../c++/html/classgrpc_1_1_server_writer.html | 18 +- doc/ref/c++/html/classgrpc_1_1_slice.html | 38 +- .../classgrpc_1_1_sneaky_call_op_set.html | 4 +- doc/ref/c++/html/classgrpc_1_1_status.html | 35 +- .../c++/html/classgrpc_1_1_stub_options.html | 107 ++ .../classgrpc_1_1_synchronous_service.html | 4 +- .../classgrpc_1_1_thread_pool_interface.html | 168 --- .../c++/html/classgrpc_1_1_time_point.html | 6 +- ...1_1_time_point_3_01gpr__timespec_01_4.html | 6 +- ..._1_1system__clock_1_1time__point_01_4.html | 6 +- ...classgrpc_1_1_unknown_method_handler.html} | 89 +- .../c++/html/classgrpc_1_1_write_options.html | 4 +- .../html/classgrpc_1_1_writer_interface.html | 39 +- .../classgrpc_1_1condition__variable.html | 4 +- .../c++/html/classgrpc_1_1lock__guard.html | 4 +- doc/ref/c++/html/classgrpc_1_1mutex.html | 4 +- .../c++/html/classgrpc_1_1string__ref.html | 776 +++++++++++ doc/ref/c++/html/classgrpc_1_1thread.html | 4 +- .../c++/html/classgrpc_1_1unique__lock.html | 4 +- doc/ref/c++/html/client__context_8h.html | 19 +- .../c++/html/client__context_8h_source.html | 434 +++--- doc/ref/c++/html/client__unary__call_8h.html | 16 +- .../html/client__unary__call_8h_source.html | 112 +- doc/ref/c++/html/completion__queue_8h.html | 16 +- .../c++/html/completion__queue_8h_source.html | 320 +++-- doc/ref/c++/html/config_8h.html | 8 +- doc/ref/c++/html/config_8h_source.html | 14 +- doc/ref/c++/html/config__protobuf_8h.html | 8 +- .../c++/html/config__protobuf_8h_source.html | 14 +- doc/ref/c++/html/create__channel_8h.html | 17 +- .../c++/html/create__channel_8h_source.html | 39 +- doc/ref/c++/html/credentials_8h.html | 35 +- doc/ref/c++/html/credentials_8h_source.html | 205 ++- .../dir_19df79a805b4861569a906876c7b9634.html | 102 ++ .../dir_7d74774c8f3e0db94d40932630f431b6.html | 106 ++ .../dir_ac8b245a5921095c43c106649fd7bc4b.html | 6 +- .../dir_b3f05bce718e375cbe64ccd78910fb7d.html | 124 ++ .../dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- .../dir_f1b2ab2a88927c1e950e43c1cf4b634b.html | 50 +- .../c++/html/dynamic__thread__pool_8h.html | 123 -- doc/ref/c++/html/files.html | 90 +- .../fixed__size__thread__pool_8h_source.html | 180 --- doc/ref/c++/html/functions.html | 41 +- doc/ref/c++/html/functions_a.html | 17 +- doc/ref/c++/html/functions_b.html | 12 +- doc/ref/c++/html/functions_c.html | 59 +- doc/ref/c++/html/functions_d.html | 24 +- doc/ref/c++/html/functions_e.html | 25 +- doc/ref/c++/html/functions_enum.html | 5 +- doc/ref/c++/html/functions_eval.html | 5 +- doc/ref/c++/html/functions_f.html | 18 +- doc/ref/c++/html/functions_func.html | 19 +- doc/ref/c++/html/functions_func_b.html | 7 +- doc/ref/c++/html/functions_func_c.html | 49 +- doc/ref/c++/html/functions_func_d.html | 24 +- doc/ref/c++/html/functions_func_e.html | 25 +- doc/ref/c++/html/functions_func_f.html | 18 +- doc/ref/c++/html/functions_func_g.html | 17 +- doc/ref/c++/html/functions_func_h.html | 6 +- doc/ref/c++/html/functions_func_i.html | 13 +- doc/ref/c++/html/functions_func_j.html | 6 +- doc/ref/c++/html/functions_func_l.html | 9 +- doc/ref/c++/html/functions_func_m.html | 9 +- doc/ref/c++/html/functions_func_n.html | 9 +- doc/ref/c++/html/functions_func_o.html | 7 +- doc/ref/c++/html/functions_func_p.html | 12 +- doc/ref/c++/html/functions_func_r.html | 20 +- doc/ref/c++/html/functions_func_s.html | 34 +- doc/ref/c++/html/functions_func_t.html | 9 +- doc/ref/c++/html/functions_func_u.html | 6 +- doc/ref/c++/html/functions_func_w.html | 13 +- doc/ref/c++/html/functions_func_x.html | 141 ++ doc/ref/c++/html/functions_func_~.html | 27 +- doc/ref/c++/html/functions_g.html | 17 +- doc/ref/c++/html/functions_h.html | 6 +- doc/ref/c++/html/functions_i.html | 16 +- doc/ref/c++/html/functions_j.html | 6 +- doc/ref/c++/html/functions_l.html | 9 +- doc/ref/c++/html/functions_m.html | 9 +- doc/ref/c++/html/functions_n.html | 12 +- doc/ref/c++/html/functions_o.html | 16 +- doc/ref/c++/html/functions_p.html | 12 +- doc/ref/c++/html/functions_r.html | 20 +- doc/ref/c++/html/functions_rela.html | 63 +- doc/ref/c++/html/functions_s.html | 32 +- doc/ref/c++/html/functions_t.html | 9 +- doc/ref/c++/html/functions_type.html | 119 ++ doc/ref/c++/html/functions_u.html | 10 +- doc/ref/c++/html/functions_vars.html | 8 +- doc/ref/c++/html/functions_w.html | 13 +- doc/ref/c++/html/functions_x.html | 142 ++ doc/ref/c++/html/functions_~.html | 27 +- doc/ref/c++/html/generic__stub_8h.html | 12 +- doc/ref/c++/html/generic__stub_8h_source.html | 55 +- doc/ref/c++/html/globals.html | 4 +- doc/ref/c++/html/globals_defs.html | 4 +- doc/ref/c++/html/graph_legend.html | 4 +- doc/ref/c++/html/grpc__library_8h.html | 4 +- doc/ref/c++/html/grpc__library_8h_source.html | 7 +- doc/ref/c++/html/hierarchy.html | 364 ++--- doc/ref/c++/html/index.html | 4 +- .../c++/html/internal__stub_8h_source.html | 163 --- doc/ref/c++/html/namespacegrpc.html | 548 ++++++-- ...1_call_op_generic_recv_message_helper.html | 4 +- .../c++/html/namespacegrpc_1_1protobuf.html | 4 +- .../html/namespacegrpc_1_1protobuf_1_1io.html | 4 +- .../c++/html/namespacegrpc_1_1testing.html | 4 +- doc/ref/c++/html/namespacemembers.html | 58 +- doc/ref/c++/html/namespacemembers_enum.html | 4 +- doc/ref/c++/html/namespacemembers_eval.html | 4 +- doc/ref/c++/html/namespacemembers_func.html | 52 +- doc/ref/c++/html/namespacemembers_type.html | 6 +- doc/ref/c++/html/namespaces.html | 4 +- doc/ref/c++/html/proto__utils_8h.html | 8 +- doc/ref/c++/html/proto__utils_8h_source.html | 10 +- doc/ref/c++/html/rpc__method_8h.html | 8 +- doc/ref/c++/html/rpc__method_8h_source.html | 84 +- doc/ref/c++/html/rpc__service__method_8h.html | 12 +- .../html/rpc__service__method_8h_source.html | 141 +- doc/ref/c++/html/search/all_0.js | 21 +- doc/ref/c++/html/search/all_1.js | 15 +- doc/ref/c++/html/search/all_10.js | 14 +- doc/ref/c++/html/search/all_11.js | 24 +- doc/ref/c++/html/search/all_12.js | 5 +- doc/ref/c++/html/search/all_13.js | 2 + doc/ref/c++/html/search/all_14.js | 5 +- doc/ref/c++/html/search/all_15.js | 4 +- doc/ref/c++/html/search/all_16.js | 36 +- .../html/search/{files_a.html => all_17.html} | 2 +- doc/ref/c++/html/search/all_17.js | 34 + doc/ref/c++/html/search/all_2.js | 4 +- doc/ref/c++/html/search/all_3.js | 49 +- doc/ref/c++/html/search/all_4.js | 12 +- doc/ref/c++/html/search/all_5.js | 8 +- doc/ref/c++/html/search/all_6.js | 17 +- doc/ref/c++/html/search/all_7.js | 14 +- doc/ref/c++/html/search/all_9.js | 9 +- doc/ref/c++/html/search/all_b.js | 2 +- doc/ref/c++/html/search/all_c.js | 1 + doc/ref/c++/html/search/all_d.js | 4 +- doc/ref/c++/html/search/all_e.js | 16 +- doc/ref/c++/html/search/all_f.js | 3 + doc/ref/c++/html/search/classes_0.js | 1 + doc/ref/c++/html/search/classes_2.js | 2 +- doc/ref/c++/html/search/classes_3.js | 3 +- doc/ref/c++/html/search/classes_4.js | 4 +- doc/ref/c++/html/search/classes_5.js | 4 +- doc/ref/c++/html/search/classes_6.js | 2 +- doc/ref/c++/html/search/classes_7.js | 3 +- doc/ref/c++/html/search/classes_8.js | 3 +- doc/ref/c++/html/search/classes_9.js | 7 +- doc/ref/c++/html/search/classes_a.js | 27 +- doc/ref/c++/html/search/classes_b.js | 9 +- doc/ref/c++/html/search/classes_c.js | 26 +- doc/ref/c++/html/search/classes_d.js | 7 +- doc/ref/c++/html/search/classes_e.js | 4 - doc/ref/c++/html/search/classes_f.js | 5 - doc/ref/c++/html/search/files_0.js | 3 +- doc/ref/c++/html/search/files_2.js | 2 +- doc/ref/c++/html/search/files_3.js | 3 +- doc/ref/c++/html/search/files_4.js | 2 +- doc/ref/c++/html/search/files_5.js | 4 +- doc/ref/c++/html/search/files_6.js | 16 +- doc/ref/c++/html/search/files_7.js | 5 +- doc/ref/c++/html/search/files_8.js | 5 - doc/ref/c++/html/search/files_9.js | 16 - doc/ref/c++/html/search/files_a.js | 8 - doc/ref/c++/html/search/functions_0.js | 3 +- doc/ref/c++/html/search/functions_1.js | 4 +- doc/ref/c++/html/search/functions_10.js | 16 +- doc/ref/c++/html/search/functions_11.js | 1 + doc/ref/c++/html/search/functions_13.js | 5 +- doc/ref/c++/html/search/functions_14.js | 36 +- doc/ref/c++/html/search/functions_15.html | 26 + doc/ref/c++/html/search/functions_15.js | 34 + doc/ref/c++/html/search/functions_2.js | 33 +- doc/ref/c++/html/search/functions_3.js | 10 +- doc/ref/c++/html/search/functions_4.js | 8 +- doc/ref/c++/html/search/functions_5.js | 15 +- doc/ref/c++/html/search/functions_6.js | 12 +- doc/ref/c++/html/search/functions_8.js | 6 +- doc/ref/c++/html/search/functions_a.js | 2 +- doc/ref/c++/html/search/functions_b.js | 1 + doc/ref/c++/html/search/functions_c.js | 3 +- doc/ref/c++/html/search/functions_d.js | 11 +- doc/ref/c++/html/search/functions_e.js | 4 +- doc/ref/c++/html/search/functions_f.js | 12 +- doc/ref/c++/html/search/related_0.js | 21 +- doc/ref/c++/html/search/related_2.js | 2 +- doc/ref/c++/html/search/related_3.js | 3 +- .../search/{classes_e.html => related_8.html} | 2 +- doc/ref/c++/html/search/related_8.js | 4 + doc/ref/c++/html/search/search.js | 14 +- doc/ref/c++/html/search/typedefs_0.js | 2 +- doc/ref/c++/html/search/typedefs_1.js | 4 +- doc/ref/c++/html/search/typedefs_3.js | 1 + doc/ref/c++/html/search/typedefs_5.js | 2 +- doc/ref/c++/html/search/typedefs_6.js | 3 +- doc/ref/c++/html/search/typedefs_7.html | 26 + doc/ref/c++/html/search/typedefs_7.js | 5 + doc/ref/c++/html/search/variables_5.js | 2 +- doc/ref/c++/html/search/variables_6.js | 6 +- doc/ref/c++/html/search/variables_7.js | 6 +- doc/ref/c++/html/search/variables_8.js | 3 +- doc/ref/c++/html/search/variables_9.html | 26 + doc/ref/c++/html/search/variables_9.js | 5 + .../c++/html/serialization__traits_8h.html | 4 +- .../html/serialization__traits_8h_source.html | 4 +- doc/ref/c++/html/server_8h.html | 10 +- doc/ref/c++/html/server_8h_source.html | 438 ++++--- doc/ref/c++/html/server__builder_8h.html | 7 +- .../c++/html/server__builder_8h_source.html | 156 +-- doc/ref/c++/html/server__context_8h.html | 13 +- .../c++/html/server__context_8h_source.html | 332 ++--- doc/ref/c++/html/server__credentials_8h.html | 14 +- .../html/server__credentials_8h_source.html | 119 +- doc/ref/c++/html/service__type_8h.html | 10 +- doc/ref/c++/html/service__type_8h_source.html | 24 +- doc/ref/c++/html/slice_8h.html | 11 +- doc/ref/c++/html/slice_8h_source.html | 99 +- doc/ref/c++/html/status_8h.html | 13 +- doc/ref/c++/html/status_8h_source.html | 80 +- doc/ref/c++/html/status__code__enum_8h.html | 8 +- .../html/status__code__enum_8h_source.html | 198 +-- doc/ref/c++/html/stream_8h_source.html | 994 -------------- ...__iterator_8h.html => string__ref_8h.html} | 42 +- doc/ref/c++/html/string__ref_8h_source.html | 251 ++++ ..._method_handler_1_1_handler_parameter.html | 4 +- ...tructgrpc_1_1_ssl_credentials_options.html | 25 +- ...pc_1_1_ssl_server_credentials_options.html | 13 +- ...entials_options_1_1_pem_key_cert_pair.html | 6 +- .../html/stub__options_8h.html} | 19 +- doc/ref/c++/html/stub__options_8h_source.html | 144 ++ doc/ref/c++/html/sync_8h.html | 6 +- doc/ref/c++/html/sync_8h_source.html | 6 +- doc/ref/c++/html/sync__cxx11_8h.html | 4 +- doc/ref/c++/html/sync__cxx11_8h_source.html | 4 +- doc/ref/c++/html/sync__no__cxx11_8h.html | 4 +- .../c++/html/sync__no__cxx11_8h_source.html | 142 +- doc/ref/c++/html/sync__stream_8h.html | 153 +++ doc/ref/c++/html/sync__stream_8h_source.html | 529 ++++++++ doc/ref/c++/html/thd_8h.html | 6 +- doc/ref/c++/html/thd_8h_source.html | 6 +- doc/ref/c++/html/thd__cxx11_8h.html | 4 +- doc/ref/c++/html/thd__cxx11_8h_source.html | 4 +- doc/ref/c++/html/thd__no__cxx11_8h.html | 4 +- .../c++/html/thd__no__cxx11_8h_source.html | 111 +- doc/ref/c++/html/time_8h.html | 10 +- doc/ref/c++/html/time_8h_source.html | 16 +- .../html/add__channel__arg_8c.html | 4 +- .../html/add__channel__arg_8h.html | 4 +- .../html/add__channel__arg_8h_source.html | 9 +- .../html/aggregation_8h.html} | 20 +- ...source.html => aggregation_8h_source.html} | 89 +- doc/ref/core.internal/html/alarm_8c.html | 4 +- doc/ref/core.internal/html/alarm_8h.html | 4 +- .../core.internal/html/alarm_8h_source.html | 14 +- .../core.internal/html/alarm__heap_8c.html | 4 +- .../core.internal/html/alarm__heap_8h.html | 4 +- .../html/alarm__heap_8h_source.html | 6 +- .../html/alarm__internal_8h.html | 4 +- .../html/alarm__internal_8h_source.html | 12 +- doc/ref/core.internal/html/algorithm_8c.html | 20 +- doc/ref/core.internal/html/alloc_8c.html | 4 +- doc/ref/core.internal/html/alloc_8h.html | 4 +- .../core.internal/html/alloc_8h_source.html | 6 +- doc/ref/core.internal/html/alpn_8c.html | 4 +- doc/ref/core.internal/html/alpn_8h.html | 4 +- .../core.internal/html/alpn_8h_source.html | 4 +- doc/ref/core.internal/html/annotated.html | 501 +++---- doc/ref/core.internal/html/atm_8h.html | 4 +- doc/ref/core.internal/html/atm_8h_source.html | 6 +- .../html/atm__gcc__atomic_8h.html | 4 +- .../html/atm__gcc__atomic_8h_source.html | 8 +- .../core.internal/html/atm__gcc__sync_8h.html | 4 +- .../html/atm__gcc__sync_8h_source.html | 8 +- doc/ref/core.internal/html/atm__win32_8h.html | 4 +- .../html/atm__win32_8h_source.html | 51 +- .../core.internal/html/auth__filters_8h.html | 4 +- .../html/auth__filters_8h_source.html | 10 +- doc/ref/core.internal/html/base64_8c.html | 4 +- doc/ref/core.internal/html/base64_8h.html | 4 +- .../core.internal/html/base64_8h_source.html | 6 +- .../core.internal/html/basic__timers_8c.html | 4 +- .../core.internal/html/bin__encoder_8c.html | 4 +- .../core.internal/html/bin__encoder_8h.html | 4 +- .../html/bin__encoder_8h_source.html | 4 +- .../core.internal/html/byte__buffer_8c.html | 4 +- .../core.internal/html/byte__buffer_8h.html | 4 +- .../html/byte__buffer_8h_source.html | 95 +- .../html/byte__buffer__queue_8c.html | 4 +- .../html/byte__buffer__queue_8h.html | 4 +- .../html/byte__buffer__queue_8h_source.html | 6 +- .../html/byte__buffer__reader_8c.html | 4 +- .../html/byte__buffer__reader_8h.html | 4 +- .../html/byte__buffer__reader_8h_source.html | 8 +- doc/ref/core.internal/html/call_8c.html | 115 +- doc/ref/core.internal/html/call_8h.html | 82 +- .../core.internal/html/call_8h_source.html | 371 +++--- .../core.internal/html/call__details_8c.html | 4 +- .../html/call__log__batch_8c.html | 4 +- .../core.internal/html/cancellable_8c.html | 221 ---- .../html/census_2context_8h.html | 4 +- .../html/census_2context_8h_source.html | 6 +- doc/ref/core.internal/html/census_8h.html | 1098 +++++++++++++++- .../core.internal/html/census_8h_source.html | 369 +++++- .../html/census__interface_8h.html | 295 +++++ .../html/census__interface_8h_source.html} | 119 +- ...six_8h.html => census__rpc__stats_8h.html} | 212 ++- .../html/census__rpc__stats_8h_source.html | 231 ++++ .../html/channel_2context_8h.html | 4 +- .../html/channel_2context_8h_source.html | 4 +- doc/ref/core.internal/html/channel_8c.html | 97 +- doc/ref/core.internal/html/channel_8h.html | 22 +- .../core.internal/html/channel_8h_source.html | 73 +- .../core.internal/html/channel__args_8c.html | 66 +- .../core.internal/html/channel__args_8h.html | 65 +- .../html/channel__args_8h_source.html | 36 +- .../html/channel__connectivity_8c.html | 4 +- .../html/channel__create_8c.html | 21 +- .../core.internal/html/channel__stack_8c.html | 4 +- .../core.internal/html/channel__stack_8h.html | 4 +- .../html/channel__stack_8h_source.html | 10 +- .../html/chttp2__transport_8c.html | 20 +- .../html/chttp2__transport_8h.html | 4 +- .../html/chttp2__transport_8h_source.html | 12 +- doc/ref/core.internal/html/classes.html | 136 +- .../html/client__auth__filter_8c.html | 4 +- .../html/client__channel_8c.html | 4 +- .../html/client__channel_8h.html | 4 +- .../html/client__channel_8h_source.html | 39 +- .../core.internal/html/client__config_8c.html | 4 +- .../core.internal/html/client__config_8h.html | 4 +- .../html/client__config_8h_source.html | 4 +- doc/ref/core.internal/html/cmdline_8c.html | 4 +- doc/ref/core.internal/html/cmdline_8h.html | 4 +- .../core.internal/html/cmdline_8h_source.html | 6 +- .../html/completion__queue_8c.html | 71 +- .../html/completion__queue_8h.html | 22 +- .../html/completion__queue_8h_source.html | 37 +- .../html/compress__filter_8c.html | 5 +- .../html/compress__filter_8h.html | 8 +- .../html/compress__filter_8h_source.html | 10 +- .../core.internal/html/compression_8h.html | 175 ++- .../html/compression_8h_source.html | 139 +- .../html/connected__channel_8c.html | 4 +- .../html/connected__channel_8h.html | 4 +- .../html/connected__channel_8h_source.html | 4 +- .../html/connectivity__state_8c.html | 4 +- .../html/connectivity__state_8h.html | 4 +- .../html/connectivity__state_8h_source.html | 6 +- doc/ref/core.internal/html/connector_8c.html | 4 +- doc/ref/core.internal/html/connector_8h.html | 4 +- .../html/connector_8h_source.html | 10 +- doc/ref/core.internal/html/context_8c.html | 50 +- doc/ref/core.internal/html/cpu_8h.html | 4 +- doc/ref/core.internal/html/cpu_8h_source.html | 6 +- .../core.internal/html/cpu__iphone_8c.html | 4 +- doc/ref/core.internal/html/cpu__linux_8c.html | 4 +- doc/ref/core.internal/html/cpu__posix_8c.html | 4 +- .../core.internal/html/cpu__windows_8c.html | 4 +- .../core.internal/html/credentials_8c.html | 274 ++-- .../core.internal/html/credentials_8h.html | 106 +- .../html/credentials_8h_source.html | 400 +++--- .../html/credentials__metadata_8c.html | 4 +- .../html/credentials__posix_8c.html | 4 +- .../html/credentials__win32_8c.html | 4 +- .../dir_03e3f2561cf9e09e514d23ee8902839b.html | 6 +- .../dir_35c0979e6ab890cbca79261dc9fc2958.html | 4 +- .../dir_3f1a464cbd6442b4d6b6ee306c9b0460.html | 12 +- .../dir_3f4beedb24b0e92d29e048ed944a7adc.html | 4 +- .../dir_5349cec9f9058ade8b7779c683443df9.html | 4 +- .../dir_63ea090b1bf0393f23b745b651ae7f2b.html | 16 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.html | 4 +- .../dir_7283b8f5e6e3c4b0819c2b491a18d7d4.html | 4 +- .../dir_73fa28a1e06161e89b964f34cd202aba.html | 6 +- .../dir_74d191036da95c8575e4e637193ed623.html | 101 ++ .../dir_79268b13b30141157b35932967b4e740.html | 4 +- .../dir_8aa15e76222df75340b2e23e43efb3e2.html | 6 +- .../dir_9410f15740cc8f8ab312fa27ab494b45.html | 8 +- .../dir_99f60d2bb6231896bcd2887028065f74.html | 4 +- .../dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html | 4 +- .../dir_aebb8dcc11953d78e620bbef0b9e2183.html | 6 +- .../dir_b758f7a0b27044dfb0efa69af3c473f5.html | 4 +- .../dir_bbc3f91aaf5c0e78deeca586ef449264.html | 4 +- .../dir_bf8522d75c0d0c872d1b1e399b1737b8.html | 4 +- .../dir_c11753f61f8d651d8cfd411cfadfafab.html | 4 +- .../dir_cad3142e04109052413f2d2a2d1813b0.html | 6 +- .../dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- .../dir_d6c86f4345f838817939dd561d8a016c.html | 4 +- .../dir_ea54cbef5e3ffa125df07262bbfc9627.html | 4 +- .../core.internal/html/dns__resolver_8c.html | 32 +- .../core.internal/html/dns__resolver_8h.html | 4 +- .../html/dns__resolver_8h_source.html | 6 +- doc/ref/core.internal/html/endpoint_8c.html | 46 +- doc/ref/core.internal/html/endpoint_8h.html | 146 +-- .../html/endpoint_8h_source.html | 188 ++- .../core.internal/html/endpoint__pair_8h.html | 4 +- .../html/endpoint__pair_8h_source.html | 8 +- .../html/endpoint__pair__posix_8c.html | 4 +- .../html/endpoint__pair__windows_8c.html | 4 +- doc/ref/core.internal/html/env_8h.html | 4 +- doc/ref/core.internal/html/env_8h_source.html | 6 +- doc/ref/core.internal/html/env__linux_8c.html | 4 +- doc/ref/core.internal/html/env__posix_8c.html | 4 +- doc/ref/core.internal/html/env__win32_8c.html | 4 +- .../core.internal/html/event__string_8c.html | 4 +- .../core.internal/html/event__string_8h.html | 4 +- .../html/event__string_8h_source.html | 8 +- .../html/fake__transport__security_8c.html | 4 +- .../html/fake__transport__security_8h.html | 4 +- .../fake__transport__security_8h_source.html | 10 +- doc/ref/core.internal/html/fd__posix_8c.html | 4 +- doc/ref/core.internal/html/fd__posix_8h.html | 4 +- .../html/fd__posix_8h_source.html | 141 +- doc/ref/core.internal/html/file_8c.html | 4 +- doc/ref/core.internal/html/file_8h.html | 4 +- .../core.internal/html/file_8h_source.html | 6 +- .../core.internal/html/file__posix_8c.html | 4 +- .../core.internal/html/file__win32_8c.html | 4 +- doc/ref/core.internal/html/files.html | 465 +++---- .../html/format__request_8c.html | 4 +- .../html/format__request_8h.html | 4 +- .../html/format__request_8h_source.html | 12 +- doc/ref/core.internal/html/frame_8h.html | 4 +- .../core.internal/html/frame_8h_source.html | 8 +- .../core.internal/html/frame__data_8c.html | 4 +- .../core.internal/html/frame__data_8h.html | 4 +- .../html/frame__data_8h_source.html | 16 +- .../core.internal/html/frame__goaway_8c.html | 4 +- .../core.internal/html/frame__goaway_8h.html | 4 +- .../html/frame__goaway_8h_source.html | 12 +- .../core.internal/html/frame__ping_8c.html | 4 +- .../core.internal/html/frame__ping_8h.html | 4 +- .../html/frame__ping_8h_source.html | 12 +- .../html/frame__rst__stream_8c.html | 4 +- .../html/frame__rst__stream_8h.html | 4 +- .../html/frame__rst__stream_8h_source.html | 12 +- .../html/frame__settings_8c.html | 4 +- .../html/frame__settings_8h.html | 4 +- .../html/frame__settings_8h_source.html | 14 +- .../html/frame__window__update_8c.html | 4 +- .../html/frame__window__update_8h.html | 4 +- .../html/frame__window__update_8h_source.html | 12 +- doc/ref/core.internal/html/functions.html | 33 +- doc/ref/core.internal/html/functions_b.html | 21 +- doc/ref/core.internal/html/functions_c.html | 55 +- doc/ref/core.internal/html/functions_d.html | 41 +- doc/ref/core.internal/html/functions_e.html | 22 +- doc/ref/core.internal/html/functions_f.html | 23 +- doc/ref/core.internal/html/functions_g.html | 21 +- doc/ref/core.internal/html/functions_h.html | 14 +- doc/ref/core.internal/html/functions_i.html | 26 +- doc/ref/core.internal/html/functions_j.html | 4 +- doc/ref/core.internal/html/functions_k.html | 21 +- doc/ref/core.internal/html/functions_l.html | 7 +- doc/ref/core.internal/html/functions_m.html | 37 +- doc/ref/core.internal/html/functions_n.html | 25 +- doc/ref/core.internal/html/functions_o.html | 36 +- doc/ref/core.internal/html/functions_p.html | 36 +- doc/ref/core.internal/html/functions_q.html | 4 +- doc/ref/core.internal/html/functions_r.html | 62 +- doc/ref/core.internal/html/functions_s.html | 49 +- doc/ref/core.internal/html/functions_t.html | 30 +- doc/ref/core.internal/html/functions_u.html | 11 +- doc/ref/core.internal/html/functions_v.html | 14 +- .../core.internal/html/functions_vars.html | 33 +- .../core.internal/html/functions_vars_b.html | 21 +- .../core.internal/html/functions_vars_c.html | 55 +- .../core.internal/html/functions_vars_d.html | 41 +- .../core.internal/html/functions_vars_e.html | 22 +- .../core.internal/html/functions_vars_f.html | 23 +- .../core.internal/html/functions_vars_g.html | 21 +- .../core.internal/html/functions_vars_h.html | 14 +- .../core.internal/html/functions_vars_i.html | 26 +- .../core.internal/html/functions_vars_j.html | 4 +- .../core.internal/html/functions_vars_k.html | 21 +- .../core.internal/html/functions_vars_l.html | 7 +- .../core.internal/html/functions_vars_m.html | 37 +- .../core.internal/html/functions_vars_n.html | 25 +- .../core.internal/html/functions_vars_o.html | 36 +- .../core.internal/html/functions_vars_p.html | 36 +- .../core.internal/html/functions_vars_q.html | 4 +- .../core.internal/html/functions_vars_r.html | 62 +- .../core.internal/html/functions_vars_s.html | 49 +- .../core.internal/html/functions_vars_t.html | 30 +- .../core.internal/html/functions_vars_u.html | 11 +- .../core.internal/html/functions_vars_v.html | 14 +- .../core.internal/html/functions_vars_w.html | 32 +- doc/ref/core.internal/html/functions_w.html | 32 +- doc/ref/core.internal/html/globals.html | 7 +- doc/ref/core.internal/html/globals_a.html | 4 +- doc/ref/core.internal/html/globals_b.html | 4 +- doc/ref/core.internal/html/globals_c.html | 248 +++- doc/ref/core.internal/html/globals_d.html | 10 +- doc/ref/core.internal/html/globals_defs.html | 7 +- .../core.internal/html/globals_defs_a.html | 4 +- .../core.internal/html/globals_defs_c.html | 47 +- .../core.internal/html/globals_defs_d.html | 4 +- .../core.internal/html/globals_defs_e.html | 4 +- .../core.internal/html/globals_defs_f.html | 4 +- .../core.internal/html/globals_defs_g.html | 46 +- .../core.internal/html/globals_defs_h.html | 4 +- .../core.internal/html/globals_defs_i.html | 4 +- .../core.internal/html/globals_defs_l.html | 4 +- .../core.internal/html/globals_defs_m.html | 7 +- .../core.internal/html/globals_defs_n.html | 4 +- .../core.internal/html/globals_defs_o.html | 4 +- .../core.internal/html/globals_defs_r.html | 4 +- .../core.internal/html/globals_defs_s.html | 10 +- .../core.internal/html/globals_defs_t.html | 4 +- .../core.internal/html/globals_defs_u.html | 4 +- doc/ref/core.internal/html/globals_e.html | 6 +- doc/ref/core.internal/html/globals_enum.html | 14 +- doc/ref/core.internal/html/globals_eval.html | 4 +- .../core.internal/html/globals_eval_b.html | 4 +- .../core.internal/html/globals_eval_c.html | 10 +- .../core.internal/html/globals_eval_d.html | 4 +- .../core.internal/html/globals_eval_e.html | 6 +- .../core.internal/html/globals_eval_g.html | 45 +- .../core.internal/html/globals_eval_h.html | 4 +- .../core.internal/html/globals_eval_i.html | 4 +- .../core.internal/html/globals_eval_l.html | 4 +- .../core.internal/html/globals_eval_m.html | 4 +- .../core.internal/html/globals_eval_n.html | 4 +- .../core.internal/html/globals_eval_p.html | 4 +- .../core.internal/html/globals_eval_r.html | 4 +- .../core.internal/html/globals_eval_s.html | 4 +- .../core.internal/html/globals_eval_t.html | 4 +- .../core.internal/html/globals_eval_w.html | 4 +- .../core.internal/html/globals_eval_z.html | 4 +- doc/ref/core.internal/html/globals_f.html | 4 +- doc/ref/core.internal/html/globals_func.html | 155 ++- .../core.internal/html/globals_func_d.html | 123 ++ .../core.internal/html/globals_func_g.html | 818 ++++++------ .../core.internal/html/globals_func_o.html | 5 +- .../core.internal/html/globals_func_p.html | 5 +- .../core.internal/html/globals_func_t.html | 5 +- .../core.internal/html/globals_func_v.html | 5 +- doc/ref/core.internal/html/globals_g.html | 1168 +++++++++-------- doc/ref/core.internal/html/globals_h.html | 4 +- doc/ref/core.internal/html/globals_i.html | 4 +- doc/ref/core.internal/html/globals_k.html | 4 +- doc/ref/core.internal/html/globals_l.html | 4 +- doc/ref/core.internal/html/globals_m.html | 7 +- doc/ref/core.internal/html/globals_n.html | 4 +- doc/ref/core.internal/html/globals_o.html | 4 +- doc/ref/core.internal/html/globals_p.html | 4 +- doc/ref/core.internal/html/globals_r.html | 4 +- doc/ref/core.internal/html/globals_s.html | 14 +- doc/ref/core.internal/html/globals_t.html | 4 +- doc/ref/core.internal/html/globals_type.html | 89 +- doc/ref/core.internal/html/globals_u.html | 4 +- doc/ref/core.internal/html/globals_v.html | 4 +- doc/ref/core.internal/html/globals_vars.html | 68 +- doc/ref/core.internal/html/globals_w.html | 4 +- doc/ref/core.internal/html/globals_z.html | 4 +- .../html/google__default__credentials_8c.html | 4 +- doc/ref/core.internal/html/graph_legend.html | 4 +- doc/ref/core.internal/html/grpc_8h.html | 437 ++++-- .../core.internal/html/grpc_8h_source.html | 847 ++++++------ .../core.internal/html/grpc__context_8c.html | 4 +- .../core.internal/html/grpc__filter_8c.html | 207 +++ ...s__filter_8h.html => grpc__filter_8h.html} | 16 +- ...ource.html => grpc__filter_8h_source.html} | 26 +- .../core.internal/html/grpc__security_8h.html | 302 +++-- .../html/grpc__security_8h_source.html | 441 ++++--- doc/ref/core.internal/html/histogram_8c.html | 4 +- doc/ref/core.internal/html/histogram_8h.html | 4 +- .../html/histogram_8h_source.html | 28 +- doc/ref/core.internal/html/host__port_8c.html | 4 +- doc/ref/core.internal/html/host__port_8h.html | 4 +- .../html/host__port_8h_source.html | 6 +- .../core.internal/html/hpack__parser_8c.html | 4 +- .../core.internal/html/hpack__parser_8h.html | 4 +- .../html/hpack__parser_8h_source.html | 18 +- .../core.internal/html/hpack__table_8c.html | 4 +- .../core.internal/html/hpack__table_8h.html | 4 +- .../html/hpack__table_8h_source.html | 10 +- .../core.internal/html/http2__errors_8h.html | 4 +- .../html/http2__errors_8h_source.html | 4 +- .../html/http__client__filter_8c.html | 4 +- .../html/http__client__filter_8h.html | 4 +- .../html/http__client__filter_8h_source.html | 8 +- .../html/http__server__filter_8c.html | 4 +- .../html/http__server__filter_8h.html | 4 +- .../html/http__server__filter_8h_source.html | 6 +- doc/ref/core.internal/html/httpcli_8c.html | 29 +- doc/ref/core.internal/html/httpcli_8h.html | 42 +- .../core.internal/html/httpcli_8h_source.html | 287 ++-- .../html/httpcli__security__connector_8c.html | 50 +- .../html/httpcli__security__connector_8h.html | 149 --- doc/ref/core.internal/html/huffsyms_8c.html | 4 +- doc/ref/core.internal/html/huffsyms_8h.html | 4 +- .../html/huffsyms_8h_source.html | 4 +- .../html/incoming__metadata_8c.html | 4 +- .../html/incoming__metadata_8h.html | 4 +- .../html/incoming__metadata_8h_source.html | 8 +- doc/ref/core.internal/html/index.html | 9 +- doc/ref/core.internal/html/init_8c.html | 82 +- doc/ref/core.internal/html/init_8h.html | 4 +- .../core.internal/html/init_8h_source.html | 8 +- .../core.internal/html/init__secure_8c.html | 4 +- doc/ref/core.internal/html/initialize_8c.html | 4 +- doc/ref/core.internal/html/internal_8h.html | 44 +- .../html/internal_8h_source.html | 1149 ++++++++-------- .../core.internal/html/iocp__windows_8c.html | 4 +- .../core.internal/html/iocp__windows_8h.html | 22 +- .../html/iocp__windows_8h_source.html | 24 +- doc/ref/core.internal/html/iomgr_8c.html | 4 +- doc/ref/core.internal/html/iomgr_8h.html | 4 +- .../core.internal/html/iomgr_8h_source.html | 6 +- .../html/iomgr__internal_8h.html | 4 +- .../html/iomgr__internal_8h_source.html | 6 +- .../core.internal/html/iomgr__posix_8c.html | 4 +- .../core.internal/html/iomgr__posix_8h.html | 4 +- .../html/iomgr__posix_8h_source.html | 6 +- .../core.internal/html/iomgr__windows_8c.html | 4 +- doc/ref/core.internal/html/json_8c.html | 4 +- doc/ref/core.internal/html/json_8h.html | 4 +- .../core.internal/html/json_8h_source.html | 12 +- .../core.internal/html/json__common_8h.html | 4 +- .../html/json__common_8h_source.html | 6 +- .../core.internal/html/json__reader_8c.html | 4 +- .../core.internal/html/json__reader_8h.html | 20 +- .../html/json__reader_8h_source.html | 26 +- .../core.internal/html/json__string_8c.html | 4 +- .../core.internal/html/json__token_8c.html | 4 +- .../core.internal/html/json__token_8h.html | 4 +- .../html/json__token_8h_source.html | 8 +- .../core.internal/html/json__writer_8c.html | 4 +- .../core.internal/html/json__writer_8h.html | 4 +- .../html/json__writer_8h_source.html | 48 +- .../core.internal/html/jwt__verifier_8c.html | 4 +- .../core.internal/html/jwt__verifier_8h.html | 4 +- .../html/jwt__verifier_8h_source.html | 9 +- .../core.internal/html/lame__client_8c.html | 53 +- doc/ref/core.internal/html/lb__policy_8c.html | 4 +- doc/ref/core.internal/html/lb__policy_8h.html | 4 +- .../html/lb__policy_8h_source.html | 14 +- doc/ref/core.internal/html/log_8c.html | 4 +- doc/ref/core.internal/html/log_8h.html | 4 +- doc/ref/core.internal/html/log_8h_source.html | 6 +- .../core.internal/html/log__android_8c.html | 4 +- doc/ref/core.internal/html/log__linux_8c.html | 4 +- doc/ref/core.internal/html/log__posix_8c.html | 4 +- doc/ref/core.internal/html/log__win32_8c.html | 4 +- doc/ref/core.internal/html/log__win32_8h.html | 4 +- .../html/log__win32_8h_source.html | 6 +- .../html/merge__channel__args_8c.html | 4 +- .../html/merge__channel__args_8h.html | 4 +- .../html/merge__channel__args_8h_source.html | 9 +- .../html/message__compress_8c.html | 4 +- .../html/message__compress_8h.html | 4 +- .../html/message__compress_8h_source.html | 6 +- doc/ref/core.internal/html/metadata_8c.html | 22 +- doc/ref/core.internal/html/metadata_8h.html | 22 +- .../html/metadata_8h_source.html | 235 ++-- .../html/metadata__array_8c.html | 4 +- .../core.internal/html/murmur__hash_8c.html | 4 +- .../core.internal/html/murmur__hash_8h.html | 4 +- .../html/murmur__hash_8h_source.html | 8 +- .../core.internal/html/noop__filter_8c.html | 4 +- .../core.internal/html/noop__filter_8h.html | 4 +- .../html/noop__filter_8h_source.html | 6 +- doc/ref/core.internal/html/operation_8c.html | 370 ++++++ doc/ref/core.internal/html/parser_8c.html | 4 +- doc/ref/core.internal/html/parser_8h.html | 4 +- .../core.internal/html/parser_8h_source.html | 12 +- doc/ref/core.internal/html/parsing_8c.html | 4 +- .../core.internal/html/pick__first_8c.html | 4 +- .../core.internal/html/pick__first_8h.html | 4 +- .../html/pick__first_8h_source.html | 4 +- doc/ref/core.internal/html/pollset_8h.html | 61 +- .../core.internal/html/pollset_8h_source.html | 97 +- .../html/pollset__kick__posix_8h_source.html | 215 --- .../pollset__multipoller__with__epoll_8c.html | 4 +- ...et__multipoller__with__poll__posix_8c.html | 4 +- .../core.internal/html/pollset__posix_8c.html | 4 +- .../core.internal/html/pollset__posix_8h.html | 61 +- .../html/pollset__posix_8h_source.html | 230 ++-- .../core.internal/html/pollset__set_8h.html | 4 +- .../html/pollset__set_8h_source.html | 6 +- .../html/pollset__set__posix_8c.html | 4 +- .../html/pollset__set__posix_8h.html | 4 +- .../html/pollset__set__posix_8h_source.html | 6 +- .../html/pollset__set__windows_8c.html | 4 +- .../html/pollset__set__windows_8h.html | 4 +- .../html/pollset__set__windows_8h_source.html | 4 +- .../html/pollset__windows_8c.html | 4 +- .../html/pollset__windows_8h.html | 20 +- .../html/pollset__windows_8h_source.html | 48 +- .../core.internal/html/port__platform_8h.html | 4 +- .../html/port__platform_8h_source.html | 557 ++++---- .../html/resolve__address_8h.html | 4 +- .../html/resolve__address_8h_source.html | 6 +- .../html/resolve__address__posix_8c.html | 4 +- .../html/resolve__address__windows_8c.html | 4 +- doc/ref/core.internal/html/resolver_8c.html | 4 +- doc/ref/core.internal/html/resolver_8h.html | 4 +- .../html/resolver_8h_source.html | 6 +- .../html/resolver__factory_8c.html | 35 +- .../html/resolver__factory_8h.html | 35 +- .../html/resolver__factory_8h_source.html | 37 +- .../html/resolver__registry_8c.html | 69 +- .../html/resolver__registry_8h.html | 55 +- .../html/resolver__registry_8h_source.html | 30 +- ...at__id_8h.html => rpc__metric__id_8h.html} | 72 +- ...ce.html => rpc__metric__id_8h_source.html} | 39 +- doc/ref/core.internal/html/search/all_0.js | 2 +- doc/ref/core.internal/html/search/all_1.js | 20 +- doc/ref/core.internal/html/search/all_10.js | 24 +- doc/ref/core.internal/html/search/all_12.js | 39 +- doc/ref/core.internal/html/search/all_13.js | 27 +- doc/ref/core.internal/html/search/all_14.js | 16 +- doc/ref/core.internal/html/search/all_15.js | 8 +- doc/ref/core.internal/html/search/all_16.js | 3 +- doc/ref/core.internal/html/search/all_17.js | 16 +- doc/ref/core.internal/html/search/all_2.js | 7 +- doc/ref/core.internal/html/search/all_3.js | 131 +- doc/ref/core.internal/html/search/all_4.js | 17 +- doc/ref/core.internal/html/search/all_5.js | 9 +- doc/ref/core.internal/html/search/all_6.js | 9 +- doc/ref/core.internal/html/search/all_7.js | 254 ++-- doc/ref/core.internal/html/search/all_8.js | 7 +- doc/ref/core.internal/html/search/all_9.js | 14 +- doc/ref/core.internal/html/search/all_b.js | 7 +- doc/ref/core.internal/html/search/all_c.js | 3 +- doc/ref/core.internal/html/search/all_d.js | 20 +- doc/ref/core.internal/html/search/all_e.js | 9 +- doc/ref/core.internal/html/search/all_f.js | 17 +- .../core.internal/html/search/classes_10.js | 23 +- .../core.internal/html/search/classes_11.js | 17 +- .../core.internal/html/search/classes_12.js | 3 +- .../core.internal/html/search/classes_13.html | 26 + .../core.internal/html/search/classes_13.js | 5 + .../core.internal/html/search/classes_2.js | 15 +- .../core.internal/html/search/classes_6.js | 20 +- .../core.internal/html/search/classes_d.js | 3 +- .../core.internal/html/search/classes_e.js | 11 +- .../core.internal/html/search/classes_f.js | 13 +- .../core.internal/html/search/defines_0.js | 2 +- .../core.internal/html/search/defines_2.js | 20 +- .../core.internal/html/search/defines_6.js | 16 +- .../core.internal/html/search/defines_a.js | 1 + .../core.internal/html/search/defines_e.js | 2 + doc/ref/core.internal/html/search/enums_2.js | 3 +- doc/ref/core.internal/html/search/enums_4.js | 3 +- .../core.internal/html/search/enumvalues_2.js | 4 +- .../core.internal/html/search/enumvalues_4.js | 2 +- .../core.internal/html/search/enumvalues_5.js | 21 +- doc/ref/core.internal/html/search/files_0.js | 1 + doc/ref/core.internal/html/search/files_10.js | 107 +- doc/ref/core.internal/html/search/files_11.js | 43 +- doc/ref/core.internal/html/search/files_12.js | 8 +- doc/ref/core.internal/html/search/files_13.js | 10 +- .../html/search/files_14.html} | 2 +- doc/ref/core.internal/html/search/files_14.js | 10 + doc/ref/core.internal/html/search/files_2.js | 7 +- doc/ref/core.internal/html/search/files_6.js | 2 + doc/ref/core.internal/html/search/files_7.js | 1 - doc/ref/core.internal/html/search/files_d.js | 21 +- doc/ref/core.internal/html/search/files_e.js | 29 +- doc/ref/core.internal/html/search/files_f.js | 78 +- .../core.internal/html/search/functions_0.js | 46 +- .../core.internal/html/search/functions_1.js | 776 +---------- .../core.internal/html/search/functions_2.js | 783 ++++++++++- .../core.internal/html/search/functions_3.js | 6 +- .../core.internal/html/search/functions_4.js | 32 +- .../core.internal/html/search/functions_5.js | 29 +- .../html/search/functions_6.html | 26 + .../core.internal/html/search/functions_6.js | 4 + doc/ref/core.internal/html/search/search.js | 6 +- .../core.internal/html/search/typedefs_1.js | 12 +- .../core.internal/html/search/typedefs_2.js | 18 +- .../core.internal/html/search/variables_0.js | 19 +- .../core.internal/html/search/variables_1.js | 7 +- .../core.internal/html/search/variables_11.js | 34 +- .../core.internal/html/search/variables_12.js | 25 +- .../core.internal/html/search/variables_13.js | 13 +- .../core.internal/html/search/variables_14.js | 6 +- .../core.internal/html/search/variables_15.js | 3 +- .../core.internal/html/search/variables_16.js | 16 +- .../core.internal/html/search/variables_2.js | 35 +- .../core.internal/html/search/variables_3.js | 15 +- .../core.internal/html/search/variables_4.js | 7 +- .../core.internal/html/search/variables_5.js | 11 +- .../core.internal/html/search/variables_6.js | 12 +- .../core.internal/html/search/variables_7.js | 6 +- .../core.internal/html/search/variables_8.js | 14 +- .../core.internal/html/search/variables_a.js | 7 +- .../core.internal/html/search/variables_b.js | 3 +- .../core.internal/html/search/variables_c.js | 19 +- .../core.internal/html/search/variables_d.js | 9 +- .../core.internal/html/search/variables_e.js | 14 +- .../core.internal/html/search/variables_f.js | 21 +- .../html/secure__channel__create_8c.html | 19 +- .../html/secure__endpoint_8c.html | 60 +- .../html/secure__endpoint_8h.html | 4 +- .../html/secure__endpoint_8h_source.html | 10 +- .../html/secure__transport__setup_8c.html | 4 +- .../html/secure__transport__setup_8h.html | 4 +- .../secure__transport__setup_8h_source.html | 12 +- .../html/security__connector_8c.html | 4 +- .../html/security__connector_8h.html | 4 +- .../html/security__connector_8h_source.html | 22 +- .../html/security__context_8c.html | 176 ++- .../html/security__context_8h.html | 109 +- .../html/security__context_8h_source.html | 202 +-- doc/ref/core.internal/html/server_8c.html | 54 +- doc/ref/core.internal/html/server_8h.html | 4 +- .../core.internal/html/server_8h_source.html | 18 +- .../html/server__auth__filter_8c.html | 8 +- .../core.internal/html/server__chttp2_8c.html | 14 +- .../core.internal/html/server__create_8c.html | 24 +- .../html/server__secure__chttp2_8c.html | 5 +- doc/ref/core.internal/html/slice_8c.html | 4 +- doc/ref/core.internal/html/slice_8h.html | 6 +- .../core.internal/html/slice_8h_source.html | 24 +- .../core.internal/html/slice__buffer_8c.html | 32 +- .../core.internal/html/slice__buffer_8h.html | 32 +- .../html/slice__buffer_8h_source.html | 31 +- doc/ref/core.internal/html/sockaddr_8h.html | 4 +- .../html/sockaddr_8h_source.html | 6 +- .../html/sockaddr__posix_8h.html | 4 +- .../html/sockaddr__posix_8h_source.html | 6 +- .../html/sockaddr__resolver_8c.html | 32 +- .../html/sockaddr__resolver_8h.html | 4 +- .../html/sockaddr__resolver_8h_source.html | 8 +- .../html/sockaddr__utils_8c.html | 4 +- .../html/sockaddr__utils_8h.html | 4 +- .../html/sockaddr__utils_8h_source.html | 8 +- .../html/sockaddr__win32_8h.html | 4 +- .../html/sockaddr__win32_8h_source.html | 6 +- .../html/socket__utils__common__posix_8c.html | 4 +- .../html/socket__utils__linux_8c.html | 4 +- .../html/socket__utils__posix_8c.html | 4 +- .../html/socket__utils__posix_8h.html | 4 +- .../html/socket__utils__posix_8h_source.html | 6 +- .../html/socket__windows_8c.html | 4 +- .../html/socket__windows_8h.html | 30 +- .../html/socket__windows_8h_source.html | 115 +- .../html/ssl__transport__security_8c.html | 4 +- .../html/ssl__transport__security_8h.html | 4 +- .../ssl__transport__security_8h_source.html | 20 +- .../html/stack__lockfree_8c.html | 6 +- .../html/stack__lockfree_8h.html | 4 +- .../html/stack__lockfree_8h_source.html | 4 +- .../core.internal/html/stap__timers_8c.html | 4 +- doc/ref/core.internal/html/status_8h.html | 4 +- .../core.internal/html/status_8h_source.html | 6 +- .../html/status__conversion_8c.html | 4 +- .../html/status__conversion_8h.html | 4 +- .../html/status__conversion_8h_source.html | 4 +- .../html/stream__encoder_8c.html | 4 +- .../html/stream__encoder_8h.html | 4 +- .../html/stream__encoder_8h_source.html | 22 +- .../core.internal/html/stream__lists_8c.html | 10 +- .../core.internal/html/stream__map_8c.html | 4 +- .../core.internal/html/stream__map_8h.html | 4 +- .../html/stream__map_8h_source.html | 14 +- doc/ref/core.internal/html/stream__op_8c.html | 4 +- doc/ref/core.internal/html/stream__op_8h.html | 4 +- .../html/stream__op_8h_source.html | 244 ++-- doc/ref/core.internal/html/string_8c.html | 4 +- doc/ref/core.internal/html/string_8h.html | 4 +- .../core.internal/html/string_8h_source.html | 30 +- .../core.internal/html/string__posix_8c.html | 4 +- .../core.internal/html/string__util_8h.html | 4 +- .../html/string__util_8h_source.html | 6 +- .../core.internal/html/string__win32_8c.html | 4 +- .../core.internal/html/string__win32_8h.html | 4 +- .../html/string__win32_8h_source.html | 8 +- doc/ref/core.internal/html/structarg.html | 4 +- .../html/structb64__huff__sym.html | 4 +- .../core.internal/html/structcall__data.html | 215 ++- .../core.internal/html/structcall__link.html | 4 +- .../structcensus__aggregated__rpc__stats.html | 136 ++ .../html/structcensus__aggregation.html | 142 ++ .../html/structcensus__aggregation__ops.html | 239 ++++ .../html/structcensus__context.html | 4 +- .../html/structcensus__op__id.html | 136 ++ ...tructcensus__per__method__rpc__stats.html} | 44 +- .../html/structcensus__rpc__name__info.html | 143 ++ .../html/structcensus__rpc__stats.html | 220 ++++ ...nfo.html => structcensus__tag__const.html} | 50 +- ...lock.html => structcensus__timestamp.html} | 27 +- ....html => structcensus__trace__record.html} | 79 +- .../html/structcensus__value.html} | 24 +- ...structcensus__view__aggregation__data.html | 142 ++ .../html/structcensus__view__data.html | 142 ++ .../html/structchannel__broadcaster.html | 4 +- .../html/structchannel__data.html | 112 +- .../structchannel__registered__method.html | 4 +- ...e.html => structclose__message__data.html} | 36 +- .../html/structcompleted__request.html | 4 +- .../html/structcompute__engine__detector.html | 4 +- .../structconnected__channel__call__data.html | 4 +- ...ructconnected__channel__channel__data.html | 4 +- .../core.internal/html/structconnection.html | 4 +- .../core.internal/html/structconnector.html | 4 +- .../html/structdns__resolver.html | 4 +- .../core.internal/html/structdump__out.html | 4 +- .../html/structemail__key__mapping.html | 4 +- ...tfinished__loose__op__allocated__args.html | 4 +- .../html/structframer__state.html | 18 +- .../html/structgpr__cmdline.html | 4 +- .../core.internal/html/structgpr__event.html | 4 +- .../html/structgpr__gcc__thread__local.html | 4 +- .../html/structgpr__histogram.html | 4 +- .../html/structgpr__log__func__args.html | 4 +- .../html/structgpr__msvc__thread__local.html | 4 +- doc/ref/core.internal/html/structgpr__mu.html | 4 +- .../structgpr__pthread__thread__local.html | 4 +- .../html/structgpr__refcount.html | 4 +- .../core.internal/html/structgpr__slice.html | 44 +- .../html/structgpr__slice__buffer.html | 4 +- .../html/structgpr__slice__refcount.html | 4 +- .../html/structgpr__stack__lockfree.html | 4 +- .../html/structgpr__stats__counter.html | 4 +- .../core.internal/html/structgpr__strvec.html | 4 +- .../html/structgpr__thd__options.html | 4 +- .../html/structgpr__timespec.html | 4 +- ...tructgrpc__access__token__credentials.html | 4 +- .../core.internal/html/structgrpc__alarm.html | 4 +- .../html/structgrpc__alarm__heap.html | 4 +- .../core.internal/html/structgrpc__arg.html | 40 +- .../html/structgrpc__auth__context.html | 20 +- .../html/structgrpc__auth__json__key.html | 4 +- ...structgrpc__auth__metadata__processor.html | 150 +++ .../html/structgrpc__auth__property.html | 4 +- ...=> structgrpc__auth__property__array.html} | 36 +- .../structgrpc__auth__property__iterator.html | 4 +- .../structgrpc__auth__refresh__token.html | 4 +- .../html/structgrpc__bbq__array.html | 4 +- .../html/structgrpc__begin__message.html | 4 +- .../html/structgrpc__byte__buffer.html | 51 +- .../html/structgrpc__byte__buffer__queue.html | 4 +- .../structgrpc__byte__buffer__reader.html | 16 +- .../core.internal/html/structgrpc__call.html | 94 +- .../structgrpc__call__context__element.html | 4 +- .../html/structgrpc__call__details.html | 18 +- .../html/structgrpc__call__element.html | 4 +- .../html/structgrpc__call__stack.html | 4 +- .../html/structgrpc__channel.html | 32 +- .../html/structgrpc__channel__args.html | 4 +- .../html/structgrpc__channel__element.html | 4 +- .../html/structgrpc__channel__filter.html | 4 +- ...uctgrpc__channel__security__connector.html | 4 +- .../html/structgrpc__channel__stack.html | 4 +- .../structgrpc__chttp2__data__parser.html | 4 +- .../structgrpc__chttp2__goaway__parser.html | 4 +- ...structgrpc__chttp2__hpack__compressor.html | 4 +- .../structgrpc__chttp2__hpack__parser.html | 20 +- ...ctgrpc__chttp2__hpack__parser__string.html | 4 +- .../html/structgrpc__chttp2__hptbl.html | 4 +- ...ructgrpc__chttp2__hptbl__find__result.html | 4 +- .../html/structgrpc__chttp2__huffsym.html | 4 +- ...c__chttp2__incoming__metadata__buffer.html | 4 +- ..._incoming__metadata__live__op__buffer.html | 4 +- ...structgrpc__chttp2__outstanding__ping.html | 4 +- .../structgrpc__chttp2__ping__parser.html | 4 +- ...ructgrpc__chttp2__rst__stream__parser.html | 4 +- ...ructgrpc__chttp2__setting__parameters.html | 4 +- .../structgrpc__chttp2__settings__parser.html | 4 +- .../html/structgrpc__chttp2__stream.html | 4 +- .../structgrpc__chttp2__stream__global.html | 25 +- .../structgrpc__chttp2__stream__link.html | 4 +- .../structgrpc__chttp2__stream__list.html | 4 +- .../html/structgrpc__chttp2__stream__map.html | 4 +- .../structgrpc__chttp2__stream__parsing.html | 4 +- .../structgrpc__chttp2__stream__writing.html | 4 +- .../html/structgrpc__chttp2__transport.html | 72 +- ...structgrpc__chttp2__transport__global.html | 4 +- ...tructgrpc__chttp2__transport__parsing.html | 30 +- ...tructgrpc__chttp2__transport__writing.html | 21 +- ...tgrpc__chttp2__window__update__parser.html | 4 +- .../html/structgrpc__client__config.html | 4 +- ...structgrpc__client__security__context.html | 4 +- .../html/structgrpc__completion__queue.html | 32 +- .../structgrpc__composite__credentials.html | 4 +- ...osite__credentials__metadata__context.html | 4 +- .../structgrpc__compression__options.html | 142 ++ .../html/structgrpc__connect__in__args.html | 4 +- .../html/structgrpc__connect__out__args.html | 4 +- ...uctgrpc__connectivity__state__tracker.html | 4 +- ...uctgrpc__connectivity__state__watcher.html | 4 +- .../html/structgrpc__connector.html | 4 +- .../html/structgrpc__connector__vtable.html | 4 +- .../html/structgrpc__cq__completion.html | 4 +- .../html/structgrpc__credentials.html | 4 +- .../html/structgrpc__credentials__array.html | 4 +- .../html/structgrpc__credentials__md.html | 4 +- .../structgrpc__credentials__md__store.html | 4 +- ...tgrpc__credentials__metadata__request.html | 4 +- .../html/structgrpc__credentials__vtable.html | 12 +- .../html/structgrpc__endpoint.html | 4 +- .../html/structgrpc__endpoint__pair.html | 4 +- .../html/structgrpc__endpoint__vtable.html | 20 +- .../core.internal/html/structgrpc__event.html | 4 +- ...c__fake__channel__security__connector.html | 4 +- .../core.internal/html/structgrpc__fd.html | 4 +- .../html/structgrpc__fd__watcher.html | 4 +- ...structgrpc__google__iam__credentials.html} | 24 +- ..._google__refresh__token__credentials.html} | 24 +- .../html/structgrpc__httpcli__context.html | 4 +- .../html/structgrpc__httpcli__handshaker.html | 136 ++ .../html/structgrpc__httpcli__header.html | 4 +- .../html/structgrpc__httpcli__parser.html | 4 +- .../html/structgrpc__httpcli__request.html | 28 +- .../html/structgrpc__httpcli__response.html | 4 +- ...li__ssl__channel__security__connector.html | 4 +- .../html/structgrpc__iomgr__closure.html | 4 +- .../html/structgrpc__iomgr__object.html | 4 +- .../core.internal/html/structgrpc__ioreq.html | 4 +- .../core.internal/html/structgrpc__json.html | 4 +- .../html/structgrpc__json__reader.html | 4 +- .../structgrpc__json__reader__vtable.html | 4 +- .../html/structgrpc__json__writer.html | 4 +- .../structgrpc__json__writer__vtable.html | 4 +- .../html/structgrpc__jwt__claims.html | 4 +- .../html/structgrpc__jwt__verifier.html | 4 +- ...ier__email__domain__key__url__mapping.html | 4 +- .../html/structgrpc__lb__policy.html | 4 +- .../html/structgrpc__lb__policy__vtable.html | 4 +- .../html/structgrpc__linked__mdelem.html | 18 +- ...uctgrpc__md__only__test__credentials.html} | 32 +- .../core.internal/html/structgrpc__mdctx.html | 4 +- .../html/structgrpc__mdelem.html | 4 +- .../html/structgrpc__mdelem__list.html | 4 +- .../core.internal/html/structgrpc__mdstr.html | 4 +- .../html/structgrpc__metadata.html | 36 +- .../html/structgrpc__metadata__array.html | 4 +- .../html/structgrpc__metadata__batch.html | 4 +- ...__oauth2__token__fetcher__credentials.html | 4 +- .../core.internal/html/structgrpc__op.html | 147 ++- .../html/structgrpc__plugin.html | 134 ++ .../html/structgrpc__pollset.html | 68 +- .../html/structgrpc__pollset__set.html | 4 +- .../html/structgrpc__pollset__vtable.html | 26 +- .../html/structgrpc__pollset__worker.html} | 47 +- .../html/structgrpc__resolved__address.html | 4 +- .../html/structgrpc__resolved__addresses.html | 4 +- .../html/structgrpc__resolver.html | 4 +- .../html/structgrpc__resolver__factory.html | 4 +- ...structgrpc__resolver__factory__vtable.html | 41 +- .../html/structgrpc__resolver__vtable.html | 4 +- .../structgrpc__secure__transport__setup.html | 60 +- .../html/structgrpc__security__connector.html | 4 +- ...ructgrpc__security__connector__vtable.html | 4 +- .../html/structgrpc__server.html | 4 +- .../html/structgrpc__server__credentials.html | 32 +- ...ructgrpc__server__credentials__vtable.html | 12 +- .../structgrpc__server__secure__state.html | 18 +- ...structgrpc__server__security__context.html | 4 +- ...ce__account__jwt__access__credentials.html | 24 +- ...pc__ssl__channel__security__connector.html | 4 +- .../html/structgrpc__ssl__config.html | 4 +- .../html/structgrpc__ssl__credentials.html | 4 +- ...structgrpc__ssl__pem__key__cert__pair.html | 4 +- .../html/structgrpc__ssl__server__config.html | 4 +- .../structgrpc__ssl__server__credentials.html | 4 +- ...rpc__ssl__server__security__connector.html | 4 +- .../html/structgrpc__stream__op.html | 24 +- .../html/structgrpc__stream__op__buffer.html | 4 +- .../html/structgrpc__subchannel.html | 4 +- .../html/structgrpc__subchannel__args.html | 4 +- .../html/structgrpc__subchannel__call.html | 4 +- .../html/structgrpc__subchannel__factory.html | 4 +- ...ructgrpc__subchannel__factory__vtable.html | 4 +- .../structgrpc__time__averaged__stats.html | 4 +- .../html/structgrpc__transport.html | 4 +- .../html/structgrpc__transport__op.html | 4 +- .../structgrpc__transport__stream__op.html | 38 +- .../html/structgrpc__transport__vtable.html | 4 +- .../core.internal/html/structgrpc__uri.html | 4 +- ..._info.html => structgrpc__wakeup__fd.html} | 24 +- .../html/structgrpc__wakeup__fd__vtable.html | 36 +- .../html/structgrpc__winsocket.html | 18 +- ...structgrpc__winsocket__callback__info.html | 18 +- .../core.internal/html/structhuff__out.html | 4 +- .../html/structinternal__metadata.html | 4 +- .../html/structinternal__request.html | 80 +- .../html/structinternal__string.html | 4 +- .../html/structjose__header.html | 4 +- .../html/structjson__reader__userdata.html | 4 +- .../html/structjson__writer__userdata.html | 4 +- ...ructlb__policy__connectivity__watcher.html | 4 +- .../core.internal/html/structlistener.html | 4 +- .../html/structlockfree__node__contents.html | 4 +- .../html/structmalloc__refcount.html | 4 +- .../html/structmerge__args__factory.html | 4 +- .../html/structnew__slice__refcount.html | 4 +- ...structnew__with__len__slice__refcount.html | 4 +- .../html/structon__done__closure.html | 134 ++ .../html/structpending__pick.html | 4 +- .../html/structpick__first__lb__policy.html | 4 +- ...ered__resolver.html => structplucker.html} | 26 +- .../html/structreceived__status.html | 4 +- .../html/structregistered__call.html | 4 +- .../html/structregistered__method.html | 4 +- .../html/structreqinfo__master.html | 4 +- .../html/structrequest__matcher.html | 4 +- .../html/structrequested__call.html | 52 +- .../html/structsecure__endpoint.html | 60 +- .../core.internal/html/structshard__type.html | 4 +- .../html/structshutdown__cleanup__args.html | 4 +- .../html/structshutdown__tag.html | 4 +- .../html/structsockaddr__resolver.html | 44 +- .../html/structstate__watcher.html | 4 +- .../html/structsubchannel__factory.html | 4 +- .../html/structtcp__endpoint__list.html | 4 +- doc/ref/core.internal/html/structtracer.html | 4 +- .../html/structtsi__fake__frame.html | 4 +- .../structtsi__fake__frame__protector.html | 4 +- .../html/structtsi__fake__handshaker.html | 4 +- .../html/structtsi__frame__protector.html | 4 +- .../structtsi__frame__protector__vtable.html | 4 +- .../html/structtsi__handshaker.html | 4 +- .../html/structtsi__handshaker__vtable.html | 4 +- .../core.internal/html/structtsi__peer.html | 4 +- .../html/structtsi__peer__property.html | 20 +- ...tsi__ssl__client__handshaker__factory.html | 4 +- .../structtsi__ssl__frame__protector.html | 4 +- .../html/structtsi__ssl__handshaker.html | 4 +- .../structtsi__ssl__handshaker__factory.html | 4 +- ...tsi__ssl__server__handshaker__factory.html | 4 +- .../html/structverifier__cb__ctx.html | 4 +- .../html/structwaiting__call.html | 4 +- .../html/structwaiting__for__connect.html | 4 +- doc/ref/core.internal/html/subchannel_8c.html | 14 +- doc/ref/core.internal/html/subchannel_8h.html | 10 +- .../html/subchannel_8h_source.html | 88 +- .../html/subchannel__factory_8c.html | 4 +- .../html/subchannel__factory_8h.html | 4 +- .../html/subchannel__factory_8h_source.html | 6 +- doc/ref/core.internal/html/subprocess_8h.html | 4 +- .../html/subprocess_8h_source.html | 6 +- .../html/subprocess__posix_8c.html | 4 +- .../core.internal/html/surface__trace_8c.html | 4 +- .../core.internal/html/surface__trace_8h.html | 6 +- .../html/surface__trace_8h_source.html | 8 +- doc/ref/core.internal/html/sync_8c.html | 46 +- doc/ref/core.internal/html/sync_8h.html | 151 +-- .../core.internal/html/sync_8h_source.html | 553 ++++---- .../core.internal/html/sync__generic_8h.html | 4 +- .../html/sync__generic_8h_source.html | 50 +- .../core.internal/html/sync__posix_8c.html | 4 +- .../core.internal/html/sync__posix_8h.html | 4 +- .../html/sync__posix_8h_source.html | 6 +- .../core.internal/html/sync__win32_8c.html | 4 +- .../core.internal/html/sync__win32_8h.html | 4 +- .../html/sync__win32_8h_source.html | 6 +- .../core.internal/html/tcp__client_8h.html | 4 +- .../html/tcp__client_8h_source.html | 10 +- .../html/tcp__client__posix_8c.html | 4 +- .../html/tcp__client__windows_8c.html | 4 +- doc/ref/core.internal/html/tcp__posix_8c.html | 4 +- doc/ref/core.internal/html/tcp__posix_8h.html | 4 +- .../html/tcp__posix_8h_source.html | 8 +- .../core.internal/html/tcp__server_8h.html | 4 +- .../html/tcp__server_8h_source.html | 8 +- .../html/tcp__server__posix_8c.html | 4 +- .../html/tcp__server__windows_8c.html | 4 +- .../core.internal/html/tcp__windows_8c.html | 4 +- .../core.internal/html/tcp__windows_8h.html | 4 +- .../html/tcp__windows_8h_source.html | 10 +- doc/ref/core.internal/html/thd_8c.html | 12 +- doc/ref/core.internal/html/thd_8h.html | 4 +- doc/ref/core.internal/html/thd_8h_source.html | 18 +- .../core.internal/html/thd__internal_8h.html | 4 +- .../html/thd__internal_8h_source.html | 6 +- doc/ref/core.internal/html/thd__posix_8c.html | 4 +- doc/ref/core.internal/html/thd__win32_8c.html | 4 +- doc/ref/core.internal/html/time_8c.html | 4 +- doc/ref/core.internal/html/time_8h.html | 7 +- .../core.internal/html/time_8h_source.html | 147 ++- .../html/time__averaged__stats_8c.html | 4 +- .../html/time__averaged__stats_8h.html | 4 +- .../html/time__averaged__stats_8h_source.html | 6 +- .../core.internal/html/time__posix_8c.html | 5 +- ...k__posix_8c.html => time__precise_8h.html} | 18 +- ...urce.html => time__precise_8h_source.html} | 121 +- .../core.internal/html/time__win32_8c.html | 4 +- .../html/timeout__encoding_8c.html | 4 +- .../html/timeout__encoding_8h.html | 4 +- .../html/timeout__encoding_8h_source.html | 6 +- doc/ref/core.internal/html/timers_8h.html | 6 +- .../core.internal/html/timers_8h_source.html | 10 +- .../html/timers__preciseclock_8h.html | 168 --- doc/ref/core.internal/html/tls_8h.html | 4 +- doc/ref/core.internal/html/tls_8h_source.html | 8 +- doc/ref/core.internal/html/tls__gcc_8h.html | 20 +- .../html/tls__gcc_8h_source.html | 24 +- doc/ref/core.internal/html/tls__msvc_8h.html | 20 +- .../html/tls__msvc_8h_source.html | 24 +- .../core.internal/html/tls__pthread_8c.html | 4 +- .../core.internal/html/tls__pthread_8h.html | 4 +- .../html/tls__pthread_8h_source.html | 6 +- doc/ref/core.internal/html/trace_8c.html | 4 +- doc/ref/core.internal/html/trace_8h.html | 4 +- .../core.internal/html/trace_8h_source.html | 6 +- .../{record__stat_8c.html => tracing_8c.html} | 85 +- doc/ref/core.internal/html/transport_8c.html | 50 +- doc/ref/core.internal/html/transport_8h.html | 42 +- .../html/transport_8h_source.html | 252 ++-- .../html/transport__impl_8h.html | 4 +- .../html/transport__impl_8h_source.html | 6 +- .../html/transport__op__string_8c.html | 4 +- .../html/transport__security_8c.html | 4 +- .../html/transport__security_8h.html | 4 +- .../html/transport__security_8h_source.html | 12 +- .../transport__security__interface_8h.html | 4 +- ...nsport__security__interface_8h_source.html | 382 +++--- ...__platform_8h.html => udp__server_8c.html} | 42 +- .../core.internal/html/udp__server_8h.html | 322 +++++ .../html/udp__server_8h_source.html | 196 +++ .../html/uniongrpc__ioreq__data.html | 68 +- .../html/unionlockfree__node.html | 4 +- .../core.internal/html/uri__parser_8c.html | 4 +- .../core.internal/html/uri__parser_8h.html | 4 +- .../html/uri__parser_8h_source.html | 4 +- doc/ref/core.internal/html/useful_8h.html | 12 +- .../core.internal/html/useful_8h_source.html | 14 +- doc/ref/core.internal/html/varint_8c.html | 4 +- doc/ref/core.internal/html/varint_8h.html | 6 +- .../core.internal/html/varint_8h_source.html | 8 +- doc/ref/core.internal/html/version_8c.html | 4 +- .../html/wakeup__fd__eventfd_8c.html | 4 +- .../html/wakeup__fd__nospecial_8c.html | 4 +- .../html/wakeup__fd__pipe_8c.html | 4 +- .../html/wakeup__fd__pipe_8h.html | 4 +- .../html/wakeup__fd__pipe_8h_source.html | 6 +- .../html/wakeup__fd__posix_8c.html | 4 +- .../html/wakeup__fd__posix_8h.html | 68 +- .../html/wakeup__fd__posix_8h_source.html | 52 +- doc/ref/core.internal/html/writing_8c.html | 4 +- doc/ref/core/html/alloc_8h.html | 4 +- doc/ref/core/html/alloc_8h_source.html | 6 +- doc/ref/core/html/annotated.html | 67 +- doc/ref/core/html/atm_8h.html | 4 +- doc/ref/core/html/atm_8h_source.html | 6 +- doc/ref/core/html/atm__gcc__atomic_8h.html | 4 +- .../core/html/atm__gcc__atomic_8h_source.html | 8 +- doc/ref/core/html/atm__gcc__sync_8h.html | 4 +- .../core/html/atm__gcc__sync_8h_source.html | 8 +- doc/ref/core/html/atm__win32_8h.html | 4 +- doc/ref/core/html/atm__win32_8h_source.html | 51 +- doc/ref/core/html/byte__buffer_8h.html | 4 +- doc/ref/core/html/byte__buffer_8h_source.html | 95 +- .../core/html/byte__buffer__reader_8h.html | 4 +- .../html/byte__buffer__reader_8h_source.html | 8 +- .../html/cancellable__platform_8h_source.html | 168 --- doc/ref/core/html/census_8h.html | 1098 +++++++++++++++- doc/ref/core/html/census_8h_source.html | 369 +++++- doc/ref/core/html/classes.html | 21 +- doc/ref/core/html/cmdline_8h.html | 4 +- doc/ref/core/html/cmdline_8h_source.html | 6 +- doc/ref/core/html/compression_8h.html | 175 ++- doc/ref/core/html/compression_8h_source.html | 133 +- doc/ref/core/html/cpu_8h.html | 4 +- doc/ref/core/html/cpu_8h_source.html | 6 +- .../dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html | 4 +- .../dir_cad3142e04109052413f2d2a2d1813b0.html | 6 +- .../dir_d44c64559bbebec7f509842c48db8b23.html | 4 +- doc/ref/core/html/files.html | 63 +- doc/ref/core/html/functions.html | 142 +- doc/ref/core/html/functions_vars.html | 142 +- doc/ref/core/html/globals.html | 140 +- doc/ref/core/html/globals_defs.html | 52 +- doc/ref/core/html/globals_enum.html | 7 +- doc/ref/core/html/globals_eval.html | 19 +- doc/ref/core/html/globals_func.html | 95 +- doc/ref/core/html/globals_func_g.html | 111 +- doc/ref/core/html/globals_g.html | 155 ++- doc/ref/core/html/globals_type.html | 22 +- doc/ref/core/html/globals_vars.html | 16 +- doc/ref/core/html/graph_legend.html | 4 +- doc/ref/core/html/grpc_8h.html | 437 ++++-- doc/ref/core/html/grpc_8h_source.html | 815 ++++++------ doc/ref/core/html/grpc__security_8h.html | 302 +++-- .../core/html/grpc__security_8h_source.html | 424 +++--- doc/ref/core/html/histogram_8h.html | 4 +- doc/ref/core/html/histogram_8h_source.html | 8 +- doc/ref/core/html/host__port_8h.html | 4 +- doc/ref/core/html/host__port_8h_source.html | 6 +- doc/ref/core/html/index.html | 9 +- doc/ref/core/html/log_8h.html | 4 +- doc/ref/core/html/log_8h_source.html | 6 +- doc/ref/core/html/log__win32_8h.html | 4 +- doc/ref/core/html/log__win32_8h_source.html | 6 +- doc/ref/core/html/port__platform_8h.html | 4 +- .../core/html/port__platform_8h_source.html | 557 ++++---- doc/ref/core/html/search/all_1.js | 2 + doc/ref/core/html/search/all_10.js | 33 +- doc/ref/core/html/search/all_11.js | 18 +- doc/ref/core/html/search/all_12.js | 4 +- doc/ref/core/html/search/all_13.js | 4 +- doc/ref/core/html/search/all_2.js | 62 +- doc/ref/core/html/search/all_3.js | 5 +- doc/ref/core/html/search/all_4.js | 3 +- doc/ref/core/html/search/all_5.js | 404 +----- doc/ref/core/html/search/all_6.js | 422 +++++- doc/ref/core/html/search/all_7.js | 9 +- doc/ref/core/html/search/all_8.js | 5 +- doc/ref/core/html/search/all_9.js | 7 +- doc/ref/core/html/search/all_a.js | 10 +- doc/ref/core/html/search/all_b.js | 8 +- doc/ref/core/html/search/all_c.js | 5 +- doc/ref/core/html/search/all_d.js | 9 +- doc/ref/core/html/search/all_e.js | 13 +- doc/ref/core/html/search/all_f.js | 30 +- doc/ref/core/html/search/classes_0.js | 9 +- doc/ref/core/html/search/classes_1.js | 4 +- doc/ref/core/html/search/defines_0.js | 77 +- .../html/search/defines_1.html} | 2 +- doc/ref/core/html/search/defines_1.js | 83 ++ doc/ref/core/html/search/enums_0.js | 3 +- doc/ref/core/html/search/enumvalues_0.js | 4 +- doc/ref/core/html/search/enumvalues_1.js | 3 + doc/ref/core/html/search/files_2.js | 1 - doc/ref/core/html/search/functions_0.js | 33 +- doc/ref/core/html/search/functions_1.js | 65 +- doc/ref/core/html/search/search.js | 6 +- doc/ref/core/html/search/typedefs_0.js | 6 +- doc/ref/core/html/search/typedefs_1.js | 2 + doc/ref/core/html/search/variables_1.js | 2 + doc/ref/core/html/search/variables_10.js | 18 +- doc/ref/core/html/search/variables_11.js | 11 +- doc/ref/core/html/search/variables_12.js | 3 +- doc/ref/core/html/search/variables_13.js | 4 +- doc/ref/core/html/search/variables_2.js | 10 +- doc/ref/core/html/search/variables_3.js | 5 +- doc/ref/core/html/search/variables_4.js | 3 +- doc/ref/core/html/search/variables_5.js | 3 +- doc/ref/core/html/search/variables_6.js | 5 +- doc/ref/core/html/search/variables_7.js | 7 +- doc/ref/core/html/search/variables_8.js | 5 +- doc/ref/core/html/search/variables_9.js | 5 +- doc/ref/core/html/search/variables_a.js | 8 +- doc/ref/core/html/search/variables_b.js | 8 +- doc/ref/core/html/search/variables_c.js | 5 +- doc/ref/core/html/search/variables_d.js | 8 +- doc/ref/core/html/search/variables_e.js | 12 +- doc/ref/core/html/search/variables_f.js | 21 +- doc/ref/core/html/slice_8h.html | 6 +- doc/ref/core/html/slice_8h_source.html | 20 +- doc/ref/core/html/slice__buffer_8h.html | 32 +- .../core/html/slice__buffer_8h_source.html | 21 +- doc/ref/core/html/status_8h.html | 4 +- doc/ref/core/html/status_8h_source.html | 6 +- doc/ref/core/html/string__util_8h.html | 4 +- doc/ref/core/html/string__util_8h_source.html | 6 +- .../core/html/structcensus__aggregation.html | 142 ++ .../html/structcensus__rpc__name__info.html | 143 ++ .../core/html/structcensus__tag__const.html | 164 +++ .../core/html/structcensus__timestamp.html | 127 ++ .../html/structcensus__trace__record.html | 197 +++ .../html/structcensus__value.html} | 24 +- ...structcensus__view__aggregation__data.html | 142 ++ .../core/html/structcensus__view__data.html | 142 ++ doc/ref/core/html/structgpr__cancellable.html | 150 --- doc/ref/core/html/structgpr__event.html | 4 +- .../html/structgpr__gcc__thread__local.html | 4 +- .../core/html/structgpr__log__func__args.html | 4 +- .../html/structgpr__msvc__thread__local.html | 4 +- doc/ref/core/html/structgpr__mu.html | 4 +- .../structgpr__pthread__thread__local.html | 4 +- doc/ref/core/html/structgpr__refcount.html | 4 +- doc/ref/core/html/structgpr__slice.html | 44 +- .../core/html/structgpr__slice__buffer.html | 4 +- .../core/html/structgpr__slice__refcount.html | 4 +- .../core/html/structgpr__stats__counter.html | 4 +- .../core/html/structgpr__thd__options.html | 4 +- doc/ref/core/html/structgpr__timespec.html | 4 +- doc/ref/core/html/structgrpc__arg.html | 40 +- ...tructgrpc__auth__metadata__processor.html} | 36 +- .../core/html/structgrpc__auth__property.html | 4 +- .../structgrpc__auth__property__iterator.html | 4 +- .../core/html/structgrpc__byte__buffer.html | 51 +- .../structgrpc__byte__buffer__reader.html | 16 +- .../core/html/structgrpc__call__details.html | 18 +- .../core/html/structgrpc__channel__args.html | 4 +- .../structgrpc__compression__options.html | 142 ++ doc/ref/core/html/structgrpc__event.html | 4 +- doc/ref/core/html/structgrpc__metadata.html | 36 +- .../html/structgrpc__metadata__array.html | 4 +- doc/ref/core/html/structgrpc__op.html | 147 ++- ...structgrpc__ssl__pem__key__cert__pair.html | 4 +- doc/ref/core/html/subprocess_8h.html | 4 +- doc/ref/core/html/subprocess_8h_source.html | 6 +- doc/ref/core/html/sync_8h.html | 151 +-- doc/ref/core/html/sync_8h_source.html | 539 ++++---- doc/ref/core/html/sync__generic_8h.html | 4 +- .../core/html/sync__generic_8h_source.html | 50 +- doc/ref/core/html/sync__posix_8h.html | 4 +- doc/ref/core/html/sync__posix_8h_source.html | 6 +- doc/ref/core/html/sync__win32_8h.html | 4 +- doc/ref/core/html/sync__win32_8h_source.html | 6 +- doc/ref/core/html/thd_8h.html | 4 +- doc/ref/core/html/thd_8h_source.html | 8 +- doc/ref/core/html/time_8h.html | 7 +- doc/ref/core/html/time_8h_source.html | 147 ++- doc/ref/core/html/tls_8h.html | 4 +- doc/ref/core/html/tls_8h_source.html | 8 +- doc/ref/core/html/tls__gcc_8h.html | 20 +- doc/ref/core/html/tls__gcc_8h_source.html | 24 +- doc/ref/core/html/tls__msvc_8h.html | 20 +- doc/ref/core/html/tls__msvc_8h_source.html | 24 +- doc/ref/core/html/tls__pthread_8h.html | 4 +- doc/ref/core/html/tls__pthread_8h_source.html | 6 +- doc/ref/core/html/useful_8h.html | 12 +- doc/ref/core/html/useful_8h_source.html | 14 +- 1915 files changed, 51144 insertions(+), 28138 deletions(-) rename doc/ref/{c++/html/stream_8h.html => c++.internal/html/async__stream_8h.html} (70%) create mode 100644 doc/ref/c++.internal/html/async__stream_8h_source.html rename doc/ref/{c++/html/fixed__size__thread__pool_8h.html => c++.internal/html/auth__metadata__processor_8h.html} (86%) rename doc/ref/{c++/html/dynamic__thread__pool_8h_source.html => c++.internal/html/auth__metadata__processor_8h_source.html} (59%) delete mode 100644 doc/ref/c++.internal/html/channel__interface_8h_source.html rename doc/ref/c++.internal/html/{classgrpc_1_1_channel_interface.html => classgrpc_1_1_auth_metadata_processor.html} (56%) rename doc/ref/c++.internal/html/{classgrpc_1_1_internal_stub.html => classgrpc_1_1_auth_metadata_processor_aync_wrapper.html} (60%) create mode 100644 doc/ref/c++.internal/html/classgrpc_1_1_propagation_options.html create mode 100644 doc/ref/c++.internal/html/classgrpc_1_1_server_1_1_unimplemented_async_request.html rename doc/ref/{c++/html/classgrpc_1_1_internal_stub.html => c++.internal/html/classgrpc_1_1_server_1_1_unimplemented_async_request_context.html} (69%) create mode 100644 doc/ref/c++.internal/html/classgrpc_1_1_server_1_1_unimplemented_async_response.html create mode 100644 doc/ref/c++.internal/html/classgrpc_1_1_stub_options.html rename doc/ref/{c++/html/classgrpc_1_1_dynamic_thread_pool.html => c++.internal/html/classgrpc_1_1_unknown_method_handler.html} (62%) create mode 100644 doc/ref/c++.internal/html/classgrpc_1_1string__ref.html rename doc/ref/c++.internal/html/{internal__stub_8cc.html => create__channel__internal_8cc.html} (82%) create mode 100644 doc/ref/c++.internal/html/create__channel__internal_8h.html rename doc/ref/{c++/html/thread__pool__interface_8h_source.html => c++.internal/html/create__channel__internal_8h_source.html} (74%) create mode 100644 doc/ref/c++.internal/html/dir_19df79a805b4861569a906876c7b9634.html rename doc/ref/{c++/html/internal__stub_8h.html => c++.internal/html/dir_7d74774c8f3e0db94d40932630f431b6.html} (75%) create mode 100644 doc/ref/c++.internal/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html create mode 100644 doc/ref/c++.internal/html/functions_func_x.html create mode 100644 doc/ref/c++.internal/html/functions_type.html create mode 100644 doc/ref/c++.internal/html/functions_x.html delete mode 100644 doc/ref/c++.internal/html/internal__stub_8h_source.html rename doc/ref/{c++/html/search/files_9.html => c++.internal/html/search/all_18.html} (94%) create mode 100644 doc/ref/c++.internal/html/search/all_18.js delete mode 100644 doc/ref/c++.internal/html/search/classes_f.js create mode 100644 doc/ref/c++.internal/html/search/functions_15.html create mode 100644 doc/ref/c++.internal/html/search/functions_15.js rename doc/ref/c++.internal/html/search/{classes_f.html => related_8.html} (94%) create mode 100644 doc/ref/c++.internal/html/search/related_8.js create mode 100644 doc/ref/c++.internal/html/search/typedefs_7.html create mode 100644 doc/ref/c++.internal/html/search/typedefs_7.js create mode 100644 doc/ref/c++.internal/html/search/typedefs_8.html create mode 100644 doc/ref/c++.internal/html/search/typedefs_8.js create mode 100644 doc/ref/c++.internal/html/search/variables_a.html create mode 100644 doc/ref/c++.internal/html/search/variables_a.js create mode 100644 doc/ref/c++.internal/html/search/variables_b.html create mode 100644 doc/ref/c++.internal/html/search/variables_b.js delete mode 100644 doc/ref/c++.internal/html/stream_8h_source.html rename doc/ref/{c++/html/thread__pool__interface_8h.html => c++.internal/html/string__ref_8cc.html} (61%) rename doc/ref/c++.internal/html/{auth__property__iterator_8h.html => string__ref_8h.html} (63%) create mode 100644 doc/ref/c++.internal/html/string__ref_8h_source.html rename doc/ref/{c++/html/channel__interface_8h.html => c++.internal/html/stub__options_8h.html} (89%) rename doc/ref/{core.internal/html/httpcli__security__connector_8h_source.html => c++.internal/html/stub__options_8h_source.html} (68%) create mode 100644 doc/ref/c++.internal/html/sync__stream_8h.html create mode 100644 doc/ref/c++.internal/html/sync__stream_8h_source.html rename doc/ref/{c++.internal/html/stream_8h.html => c++/html/async__stream_8h.html} (70%) create mode 100644 doc/ref/c++/html/async__stream_8h_source.html rename doc/ref/{c++.internal/html/internal__stub_8h.html => c++/html/auth__metadata__processor_8h.html} (86%) rename doc/ref/c++/html/{auth__property__iterator_8h_source.html => auth__metadata__processor_8h_source.html} (58%) create mode 100644 doc/ref/c++/html/channel_8h.html create mode 100644 doc/ref/c++/html/channel_8h_source.html delete mode 100644 doc/ref/c++/html/channel__interface_8h_source.html rename doc/ref/c++/html/{classgrpc_1_1_channel_interface.html => classgrpc_1_1_auth_metadata_processor.html} (56%) create mode 100644 doc/ref/c++/html/classgrpc_1_1_channel.html create mode 100644 doc/ref/c++/html/classgrpc_1_1_propagation_options.html create mode 100644 doc/ref/c++/html/classgrpc_1_1_stub_options.html delete mode 100644 doc/ref/c++/html/classgrpc_1_1_thread_pool_interface.html rename doc/ref/c++/html/{classgrpc_1_1_fixed_size_thread_pool.html => classgrpc_1_1_unknown_method_handler.html} (62%) create mode 100644 doc/ref/c++/html/classgrpc_1_1string__ref.html create mode 100644 doc/ref/c++/html/dir_19df79a805b4861569a906876c7b9634.html create mode 100644 doc/ref/c++/html/dir_7d74774c8f3e0db94d40932630f431b6.html create mode 100644 doc/ref/c++/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html delete mode 100644 doc/ref/c++/html/dynamic__thread__pool_8h.html delete mode 100644 doc/ref/c++/html/fixed__size__thread__pool_8h_source.html create mode 100644 doc/ref/c++/html/functions_func_x.html create mode 100644 doc/ref/c++/html/functions_type.html create mode 100644 doc/ref/c++/html/functions_x.html delete mode 100644 doc/ref/c++/html/internal__stub_8h_source.html rename doc/ref/c++/html/search/{files_a.html => all_17.html} (94%) create mode 100644 doc/ref/c++/html/search/all_17.js delete mode 100644 doc/ref/c++/html/search/classes_e.js delete mode 100644 doc/ref/c++/html/search/classes_f.js delete mode 100644 doc/ref/c++/html/search/files_8.js delete mode 100644 doc/ref/c++/html/search/files_9.js delete mode 100644 doc/ref/c++/html/search/files_a.js create mode 100644 doc/ref/c++/html/search/functions_15.html create mode 100644 doc/ref/c++/html/search/functions_15.js rename doc/ref/c++/html/search/{classes_e.html => related_8.html} (94%) create mode 100644 doc/ref/c++/html/search/related_8.js create mode 100644 doc/ref/c++/html/search/typedefs_7.html create mode 100644 doc/ref/c++/html/search/typedefs_7.js create mode 100644 doc/ref/c++/html/search/variables_9.html create mode 100644 doc/ref/c++/html/search/variables_9.js delete mode 100644 doc/ref/c++/html/stream_8h_source.html rename doc/ref/c++/html/{auth__property__iterator_8h.html => string__ref_8h.html} (63%) create mode 100644 doc/ref/c++/html/string__ref_8h_source.html rename doc/ref/{c++.internal/html/channel__interface_8h.html => c++/html/stub__options_8h.html} (89%) create mode 100644 doc/ref/c++/html/stub__options_8h_source.html create mode 100644 doc/ref/c++/html/sync__stream_8h.html create mode 100644 doc/ref/c++/html/sync__stream_8h_source.html rename doc/ref/{core/html/cancellable__platform_8h.html => core.internal/html/aggregation_8h.html} (80%) rename doc/ref/core.internal/html/{cancellable__platform_8h_source.html => aggregation_8h_source.html} (51%) delete mode 100644 doc/ref/core.internal/html/cancellable_8c.html create mode 100644 doc/ref/core.internal/html/census__interface_8h.html rename doc/ref/{c++.internal/html/auth__property__iterator_8h_source.html => core.internal/html/census__interface_8h_source.html} (51%) rename doc/ref/core.internal/html/{pollset__kick__posix_8h.html => census__rpc__stats_8h.html} (50%) create mode 100644 doc/ref/core.internal/html/census__rpc__stats_8h_source.html create mode 100644 doc/ref/core.internal/html/dir_74d191036da95c8575e4e637193ed623.html create mode 100644 doc/ref/core.internal/html/globals_func_d.html create mode 100644 doc/ref/core.internal/html/grpc__filter_8c.html rename doc/ref/core.internal/html/{census__filter_8h.html => grpc__filter_8h.html} (91%) rename doc/ref/core.internal/html/{census__filter_8h_source.html => grpc__filter_8h_source.html} (87%) delete mode 100644 doc/ref/core.internal/html/httpcli__security__connector_8h.html create mode 100644 doc/ref/core.internal/html/operation_8c.html delete mode 100644 doc/ref/core.internal/html/pollset__kick__posix_8h_source.html rename doc/ref/core.internal/html/{rpc__stat__id_8h.html => rpc__metric__id_8h.html} (62%) rename doc/ref/core.internal/html/{rpc__stat__id_8h_source.html => rpc__metric__id_8h_source.html} (76%) create mode 100644 doc/ref/core.internal/html/search/classes_13.html create mode 100644 doc/ref/core.internal/html/search/classes_13.js rename doc/ref/{c++/html/search/files_8.html => core.internal/html/search/files_14.html} (94%) create mode 100644 doc/ref/core.internal/html/search/files_14.js create mode 100644 doc/ref/core.internal/html/search/functions_6.html create mode 100644 doc/ref/core.internal/html/search/functions_6.js create mode 100644 doc/ref/core.internal/html/structcensus__aggregated__rpc__stats.html create mode 100644 doc/ref/core.internal/html/structcensus__aggregation.html create mode 100644 doc/ref/core.internal/html/structcensus__aggregation__ops.html create mode 100644 doc/ref/core.internal/html/structcensus__op__id.html rename doc/ref/core.internal/html/{structgrpc__service__account__credentials.html => structcensus__per__method__rpc__stats.html} (70%) create mode 100644 doc/ref/core.internal/html/structcensus__rpc__name__info.html create mode 100644 doc/ref/core.internal/html/structcensus__rpc__stats.html rename doc/ref/core.internal/html/{structgrpc__kick__fd__info.html => structcensus__tag__const.html} (70%) rename doc/ref/core.internal/html/{structgrpc__precise__clock.html => structcensus__timestamp.html} (81%) rename doc/ref/core.internal/html/{structgpr__cancellable__list__.html => structcensus__trace__record.html} (57%) rename doc/ref/{core/html/structcensus__stat.html => core.internal/html/structcensus__value.html} (83%) create mode 100644 doc/ref/core.internal/html/structcensus__view__aggregation__data.html create mode 100644 doc/ref/core.internal/html/structcensus__view__data.html rename doc/ref/core.internal/html/{structgrpc__pollset__kick__state.html => structclose__message__data.html} (74%) create mode 100644 doc/ref/core.internal/html/structgrpc__auth__metadata__processor.html rename doc/ref/core.internal/html/{structrequest__killer.html => structgrpc__auth__property__array.html} (76%) create mode 100644 doc/ref/core.internal/html/structgrpc__compression__options.html rename doc/ref/core.internal/html/{structgrpc__iam__credentials.html => structgrpc__google__iam__credentials.html} (86%) rename doc/ref/core.internal/html/{structgrpc__refresh__token__credentials.html => structgrpc__google__refresh__token__credentials.html} (85%) create mode 100644 doc/ref/core.internal/html/structgrpc__httpcli__handshaker.html rename doc/ref/core.internal/html/{structgrpc__fake__oauth2__credentials.html => structgrpc__md__only__test__credentials.html} (82%) create mode 100644 doc/ref/core.internal/html/structgrpc__plugin.html rename doc/ref/{core/html/structgpr__cancellable__list__.html => core.internal/html/structgrpc__pollset__worker.html} (71%) rename doc/ref/core.internal/html/{structgrpc__wakeup__fd__info.html => structgrpc__wakeup__fd.html} (86%) create mode 100644 doc/ref/core.internal/html/structon__done__closure.html rename doc/ref/core.internal/html/{structregistered__resolver.html => structplucker.html} (80%) rename doc/ref/core.internal/html/{pollset__kick__posix_8c.html => time__precise_8h.html} (87%) rename doc/ref/core.internal/html/{timers__preciseclock_8h_source.html => time__precise_8h_source.html} (68%) delete mode 100644 doc/ref/core.internal/html/timers__preciseclock_8h.html rename doc/ref/core.internal/html/{record__stat_8c.html => tracing_8c.html} (58%) rename doc/ref/core.internal/html/{cancellable__platform_8h.html => udp__server_8c.html} (75%) create mode 100644 doc/ref/core.internal/html/udp__server_8h.html create mode 100644 doc/ref/core.internal/html/udp__server_8h_source.html delete mode 100644 doc/ref/core/html/cancellable__platform_8h_source.html rename doc/ref/{c++/html/search/classes_f.html => core/html/search/defines_1.html} (94%) create mode 100644 doc/ref/core/html/search/defines_1.js create mode 100644 doc/ref/core/html/structcensus__aggregation.html create mode 100644 doc/ref/core/html/structcensus__rpc__name__info.html create mode 100644 doc/ref/core/html/structcensus__tag__const.html create mode 100644 doc/ref/core/html/structcensus__timestamp.html create mode 100644 doc/ref/core/html/structcensus__trace__record.html rename doc/ref/{core.internal/html/structcensus__stat.html => core/html/structcensus__value.html} (83%) create mode 100644 doc/ref/core/html/structcensus__view__aggregation__data.html create mode 100644 doc/ref/core/html/structcensus__view__data.html delete mode 100644 doc/ref/core/html/structgpr__cancellable.html rename doc/ref/{core.internal/html/structgpr__cancellable.html => core/html/structgrpc__auth__metadata__processor.html} (65%) create mode 100644 doc/ref/core/html/structgrpc__compression__options.html diff --git a/doc/ref/c++.internal/html/annotated.html b/doc/ref/c++.internal/html/annotated.html index b37f89966e8..beafc823be5 100644 --- a/doc/ref/c++.internal/html/annotated.html +++ b/doc/ref/c++.internal/html/annotated.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -89,121 +89,128 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Here are the data structures with brief descriptions:
[detail level 1234]
- - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
oNgrpc
|oNCallOpGenericRecvMessageHelper
|oNprotobuf
oNgrpc
|oNtesting
|oCGenericServerContext
|oCAsyncGenericService
|oCClientAsyncResponseReaderInterface
|oCClientAsyncResponseReader
|oCServerAsyncResponseWriter
|oCAuthContext
|oCAuthPropertyIterator
|oCByteBuffer
|oCSerializationTraits< ByteBuffer, void >
|oCChannelArguments
|oCChannelInterface
|oCClientReader
|oCClientWriter
|oCClientReaderWriter
|oCClientAsyncReader
|oCClientAsyncWriter
|oCClientAsyncReaderWriter
|oCClientContext
|oCServerReader
|oCServerWriter
|oCServerReaderWriter
|oCRpcMethodHandler
|oCClientStreamingHandler
|oCServerStreamingHandler
|oCBidiStreamingHandler
|oCCompletionQueueTag
|oCCompletionQueue
|oCServerCompletionQueue
|oCCredentials
|oCSslCredentialsOptions
|oCDynamicThreadPool
|oCFixedSizeThreadPool
|oCGenericStub
|oCWriteOptionsPer-message write options
|oCCallNoOpDefault argument for CallOpSet
|oCCallOpSendInitialMetadata
|oCCallOpSendMessage
|oCCallOpRecvMessage
|oCCallOpGenericRecvMessage
|oCCallOpClientSendClose
|oCCallOpServerSendStatus
|oCCallOpRecvInitialMetadata
|oCCallOpClientRecvStatus
|oCCallOpSetInterfaceAn abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API
|oCCallOpSetPrimary implementaiton of CallOpSetInterface
|oCSneakyCallOpSetA CallOpSet that does not post completions to the completion queue
|oCCallHook
|oCCall
|oCGrpcLibrary
|oCInternalStub
|oCSerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
|oCRpcMethod
|oCMethodHandler
|oCRpcServiceMethod
|oCRpcService
|oCSerializationTraitsDefines how to serialize and deserialize some type
|oCSynchronousService
|oCServerAsyncStreamingInterface
|oCAsynchronousService
|oClock_guard
|oCmutex
|oCunique_lock
|oCcondition_variable
|oCthread
|oCServer
|oCServerBuilder
|oCServerAsyncReader
|oCServerAsyncWriter
|oCServerAsyncReaderWriter
|oCServerContext
|oCServerCredentials
|oCSslServerCredentialsOptions
|oCSlice
|oCStatus
|oCClientStreamingInterface
|oCReaderInterface
|oCWriterInterface
|oCClientReaderInterface
|oCClientWriterInterface
|oCClientReaderWriterInterface
|oCClientAsyncStreamingInterface
|oCAsyncReaderInterface
|oCAsyncWriterInterface
|oCClientAsyncReaderInterface
|oCClientAsyncWriterInterface
|oCClientAsyncReaderWriterInterface
|oCThreadPoolInterface
|oCTimePoint
|oCTimePoint< gpr_timespec >
|oCTimePoint< std::chrono::system_clock::time_point >
|oCSecureCredentials
|oCSecureAuthContext
|oCSecureServerCredentials
|\CChannel
oCGrpcBufferReader
\CGrpcBufferWriter
oCGrpcBufferReader
\CGrpcBufferWriter
diff --git a/doc/ref/c++.internal/html/async__generic__service_8cc.html b/doc/ref/c++.internal/html/async__generic__service_8cc.html index 073af1a1ac8..5d8333db7db 100644 --- a/doc/ref/c++.internal/html/async__generic__service_8cc.html +++ b/doc/ref/c++.internal/html/async__generic__service_8cc.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
async_generic_service.cc File Reference
-
#include <grpc++/async_generic_service.h>
+ diff --git a/doc/ref/c++.internal/html/async__generic__service_8h.html b/doc/ref/c++.internal/html/async__generic__service_8h.html index 00fad6432f5..aa463292e33 100644 --- a/doc/ref/c++.internal/html/async__generic__service_8h.html +++ b/doc/ref/c++.internal/html/async__generic__service_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_generic_service.h File Reference +GRPC C++: include/grpc++/generic/async_generic_service.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
async_generic_service.h File Reference

@@ -102,7 +102,7 @@ Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -120,7 +120,7 @@ ServerAsyncReaderWriter
diff --git a/doc/ref/c++.internal/html/async__generic__service_8h_source.html b/doc/ref/c++.internal/html/async__generic__service_8h_source.html index c1d4007b3e2..39b3468373d 100644 --- a/doc/ref/c++.internal/html/async__generic__service_8h_source.html +++ b/doc/ref/c++.internal/html/async__generic__service_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_generic_service.h Source File +GRPC C++: include/grpc++/generic/async_generic_service.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,17 +122,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_ASYNC_GENERIC_SERVICE_H
-
35 #define GRPCXX_ASYNC_GENERIC_SERVICE_H
+
34 #ifndef GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
+
35 #define GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
36 
-
37 #include <grpc++/byte_buffer.h>
-
38 #include <grpc++/stream.h>
+ +
39 
40 struct grpc_server;
41 
-
42 namespace grpc {
+
42 namespace grpc {
43 
- +
44 typedef ServerAsyncReaderWriter<ByteBuffer, ByteBuffer>
46 
@@ -166,27 +166,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
75 
76 } // namespace grpc
77 
-
78 #endif // GRPCXX_ASYNC_GENERIC_SERVICE_H
+
78 #endif // GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
std::string string
Definition: config.h:112
-
Definition: server_context.h:60
+
AsyncGenericService(const grpc::string &methods)
Definition: async_generic_service.h:64
#define GRPC_FINAL
Definition: config.h:71
Definition: async_generic_service.h:59
void RequestCall(GenericServerContext *ctx, GenericServerAsyncReaderWriter *reader_writer, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
Definition: async_generic_service.cc:40
- -
Definition: server.h:61
+ +
Models a gRPC server.
Definition: server.h:63
ServerAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericServerAsyncReaderWriter
Definition: async_generic_service.h:45
-
Definition: server_context.h:86
+
Definition: server_context.h:89
Definition: async_generic_service.h:47
-
Definition: completion_queue.h:87
-
Definition: completion_queue.h:162
+
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:81
+
A specific type of completion queue used by the processing of notifications by servers.
Definition: completion_queue.h:204
const grpc::string & host() const
Definition: async_generic_service.h:50
const grpc::string & method() const
Definition: async_generic_service.h:49
diff --git a/doc/ref/c++/html/stream_8h.html b/doc/ref/c++.internal/html/async__stream_8h.html similarity index 70% rename from doc/ref/c++/html/stream_8h.html rename to doc/ref/c++.internal/html/async__stream_8h.html index 077629524e4..ad36e56fd9e 100644 --- a/doc/ref/c++/html/stream_8h.html +++ b/doc/ref/c++.internal/html/async__stream_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/stream.h File Reference +GRPC C++: include/grpc++/support/async_stream.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -89,61 +89,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
-
stream.h File Reference
+
async_stream.h File Reference
-
GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
- - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -152,6 +133,7 @@ Data Structures +

Data Structures

class  grpc::ClientStreamingInterface
 
class  grpc::ReaderInterface< R >
 
class  grpc::WriterInterface< W >
 
class  grpc::ClientReaderInterface< R >
 
class  grpc::ClientReader< R >
 
class  grpc::ClientWriterInterface< W >
 
class  grpc::ClientWriter< W >
 
class  grpc::ClientReaderWriterInterface< W, R >
 
class  grpc::ClientReaderWriter< R, W >
 
class  grpc::ServerReader< R >
 
class  grpc::ServerWriter< W >
 
class  grpc::ServerReaderWriter< R, W >
 
class  grpc::ClientAsyncStreamingInterface
 Common interface for all client side asynchronous streaming. More...
 
class  grpc::AsyncReaderInterface< R >
 An interface that yields a sequence of messages of type R. More...
 
class  grpc::AsyncWriterInterface< W >
 An interface that can be fed a sequence of messages of type W. More...
 
class  grpc::ClientAsyncReaderInterface< R >
 
class  grpc::ClientAsyncReader< R >
 
class  grpc::ClientAsyncWriterInterface< W >
 Common interface for client side asynchronous writing. More...
 
class  grpc::ClientAsyncWriter< W >
 
class  grpc::ClientAsyncReaderWriterInterface< W, R >
 Client-side interface for asynchronous bi-directional streaming. More...
 
class  grpc::ClientAsyncReaderWriter< R, W >
 
class  grpc::ServerAsyncWriter< W >
 
class  grpc::ServerAsyncReaderWriter< R, W >
 Server-side interface for asynchronous bi-directional streaming. More...
 
diff --git a/doc/ref/c++.internal/html/async__stream_8h_source.html b/doc/ref/c++.internal/html/async__stream_8h_source.html new file mode 100644 index 00000000000..441f3a7f503 --- /dev/null +++ b/doc/ref/c++.internal/html/async__stream_8h_source.html @@ -0,0 +1,598 @@ + + + + + + +GRPC C++: include/grpc++/support/async_stream.h Source File + + + + + + + + + +
+
+

@@ -162,7 +144,7 @@ Namespaces

+ + + + + +
+
GRPC C++ +  0.11.0.0 +
+
+
+ + + + + + + + + +
+ +
+ + +
+
+
+
async_stream.h
+
+
+Go to the documentation of this file.
1 /*
+
2  *
+
3  * Copyright 2015, Google Inc.
+
4  * All rights reserved.
+
5  *
+
6  * Redistribution and use in source and binary forms, with or without
+
7  * modification, are permitted provided that the following conditions are
+
8  * met:
+
9  *
+
10  * * Redistributions of source code must retain the above copyright
+
11  * notice, this list of conditions and the following disclaimer.
+
12  * * Redistributions in binary form must reproduce the above
+
13  * copyright notice, this list of conditions and the following disclaimer
+
14  * in the documentation and/or other materials provided with the
+
15  * distribution.
+
16  * * Neither the name of Google Inc. nor the names of its
+
17  * contributors may be used to endorse or promote products derived from
+
18  * this software without specific prior written permission.
+
19  *
+
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
31  *
+
32  */
+
33 
+
34 #ifndef GRPCXX_SUPPORT_ASYNC_STREAM_H
+
35 #define GRPCXX_SUPPORT_ASYNC_STREAM_H
+
36 
+
37 #include <grpc/support/log.h>
+
38 #include <grpc++/channel.h>
+
39 #include <grpc++/client_context.h>
+ +
41 #include <grpc++/impl/call.h>
+ +
43 #include <grpc++/server_context.h>
+
44 #include <grpc++/support/status.h>
+
45 
+
46 namespace grpc {
+
47 
+ +
50  public:
+ +
52 
+
57  virtual void ReadInitialMetadata(void* tag) = 0;
+
58 
+
63  virtual void Finish(Status* status, void* tag) = 0;
+
64 };
+
65 
+
67 template <class R>
+ +
69  public:
+
70  virtual ~AsyncReaderInterface() {}
+
71 
+
77  virtual void Read(R* msg, void* tag) = 0;
+
78 };
+
79 
+
81 template <class W>
+ +
83  public:
+
84  virtual ~AsyncWriterInterface() {}
+
85 
+
90  virtual void Write(const W& msg, void* tag) = 0;
+
91 };
+
92 
+
93 template <class R>
+ +
95  public AsyncReaderInterface<R> {};
+
96 
+
97 template <class R>
+ +
99  public:
+
101  template <class W>
+ +
103  const RpcMethod& method, ClientContext* context,
+
104  const W& request, void* tag)
+
105  : context_(context), call_(channel->CreateCall(method, context, cq)) {
+
106  init_ops_.set_output_tag(tag);
+
107  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
+
108  // TODO(ctiller): don't assert
+
109  GPR_ASSERT(init_ops_.SendMessage(request).ok());
+
110  init_ops_.ClientSendClose();
+
111  call_.PerformOps(&init_ops_);
+
112  }
+
113 
+ +
115  GPR_ASSERT(!context_->initial_metadata_received_);
+
116 
+
117  meta_ops_.set_output_tag(tag);
+
118  meta_ops_.RecvInitialMetadata(context_);
+
119  call_.PerformOps(&meta_ops_);
+
120  }
+
121 
+
122  void Read(R* msg, void* tag) GRPC_OVERRIDE {
+
123  read_ops_.set_output_tag(tag);
+
124  if (!context_->initial_metadata_received_) {
+
125  read_ops_.RecvInitialMetadata(context_);
+
126  }
+
127  read_ops_.RecvMessage(msg);
+
128  call_.PerformOps(&read_ops_);
+
129  }
+
130 
+
131  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
+
132  finish_ops_.set_output_tag(tag);
+
133  if (!context_->initial_metadata_received_) {
+
134  finish_ops_.RecvInitialMetadata(context_);
+
135  }
+
136  finish_ops_.ClientRecvStatus(context_, status);
+
137  call_.PerformOps(&finish_ops_);
+
138  }
+
139 
+
140  private:
+
141  ClientContext* context_;
+
142  Call call_;
+ +
144  init_ops_;
+ + + +
148 };
+
149 
+
151 template <class W>
+ +
153  public AsyncWriterInterface<W> {
+
154  public:
+
158  virtual void WritesDone(void* tag) = 0;
+
159 };
+
160 
+
161 template <class W>
+ +
163  public:
+
164  template <class R>
+ +
166  const RpcMethod& method, ClientContext* context,
+
167  R* response, void* tag)
+
168  : context_(context), call_(channel->CreateCall(method, context, cq)) {
+
169  finish_ops_.RecvMessage(response);
+
170 
+
171  init_ops_.set_output_tag(tag);
+
172  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
+
173  call_.PerformOps(&init_ops_);
+
174  }
+
175 
+ +
177  GPR_ASSERT(!context_->initial_metadata_received_);
+
178 
+
179  meta_ops_.set_output_tag(tag);
+
180  meta_ops_.RecvInitialMetadata(context_);
+
181  call_.PerformOps(&meta_ops_);
+
182  }
+
183 
+
184  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
+
185  write_ops_.set_output_tag(tag);
+
186  // TODO(ctiller): don't assert
+
187  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
+
188  call_.PerformOps(&write_ops_);
+
189  }
+
190 
+
191  void WritesDone(void* tag) GRPC_OVERRIDE {
+
192  writes_done_ops_.set_output_tag(tag);
+
193  writes_done_ops_.ClientSendClose();
+
194  call_.PerformOps(&writes_done_ops_);
+
195  }
+
196 
+
197  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
+
198  finish_ops_.set_output_tag(tag);
+
199  if (!context_->initial_metadata_received_) {
+
200  finish_ops_.RecvInitialMetadata(context_);
+
201  }
+
202  finish_ops_.ClientRecvStatus(context_, status);
+
203  call_.PerformOps(&finish_ops_);
+
204  }
+
205 
+
206  private:
+
207  ClientContext* context_;
+
208  Call call_;
+ + +
211  CallOpSet<CallOpSendMessage> write_ops_;
+
212  CallOpSet<CallOpClientSendClose> writes_done_ops_;
+ +
214  CallOpClientRecvStatus> finish_ops_;
+
215 };
+
216 
+
218 template <class W, class R>
+ +
220  public AsyncWriterInterface<W>,
+
221  public AsyncReaderInterface<R> {
+
222  public:
+
226  virtual void WritesDone(void* tag) = 0;
+
227 };
+
228 
+
229 template <class W, class R>
+ +
231  : public ClientAsyncReaderWriterInterface<W, R> {
+
232  public:
+ +
234  const RpcMethod& method, ClientContext* context,
+
235  void* tag)
+
236  : context_(context), call_(channel->CreateCall(method, context, cq)) {
+
237  init_ops_.set_output_tag(tag);
+
238  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
+
239  call_.PerformOps(&init_ops_);
+
240  }
+
241 
+ +
243  GPR_ASSERT(!context_->initial_metadata_received_);
+
244 
+
245  meta_ops_.set_output_tag(tag);
+
246  meta_ops_.RecvInitialMetadata(context_);
+
247  call_.PerformOps(&meta_ops_);
+
248  }
+
249 
+
250  void Read(R* msg, void* tag) GRPC_OVERRIDE {
+
251  read_ops_.set_output_tag(tag);
+
252  if (!context_->initial_metadata_received_) {
+
253  read_ops_.RecvInitialMetadata(context_);
+
254  }
+
255  read_ops_.RecvMessage(msg);
+
256  call_.PerformOps(&read_ops_);
+
257  }
+
258 
+
259  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
+
260  write_ops_.set_output_tag(tag);
+
261  // TODO(ctiller): don't assert
+
262  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
+
263  call_.PerformOps(&write_ops_);
+
264  }
+
265 
+
266  void WritesDone(void* tag) GRPC_OVERRIDE {
+
267  writes_done_ops_.set_output_tag(tag);
+
268  writes_done_ops_.ClientSendClose();
+
269  call_.PerformOps(&writes_done_ops_);
+
270  }
+
271 
+
272  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
+
273  finish_ops_.set_output_tag(tag);
+
274  if (!context_->initial_metadata_received_) {
+
275  finish_ops_.RecvInitialMetadata(context_);
+
276  }
+
277  finish_ops_.ClientRecvStatus(context_, status);
+
278  call_.PerformOps(&finish_ops_);
+
279  }
+
280 
+
281  private:
+
282  ClientContext* context_;
+
283  Call call_;
+ + + +
287  CallOpSet<CallOpSendMessage> write_ops_;
+
288  CallOpSet<CallOpClientSendClose> writes_done_ops_;
+ +
290 };
+
291 
+
292 template <class W, class R>
+
293 class ServerAsyncReader GRPC_FINAL : public ServerAsyncStreamingInterface,
+
294  public AsyncReaderInterface<R> {
+
295  public:
+ +
297  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
+
298 
+ +
300  GPR_ASSERT(!ctx_->sent_initial_metadata_);
+
301 
+
302  meta_ops_.set_output_tag(tag);
+
303  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
304  ctx_->sent_initial_metadata_ = true;
+
305  call_.PerformOps(&meta_ops_);
+
306  }
+
307 
+
308  void Read(R* msg, void* tag) GRPC_OVERRIDE {
+
309  read_ops_.set_output_tag(tag);
+
310  read_ops_.RecvMessage(msg);
+
311  call_.PerformOps(&read_ops_);
+
312  }
+
313 
+
314  void Finish(const W& msg, const Status& status, void* tag) {
+
315  finish_ops_.set_output_tag(tag);
+
316  if (!ctx_->sent_initial_metadata_) {
+
317  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
318  ctx_->sent_initial_metadata_ = true;
+
319  }
+
320  // The response is dropped if the status is not OK.
+
321  if (status.ok()) {
+
322  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_,
+
323  finish_ops_.SendMessage(msg));
+
324  } else {
+
325  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
+
326  }
+
327  call_.PerformOps(&finish_ops_);
+
328  }
+
329 
+
330  void FinishWithError(const Status& status, void* tag) {
+
331  GPR_ASSERT(!status.ok());
+
332  finish_ops_.set_output_tag(tag);
+
333  if (!ctx_->sent_initial_metadata_) {
+
334  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
335  ctx_->sent_initial_metadata_ = true;
+
336  }
+
337  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
+
338  call_.PerformOps(&finish_ops_);
+
339  }
+
340 
+
341  private:
+
342  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
+
343 
+
344  Call call_;
+
345  ServerContext* ctx_;
+
346  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
+
347  CallOpSet<CallOpRecvMessage<R>> read_ops_;
+
348  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage,
+
349  CallOpServerSendStatus> finish_ops_;
+
350 };
+
351 
+
352 template <class W>
+
353 class ServerAsyncWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
+
354  public AsyncWriterInterface<W> {
+
355  public:
+ +
357  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
+
358 
+ +
360  GPR_ASSERT(!ctx_->sent_initial_metadata_);
+
361 
+
362  meta_ops_.set_output_tag(tag);
+
363  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
364  ctx_->sent_initial_metadata_ = true;
+
365  call_.PerformOps(&meta_ops_);
+
366  }
+
367 
+
368  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
+
369  write_ops_.set_output_tag(tag);
+
370  if (!ctx_->sent_initial_metadata_) {
+
371  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
372  ctx_->sent_initial_metadata_ = true;
+
373  }
+
374  // TODO(ctiller): don't assert
+
375  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
+
376  call_.PerformOps(&write_ops_);
+
377  }
+
378 
+
379  void Finish(const Status& status, void* tag) {
+
380  finish_ops_.set_output_tag(tag);
+
381  if (!ctx_->sent_initial_metadata_) {
+
382  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
383  ctx_->sent_initial_metadata_ = true;
+
384  }
+
385  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
+
386  call_.PerformOps(&finish_ops_);
+
387  }
+
388 
+
389  private:
+
390  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
+
391 
+
392  Call call_;
+
393  ServerContext* ctx_;
+
394  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
+
395  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> write_ops_;
+
396  CallOpSet<CallOpSendInitialMetadata, CallOpServerSendStatus> finish_ops_;
+
397 };
+
398 
+
400 template <class W, class R>
+
401 class ServerAsyncReaderWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
+
402  public AsyncWriterInterface<W>,
+
403  public AsyncReaderInterface<R> {
+
404  public:
+ +
406  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
+
407 
+ +
409  GPR_ASSERT(!ctx_->sent_initial_metadata_);
+
410 
+
411  meta_ops_.set_output_tag(tag);
+
412  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
413  ctx_->sent_initial_metadata_ = true;
+
414  call_.PerformOps(&meta_ops_);
+
415  }
+
416 
+
417  void Read(R* msg, void* tag) GRPC_OVERRIDE {
+
418  read_ops_.set_output_tag(tag);
+
419  read_ops_.RecvMessage(msg);
+
420  call_.PerformOps(&read_ops_);
+
421  }
+
422 
+
423  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
+
424  write_ops_.set_output_tag(tag);
+
425  if (!ctx_->sent_initial_metadata_) {
+
426  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
427  ctx_->sent_initial_metadata_ = true;
+
428  }
+
429  // TODO(ctiller): don't assert
+
430  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
+
431  call_.PerformOps(&write_ops_);
+
432  }
+
433 
+
434  void Finish(const Status& status, void* tag) {
+
435  finish_ops_.set_output_tag(tag);
+
436  if (!ctx_->sent_initial_metadata_) {
+
437  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
+
438  ctx_->sent_initial_metadata_ = true;
+
439  }
+
440  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
+
441  call_.PerformOps(&finish_ops_);
+
442  }
+
443 
+
444  private:
+
445  friend class ::grpc::Server;
+
446 
+
447  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
+
448 
+
449  Call call_;
+
450  ServerContext* ctx_;
+ + + + +
455 };
+
456 
+
457 } // namespace grpc
+
458 
+
459 #endif // GRPCXX_SUPPORT_ASYNC_STREAM_H
+
Common interface for all client side asynchronous streaming.
Definition: async_stream.h:49
+
Definition: channel.h:64
+
ClientAsyncReaderWriter(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, void *tag)
Definition: async_stream.h:233
+
void Write(const W &msg, void *tag) GRPC_OVERRIDE
Request the writing of msg with identifying tag tag.
Definition: async_stream.h:184
+
void Read(R *msg, void *tag) GRPC_OVERRIDE
Read a message of type R into msg.
Definition: async_stream.h:417
+
void WritesDone(void *tag) GRPC_OVERRIDE
Signal the client is done with the writes.
Definition: async_stream.h:191
+ +
void SendInitialMetadata(void *tag) GRPC_OVERRIDE
Definition: async_stream.h:359
+
virtual void WritesDone(void *tag)=0
Signal the client is done with the writes.
+
Definition: call.h:426
+
virtual void Write(const W &msg, void *tag)=0
Request the writing of msg with identifying tag tag.
+
void Write(const W &msg, void *tag) GRPC_OVERRIDE
Request the writing of msg with identifying tag tag.
Definition: async_stream.h:368
+
#define GRPC_FINAL
Definition: config.h:71
+
void Write(const W &msg, void *tag) GRPC_OVERRIDE
Request the writing of msg with identifying tag tag.
Definition: async_stream.h:259
+
void Read(R *msg, void *tag) GRPC_OVERRIDE
Read a message of type R into msg.
Definition: async_stream.h:308
+
void SendInitialMetadata(void *tag) GRPC_OVERRIDE
Definition: async_stream.h:408
+
virtual void WritesDone(void *tag)=0
Signal the client is done with the writes.
+
Definition: client_context.h:149
+
void FinishWithError(const Status &status, void *tag)
Definition: async_stream.h:330
+
void Write(const W &msg, void *tag) GRPC_OVERRIDE
Request the writing of msg with identifying tag tag.
Definition: async_stream.h:423
+ +
virtual ~AsyncReaderInterface()
Definition: async_stream.h:70
+
Definition: async_stream.h:94
+
void WritesDone(void *tag) GRPC_OVERRIDE
Signal the client is done with the writes.
Definition: async_stream.h:266
+
Definition: call.h:560
+
Client-side interface for asynchronous bi-directional streaming.
Definition: async_stream.h:219
+
ServerAsyncWriter(ServerContext *ctx)
Definition: async_stream.h:356
+
void Finish(Status *status, void *tag) GRPC_OVERRIDE
Request notification completion.
Definition: async_stream.h:272
+
void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
Request notification of the reading of the initial metadata.
Definition: async_stream.h:176
+
An interface that can be fed a sequence of messages of type W.
Definition: async_stream.h:82
+ +
Definition: channel.h:62
+
Primary implementaiton of CallOpSetInterface.
Definition: call.h:502
+
Definition: server_context.h:89
+
void Finish(const W &msg, const Status &status, void *tag)
Definition: async_stream.h:314
+
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:81
+
virtual ~ClientAsyncStreamingInterface()
Definition: async_stream.h:51
+
void Finish(Status *status, void *tag) GRPC_OVERRIDE
Request notification completion.
Definition: async_stream.h:197
+
void Finish(const Status &status, void *tag)
Definition: async_stream.h:379
+ +
virtual void ReadInitialMetadata(void *tag)=0
Request notification of the reading of the initial metadata.
+
Definition: rpc_method.h:43
+
ClientAsyncReader(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
Create a stream and write the first request out.
Definition: async_stream.h:102
+ +
void Finish(Status *status, void *tag) GRPC_OVERRIDE
Request notification completion.
Definition: async_stream.h:131
+
void PerformOps(CallOpSetInterface *ops)
Definition: call.cc:85
+
bool ok() const
Is the status OK?
Definition: status.h:67
+ +
Did it work? If it didn't, why?
Definition: status.h:45
+
virtual void Finish(Status *status, void *tag)=0
Request notification completion.
+
void SendInitialMetadata(void *tag) GRPC_OVERRIDE
Definition: async_stream.h:299
+
void Read(R *msg, void *tag) GRPC_OVERRIDE
Read a message of type R into msg.
Definition: async_stream.h:122
+
void Read(R *msg, void *tag) GRPC_OVERRIDE
Read a message of type R into msg.
Definition: async_stream.h:250
+
ServerAsyncReaderWriter(ServerContext *ctx)
Definition: async_stream.h:405
+
Definition: channel.h:60
+
virtual ~AsyncWriterInterface()
Definition: async_stream.h:84
+
void Finish(const Status &status, void *tag)
Definition: async_stream.h:434
+
ClientAsyncWriter(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, R *response, void *tag)
Definition: async_stream.h:165
+
#define GRPC_OVERRIDE
Definition: config.h:77
+
void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
Request notification of the reading of the initial metadata.
Definition: async_stream.h:242
+
Definition: call.h:396
+
virtual void Read(R *msg, void *tag)=0
Read a message of type R into msg.
+
Definition: call.h:289
+ +
ServerAsyncReader(ServerContext *ctx)
Definition: async_stream.h:296
+
An interface that yields a sequence of messages of type R.
Definition: async_stream.h:68
+
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: channel.h:69
+
void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
Request notification of the reading of the initial metadata.
Definition: async_stream.h:114
+
Common interface for client side asynchronous writing.
Definition: async_stream.h:152
+
+ + + + diff --git a/doc/ref/c++.internal/html/async__unary__call_8h.html b/doc/ref/c++.internal/html/async__unary__call_8h.html index a803b835c2a..65f1f296417 100644 --- a/doc/ref/c++.internal/html/async__unary__call_8h.html +++ b/doc/ref/c++.internal/html/async__unary__call_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_unary_call.h File Reference +GRPC C++: include/grpc++/support/async_unary_call.h File Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -92,14 +92,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
async_unary_call.h File Reference
-
#include <grpc++/channel_interface.h>
+
#include <grpc/support/log.h>
+#include <grpc++/channel.h>
#include <grpc++/client_context.h>
#include <grpc++/completion_queue.h>
#include <grpc++/server_context.h>
#include <grpc++/impl/call.h>
#include <grpc++/impl/service_type.h>
-#include <grpc++/status.h>
-#include <grpc/support/log.h>
+#include <grpc++/support/status.h>

Go to the source code of this file.

@@ -120,7 +120,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/async__unary__call_8h_source.html b/doc/ref/c++.internal/html/async__unary__call_8h_source.html index d09b3083f77..8afac27ac80 100644 --- a/doc/ref/c++.internal/html/async__unary__call_8h_source.html +++ b/doc/ref/c++.internal/html/async__unary__call_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_unary_call.h Source File +GRPC C++: include/grpc++/support/async_unary_call.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,17 +122,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_ASYNC_UNARY_CALL_H
-
35 #define GRPCXX_ASYNC_UNARY_CALL_H
+
34 #ifndef GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
+
35 #define GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
36 
- -
38 #include <grpc++/client_context.h>
- -
40 #include <grpc++/server_context.h>
-
41 #include <grpc++/impl/call.h>
- -
43 #include <grpc++/status.h>
-
44 #include <grpc/support/log.h>
+
37 #include <grpc/support/log.h>
+
38 #include <grpc++/channel.h>
+
39 #include <grpc++/client_context.h>
+ +
41 #include <grpc++/server_context.h>
+
42 #include <grpc++/impl/call.h>
+ +
44 #include <grpc++/support/status.h>
45 
46 namespace grpc {
47 
@@ -145,11 +145,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
54 };
55 
56 template <class R>
- - +
57 class ClientAsyncResponseReader GRPC_FINAL
+
58  : public ClientAsyncResponseReaderInterface<R> {
59  public:
60  template <class W>
- +
62  const RpcMethod& method, ClientContext* context,
63  const W& request)
64  : context_(context), call_(channel->CreateCall(method, context, cq)) {
@@ -189,8 +189,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
98 };
99 
100 template <class W>
- - +
101 class ServerAsyncResponseWriter GRPC_FINAL
+
102  : public ServerAsyncStreamingInterface {
103  public:
105  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
@@ -212,8 +212,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
121  }
122  // The response is dropped if the status is not OK.
123  if (status.ok()) {
-
124  finish_buf_.ServerSendStatus(
-
125  ctx_->trailing_metadata_, finish_buf_.SendMessage(msg));
+
124  finish_buf_.ServerSendStatus(ctx_->trailing_metadata_,
+
125  finish_buf_.SendMessage(msg));
126  } else {
127  finish_buf_.ServerSendStatus(ctx_->trailing_metadata_, status);
128  }
@@ -243,49 +243,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
152 
153 } // namespace grpc
154 
-
155 #endif // GRPCXX_ASYNC_UNARY_CALL_H
+
155 #endif // GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
void FinishWithError(const Status &status, void *tag)
Definition: async_unary_call.h:132
virtual ~ClientAsyncResponseReaderInterface()
Definition: async_unary_call.h:51
virtual void Finish(R *msg, Status *status, void *tag)=0
void Finish(const W &msg, const Status &status, void *tag)
Definition: async_unary_call.h:116
-
Definition: call.h:431
-
Definition: service_type.h:57
+
Definition: call.h:426
void SendInitialMetadata(void *tag) GRPC_OVERRIDE
Definition: async_unary_call.h:107
void Finish(R *msg, Status *status, void *tag)
Definition: async_unary_call.h:80
virtual void ReadInitialMetadata(void *tag)=0
-
#define GRPC_FINAL
Definition: config.h:71
-
Definition: async_unary_call.h:57
-
Definition: client_context.h:74
+
Definition: client_context.h:149
void ReadInitialMetadata(void *tag)
Definition: async_unary_call.h:72
-
Definition: call.h:190
-
Definition: call.h:341
+
Definition: call.h:179
+ +
Definition: call.h:333
Definition: async_unary_call.h:49
-
Definition: call.h:565
-
Definition: channel_interface.h:52
+
ClientAsyncResponseReader(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
Definition: async_unary_call.h:61
+
Definition: call.h:560
-
Primary implementaiton of CallOpSetInterface.
Definition: call.h:506
-
Definition: server_context.h:86
-
Definition: completion_queue.h:87
-
ClientAsyncResponseReader(ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
Definition: async_unary_call.h:61
+
Primary implementaiton of CallOpSetInterface.
Definition: call.h:502
+
Definition: server_context.h:89
+
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:81
ServerAsyncResponseWriter(ServerContext *ctx)
Definition: async_unary_call.h:104
-
Definition: rpc_method.h:39
+
Definition: rpc_method.h:43
void PerformOps(CallOpSetInterface *ops)
Definition: call.cc:85
-
bool ok() const
Definition: status.h:55
+
bool ok() const
Is the status OK?
Definition: status.h:67
-
Definition: status.h:42
-
Definition: async_unary_call.h:101
-
Definition: call.h:159
-
A CallOpSet that does not post completions to the completion queue.
Definition: call.h:548
+
Did it work? If it didn't, why?
Definition: status.h:45
+
Definition: call.h:147
+
A CallOpSet that does not post completions to the completion queue.
Definition: call.h:544
#define GRPC_OVERRIDE
Definition: config.h:77
+
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: channel.h:69
diff --git a/doc/ref/c++.internal/html/auth__context_8h.html b/doc/ref/c++.internal/html/auth__context_8h.html index 385a5d0a38d..4f7aa4d24c3 100644 --- a/doc/ref/c++.internal/html/auth__context_8h.html +++ b/doc/ref/c++.internal/html/auth__context_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_context.h File Reference +GRPC C++: include/grpc++/security/auth_context.h File Reference @@ -23,7 +23,7 @@ @@ -81,37 +81,50 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
auth_context.h File Reference
-
#include <vector>
-#include <grpc++/auth_property_iterator.h>
-#include <grpc++/config.h>
+
#include <iterator>
+#include <vector>
+#include <grpc/grpc_security.h>
+#include <grpc++/support/config.h>
+#include <grpc++/support/string_ref.h>

Go to the source code of this file.

GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
+ + +

Data Structures

class  grpc::AuthPropertyIterator
 
class  grpc::AuthContext
 Class encapsulating the Authentication Information. More...
 
+

Namespaces

 grpc
 
+ + +

+Typedefs

typedef std::pair
+< grpc::string_ref,
+grpc::string_ref
grpc::AuthProperty
 
diff --git a/doc/ref/c++.internal/html/auth__context_8h_source.html b/doc/ref/c++.internal/html/auth__context_8h_source.html index 2e8ff70ca77..c24e06d8547 100644 --- a/doc/ref/c++.internal/html/auth__context_8h_source.html +++ b/doc/ref/c++.internal/html/auth__context_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_context.h Source File +GRPC C++: include/grpc++/security/auth_context.h Source File @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,53 +122,113 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_AUTH_CONTEXT_H
-
35 #define GRPCXX_AUTH_CONTEXT_H
+
34 #ifndef GRPCXX_SUPPORT_AUTH_CONTEXT_H
+
35 #define GRPCXX_SUPPORT_AUTH_CONTEXT_H
36 
-
37 #include <vector>
-
38 
- -
40 #include <grpc++/config.h>
-
41 
-
42 namespace grpc {
+
37 #include <iterator>
+
38 #include <vector>
+
39 
+
40 #include <grpc/grpc_security.h>
+
41 #include <grpc++/support/config.h>
+
43 
-
44 class AuthContext {
-
45  public:
-
46  virtual ~AuthContext() {}
+
44 struct grpc_auth_context;
+
45 struct grpc_auth_property;
+
46 struct grpc_auth_property_iterator;
47 
-
48  // A peer identity, in general is one or more properties (in which case they
-
49  // have the same name).
-
50  virtual std::vector<grpc::string> GetPeerIdentity() const = 0;
-
51  virtual grpc::string GetPeerIdentityPropertyName() const = 0;
+
48 namespace grpc {
+ +
50 
+
51 typedef std::pair<grpc::string_ref, grpc::string_ref> AuthProperty;
52 
-
53  // Returns all the property values with the given name.
-
54  virtual std::vector<grpc::string> FindPropertyValues(
-
55  const grpc::string& name) const = 0;
-
56 
-
57  // Iteration over all the properties.
-
58  virtual AuthPropertyIterator begin() const = 0;
-
59  virtual AuthPropertyIterator end() const = 0;
-
60 };
-
61 
-
62 } // namespace grpc
-
63 
-
64 #endif // GRPCXX_AUTH_CONTEXT_H
-
65 
+ +
54  : public std::iterator<std::input_iterator_tag, const AuthProperty> {
+
55  public:
+ + + +
59  bool operator==(const AuthPropertyIterator& rhs) const;
+
60  bool operator!=(const AuthPropertyIterator& rhs) const;
+
61  const AuthProperty operator*();
+
62 
+
63  protected:
+ +
65  AuthPropertyIterator(const grpc_auth_property* property,
+
66  const grpc_auth_property_iterator* iter);
+
67 
+
68  private:
+
69  friend class SecureAuthContext;
+
70  const grpc_auth_property* property_;
+
71  // The following items form a grpc_auth_property_iterator.
+
72  const grpc_auth_context* ctx_;
+
73  size_t index_;
+
74  const char* name_;
+
75 };
+
76 
+
81 class AuthContext {
+
82  public:
+
83  virtual ~AuthContext() {}
+
84 
+
86  virtual bool IsPeerAuthenticated() const = 0;
+
87 
+
92  virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0;
+
93  virtual grpc::string GetPeerIdentityPropertyName() const = 0;
+
94 
+
96  virtual std::vector<grpc::string_ref> FindPropertyValues(
+
97  const grpc::string& name) const = 0;
+
98 
+
100  virtual AuthPropertyIterator begin() const = 0;
+
101  virtual AuthPropertyIterator end() const = 0;
+
102 
+ +
104  return GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME;
+
105  }
+
106  static string ssl_transport_security_type() {
+
107  return GRPC_SSL_TRANSPORT_SECURITY_TYPE;
+
108  }
+
109  static string x509_cn_property_name() { return GRPC_X509_CN_PROPERTY_NAME; }
+
110  static string x509_san_property_name() { return GRPC_X509_SAN_PROPERTY_NAME; }
+
111 
+
112  // Mutation functions: should only be used by an AuthMetadataProcessor.
+
113  virtual void AddProperty(const grpc::string& key,
+
114  const grpc::string_ref& value) = 0;
+
115  virtual bool SetPeerIdentityPropertyName(const grpc::string& name) = 0;
+
116 };
+
117 
+
118 } // namespace grpc
+
119 
+
120 #endif // GRPCXX_SUPPORT_AUTH_CONTEXT_H
+ +
std::pair< grpc::string_ref, grpc::string_ref > AuthProperty
Definition: auth_context.h:49
std::string string
Definition: config.h:112
- -
Definition: auth_context.h:44
-
virtual std::vector< grpc::string > GetPeerIdentity() const =0
+
virtual bool IsPeerAuthenticated() const =0
Returns true if the peer is authenticated.
+
static string ssl_transport_security_type()
Definition: auth_context.h:106
+
Class encapsulating the Authentication Information.
Definition: auth_context.h:81
+
Definition: secure_auth_context.h:43
virtual AuthPropertyIterator end() const =0
-
virtual std::vector< grpc::string > FindPropertyValues(const grpc::string &name) const =0
-
virtual AuthPropertyIterator begin() const =0
-
virtual ~AuthContext()
Definition: auth_context.h:46
-
Definition: auth_property_iterator.h:51
+
virtual bool SetPeerIdentityPropertyName(const grpc::string &name)=0
+
AuthPropertyIterator()
Definition: auth_property_iterator.cc:40
+
AuthPropertyIterator & operator++()
Definition: auth_property_iterator.cc:52
+
virtual AuthPropertyIterator begin() const =0
Iteration over all the properties.
+
static string x509_cn_property_name()
Definition: auth_context.h:109
+
static string transport_security_type_property_name()
Definition: auth_context.h:103
+
bool operator!=(const AuthPropertyIterator &rhs) const
Definition: auth_property_iterator.cc:75
+
const AuthProperty operator*()
Definition: auth_property_iterator.cc:79
+
virtual ~AuthContext()
Definition: auth_context.h:83
+
bool operator==(const AuthPropertyIterator &rhs) const
Definition: auth_property_iterator.cc:67
+
This class is a non owning reference to a string.
Definition: string_ref.h:52
+
static string x509_san_property_name()
Definition: auth_context.h:110
+
virtual std::vector< grpc::string_ref > GetPeerIdentity() const =0
A peer identity.
+
Definition: auth_context.h:53
+
~AuthPropertyIterator()
Definition: auth_property_iterator.cc:50
+
virtual std::vector< grpc::string_ref > FindPropertyValues(const grpc::string &name) const =0
Returns all the property values with the given name.
+
virtual void AddProperty(const grpc::string &key, const grpc::string_ref &value)=0
virtual grpc::string GetPeerIdentityPropertyName() const =0
diff --git a/doc/ref/c++/html/fixed__size__thread__pool_8h.html b/doc/ref/c++.internal/html/auth__metadata__processor_8h.html similarity index 86% rename from doc/ref/c++/html/fixed__size__thread__pool_8h.html rename to doc/ref/c++.internal/html/auth__metadata__processor_8h.html index 77cc8d6da0a..7150ee17aab 100644 --- a/doc/ref/c++/html/fixed__size__thread__pool_8h.html +++ b/doc/ref/c++.internal/html/auth__metadata__processor_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/fixed_size_thread_pool.h File Reference +GRPC C++: include/grpc++/security/auth_metadata_processor.h File Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -89,21 +89,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
-
fixed_size_thread_pool.h File Reference
+
auth_metadata_processor.h File Reference
-
#include <grpc++/config.h>
-#include <grpc++/impl/sync.h>
-#include <grpc++/impl/thd.h>
-#include <grpc++/thread_pool_interface.h>
-#include <queue>
-#include <vector>
+
#include <map>
+#include <grpc++/security/auth_context.h>
+#include <grpc++/support/status.h>
+#include <grpc++/support/string_ref.h>
-

Go to the source code of this file.

+

Go to the source code of this file.

- +

Data Structures

class  grpc::FixedSizeThreadPool
class  grpc::AuthMetadataProcessor
 
diff --git a/doc/ref/c++/html/dynamic__thread__pool_8h_source.html b/doc/ref/c++.internal/html/auth__metadata__processor_8h_source.html similarity index 59% rename from doc/ref/c++/html/dynamic__thread__pool_8h_source.html rename to doc/ref/c++.internal/html/auth__metadata__processor_8h_source.html index 6b6a551c2d9..77eb945f300 100644 --- a/doc/ref/c++/html/dynamic__thread__pool_8h_source.html +++ b/doc/ref/c++.internal/html/auth__metadata__processor_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/dynamic_thread_pool.h Source File +GRPC C++: include/grpc++/security/auth_metadata_processor.h Source File @@ -23,7 +23,7 @@ @@ -81,15 +81,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
dynamic_thread_pool.h
+
auth_metadata_processor.h
-Go to the documentation of this file.
1 /*
+Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015, Google Inc.
4  * All rights reserved.
@@ -122,72 +122,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_DYNAMIC_THREAD_POOL_H
-
35 #define GRPCXX_DYNAMIC_THREAD_POOL_H
+
34 #ifndef GRPCXX_AUTH_METADATA_PROCESSOR_H_
+
35 #define GRPCXX_AUTH_METADATA_PROCESSOR_H_
36 
-
37 #include <grpc++/config.h>
+
37 #include <map>
38 
-
39 #include <grpc++/impl/sync.h>
-
40 #include <grpc++/impl/thd.h>
- + +
40 #include <grpc++/support/status.h>
+
42 
-
43 #include <list>
-
44 #include <memory>
-
45 #include <queue>
-
46 
-
47 namespace grpc {
-
48 
- -
50  public:
-
51  explicit DynamicThreadPool(int reserve_threads);
- -
53 
-
54  void Add(const std::function<void()>& callback) GRPC_OVERRIDE;
+
43 namespace grpc {
+
44 
+ +
46  public:
+
47  typedef std::multimap<grpc::string_ref, grpc::string_ref> InputMetadata;
+
48  typedef std::multimap<grpc::string, grpc::string_ref> OutputMetadata;
+
49 
+ +
51 
+
52  // If this method returns true, the Process function will be scheduled in
+
53  // a different thread from the one processing the call.
+
54  virtual bool IsBlocking() const { return true; }
55 
-
56  private:
-
57  class DynamicThread {
-
58  public:
-
59  DynamicThread(DynamicThreadPool *pool);
-
60  ~DynamicThread();
-
61  private:
-
62  DynamicThreadPool *pool_;
-
63  std::unique_ptr<grpc::thread> thd_;
-
64  void ThreadFunc();
-
65  };
-
66  grpc::mutex mu_;
- -
68  grpc::condition_variable shutdown_cv_;
-
69  bool shutdown_;
-
70  std::queue<std::function<void()>> callbacks_;
-
71  int reserve_threads_;
-
72  int nthreads_;
-
73  int threads_waiting_;
-
74  std::list<DynamicThread*> dead_threads_;
-
75 
-
76  void ThreadFunc();
-
77  static void ReapThreads(std::list<DynamicThread*>* tlist);
-
78 };
-
79 
-
80 } // namespace grpc
-
81 
-
82 #endif // GRPCXX_DYNAMIC_THREAD_POOL_H
-
Definition: sync_no_cxx11.h:45
- -
#define GRPC_FINAL
Definition: config.h:71
-
Definition: thread_pool_interface.h:42
-
DynamicThreadPool(int reserve_threads)
-
Definition: sync_no_cxx11.h:84
- -
void Add(const std::function< void()> &callback) GRPC_OVERRIDE
- - -
Definition: dynamic_thread_pool.h:49
-
#define GRPC_OVERRIDE
Definition: config.h:77
- +
56  // context is read/write: it contains the properties of the channel peer and
+
57  // it is the job of the Process method to augment it with properties derived
+
58  // from the passed-in auth_metadata.
+
59  // consumed_auth_metadata needs to be filled with metadata that has been
+
60  // consumed by the processor and will be removed from the call.
+
61  // response_metadata is the metadata that will be sent as part of the
+
62  // response.
+
63  // If the return value is not Status::OK, the rpc call will be aborted with
+
64  // the error code and error message sent back to the client.
+
65  virtual Status Process(const InputMetadata& auth_metadata,
+
66  AuthContext* context,
+
67  OutputMetadata* consumed_auth_metadata,
+
68  OutputMetadata* response_metadata) = 0;
+
69 };
+
70 
+
71 } // namespace grpc
+
72 
+
73 #endif // GRPCXX_AUTH_METADATA_PROCESSOR_H_
+
74 
+ +
virtual bool IsBlocking() const
Definition: auth_metadata_processor.h:54
+
Class encapsulating the Authentication Information.
Definition: auth_context.h:81
+
Definition: auth_metadata_processor.h:45
+
virtual ~AuthMetadataProcessor()
Definition: auth_metadata_processor.h:50
+ + +
virtual Status Process(const InputMetadata &auth_metadata, AuthContext *context, OutputMetadata *consumed_auth_metadata, OutputMetadata *response_metadata)=0
+
Did it work? If it didn't, why?
Definition: status.h:45
+
std::multimap< grpc::string, grpc::string_ref > OutputMetadata
Definition: auth_metadata_processor.h:48
+
std::multimap< grpc::string_ref, grpc::string_ref > InputMetadata
Definition: auth_metadata_processor.h:47
diff --git a/doc/ref/c++.internal/html/auth__property__iterator_8cc.html b/doc/ref/c++.internal/html/auth__property__iterator_8cc.html index e2057a77792..46cd2d39521 100644 --- a/doc/ref/c++.internal/html/auth__property__iterator_8cc.html +++ b/doc/ref/c++.internal/html/auth__property__iterator_8cc.html @@ -23,7 +23,7 @@
@@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
auth_property_iterator.cc File Reference
-
#include <grpc++/auth_property_iterator.h>
+
#include <grpc++/security/auth_context.h>
#include <grpc/grpc_security.h>

@@ -114,7 +112,7 @@ Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
diff --git a/doc/ref/c++.internal/html/byte__buffer_8cc.html b/doc/ref/c++.internal/html/byte__buffer_8cc.html index 7ea3acf0170..8d38cfe324f 100644 --- a/doc/ref/c++.internal/html/byte__buffer_8cc.html +++ b/doc/ref/c++.internal/html/byte__buffer_8cc.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <grpc/byte_buffer_reader.h>
-#include <grpc++/byte_buffer.h>
+#include <grpc++/support/byte_buffer.h>

@@ -102,7 +102,7 @@ Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -102,7 +102,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/byte__buffer_8h.html b/doc/ref/c++.internal/html/byte__buffer_8h.html index c9d9eeb9df3..513a2dd382e 100644 --- a/doc/ref/c++.internal/html/byte__buffer_8h.html +++ b/doc/ref/c++.internal/html/byte__buffer_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/byte_buffer.h File Reference +GRPC C++: include/grpc++/support/byte_buffer.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -95,10 +95,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <grpc/grpc.h>
#include <grpc/byte_buffer.h>
#include <grpc/support/log.h>
-#include <grpc++/config.h>
-#include <grpc++/slice.h>
-#include <grpc++/status.h>
#include <grpc++/impl/serialization_traits.h>
+#include <grpc++/support/config.h>
+#include <grpc++/support/slice.h>
+#include <grpc++/support/status.h>
#include <vector>

Go to the source code of this file.

@@ -106,6 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+ @@ -118,7 +119,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/byte__buffer_8h_source.html b/doc/ref/c++.internal/html/byte__buffer_8h_source.html index eddb393f6b1..a0791b4292e 100644 --- a/doc/ref/c++.internal/html/byte__buffer_8h_source.html +++ b/doc/ref/c++.internal/html/byte__buffer_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/byte_buffer.h Source File +GRPC C++: include/grpc++/support/byte_buffer.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,98 +122,96 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_BYTE_BUFFER_H
-
35 #define GRPCXX_BYTE_BUFFER_H
+
34 #ifndef GRPCXX_SUPPORT_BYTE_BUFFER_H
+
35 #define GRPCXX_SUPPORT_BYTE_BUFFER_H
36 
37 #include <grpc/grpc.h>
38 #include <grpc/byte_buffer.h>
39 #include <grpc/support/log.h>
-
40 #include <grpc++/config.h>
-
41 #include <grpc++/slice.h>
-
42 #include <grpc++/status.h>
- + +
41 #include <grpc++/support/config.h>
+
42 #include <grpc++/support/slice.h>
+
43 #include <grpc++/support/status.h>
44 
45 #include <vector>
46 
47 namespace grpc {
48 
- -
50  public:
-
51  ByteBuffer() : buffer_(nullptr) {}
-
52 
-
53  ByteBuffer(const Slice* slices, size_t nslices);
+ +
51  public:
+
53  ByteBuffer() : buffer_(nullptr) {}
54 
- -
56  if (buffer_) {
-
57  grpc_byte_buffer_destroy(buffer_);
-
58  }
-
59  }
-
60 
+
56  ByteBuffer(const Slice* slices, size_t nslices);
+
57 
+
58  ~ByteBuffer();
+
59 
61  void Dump(std::vector<Slice>* slices) const;
62 
-
63  void Clear();
-
64  size_t Length() const;
+
64  void Clear();
65 
-
66  private:
-
67  friend class SerializationTraits<ByteBuffer, void>;
+
67  size_t Length() const;
68 
-
69  ByteBuffer(const ByteBuffer&);
-
70  ByteBuffer& operator=(const ByteBuffer&);
+
69  private:
+
70  friend class SerializationTraits<ByteBuffer, void>;
71 
-
72  // takes ownership
-
73  void set_buffer(grpc_byte_buffer* buf) {
-
74  if (buffer_) {
-
75  gpr_log(GPR_ERROR, "Overriding existing buffer");
-
76  Clear();
-
77  }
-
78  buffer_ = buf;
-
79  }
-
80 
-
81  grpc_byte_buffer* buffer() const { return buffer_; }
-
82 
-
83  grpc_byte_buffer* buffer_;
-
84 };
-
85 
-
86 template <>
- -
88  public:
-
89  static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
-
90  int max_message_size) {
-
91  dest->set_buffer(byte_buffer);
-
92  return Status::OK;
-
93  }
-
94  static Status Serialize(const ByteBuffer& source, grpc_byte_buffer** buffer,
-
95  bool* own_buffer) {
-
96  *buffer = source.buffer();
-
97  *own_buffer = false;
-
98  return Status::OK;
-
99  }
-
100 };
-
101 
-
102 } // namespace grpc
-
103 
-
104 #endif // GRPCXX_BYTE_BUFFER_H
-
void Clear()
Definition: byte_buffer.cc:48
-
static const Status & OK
Definition: status.h:49
-
Definition: slice.h:42
+
72  ByteBuffer(const ByteBuffer&);
+
73  ByteBuffer& operator=(const ByteBuffer&);
+
74 
+
75  // takes ownership
+
76  void set_buffer(grpc_byte_buffer* buf) {
+
77  if (buffer_) {
+
78  gpr_log(GPR_ERROR, "Overriding existing buffer");
+
79  Clear();
+
80  }
+
81  buffer_ = buf;
+
82  }
+
83 
+
84  // For \a SerializationTraits's usage.
+
85  grpc_byte_buffer* buffer() const { return buffer_; }
+
86 
+
87  grpc_byte_buffer* buffer_;
+
88 };
+
89 
+
90 template <>
+ +
92  public:
+
93  static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
+
94  int max_message_size) {
+
95  dest->set_buffer(byte_buffer);
+
96  return Status::OK;
+
97  }
+
98  static Status Serialize(const ByteBuffer& source, grpc_byte_buffer** buffer,
+
99  bool* own_buffer) {
+
100  *buffer = source.buffer();
+
101  *own_buffer = false;
+
102  return Status::OK;
+
103  }
+
104 };
+
105 
+
106 } // namespace grpc
+
107 
+
108 #endif // GRPCXX_SUPPORT_BYTE_BUFFER_H
+
void Clear()
Remove all data.
Definition: byte_buffer.cc:54
+
static const Status & OK
An OK pre-defined instance.
Definition: status.h:57
+
A wrapper around grpc_slice.
Definition: slice.h:47
#define GRPC_FINAL
Definition: config.h:71
-
static Status Deserialize(grpc_byte_buffer *byte_buffer, ByteBuffer *dest, int max_message_size)
Definition: byte_buffer.h:89
+
static Status Deserialize(grpc_byte_buffer *byte_buffer, ByteBuffer *dest, int max_message_size)
Definition: byte_buffer.h:93
Defines how to serialize and deserialize some type.
Definition: serialization_traits.h:64
-
size_t Length() const
Definition: byte_buffer.cc:68
-
void Dump(std::vector< Slice > *slices) const
Definition: byte_buffer.cc:55
+
size_t Length() const
Buffer size in bytes.
Definition: byte_buffer.cc:74
+
void Dump(std::vector< Slice > *slices) const
Dump (read) the buffer contents into slices.
Definition: byte_buffer.cc:61
-
Definition: status.h:42
-
~ByteBuffer()
Definition: byte_buffer.h:55
-
static Status Serialize(const ByteBuffer &source, grpc_byte_buffer **buffer, bool *own_buffer)
Definition: byte_buffer.h:94
-
ByteBuffer()
Definition: byte_buffer.h:51
-
Definition: byte_buffer.h:49
+
Did it work? If it didn't, why?
Definition: status.h:45
+
~ByteBuffer()
Definition: byte_buffer.cc:48
+
static Status Serialize(const ByteBuffer &source, grpc_byte_buffer **buffer, bool *own_buffer)
Definition: byte_buffer.h:98
+
ByteBuffer()
Constuct an empty buffer.
Definition: byte_buffer.h:53
+
A sequence of bytes.
Definition: byte_buffer.h:50
diff --git a/doc/ref/c++.internal/html/call_8cc.html b/doc/ref/c++.internal/html/call_8cc.html index 39b84140ecc..5b4648e3b33 100644 --- a/doc/ref/c++.internal/html/call_8cc.html +++ b/doc/ref/c++.internal/html/call_8cc.html @@ -23,7 +23,7 @@ @@ -94,9 +94,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <grpc++/impl/call.h>
#include <grpc/support/alloc.h>
-#include <grpc++/byte_buffer.h>
+#include <grpc++/channel.h>
#include <grpc++/client_context.h>
-#include <grpc++/channel_interface.h>
+#include <grpc++/support/byte_buffer.h>
#include "src/core/profiling/timers.h"

Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0

Data Structures

class  grpc::ByteBuffer
 A sequence of bytes. More...
 
class  grpc::SerializationTraits< ByteBuffer, void >
 
GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0

@@ -106,15 +106,15 @@ Namespaces

- - + +

Functions

void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
 
void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
 
grpc_metadata * grpc::FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
 
diff --git a/doc/ref/c++.internal/html/call_8h.html b/doc/ref/c++.internal/html/call_8h.html index ceab4c5182d..5020ce18109 100644 --- a/doc/ref/c++.internal/html/call_8h.html +++ b/doc/ref/c++.internal/html/call_8h.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -93,16 +93,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
call.h File Reference
-
#include <grpc/support/alloc.h>
+
#include <functional>
+#include <memory>
+#include <map>
+#include <cstring>
+#include <grpc/support/alloc.h>
#include <grpc++/client_context.h>
#include <grpc++/completion_queue.h>
-#include <grpc++/config.h>
-#include <grpc++/status.h>
#include <grpc++/impl/serialization_traits.h>
-#include <functional>
-#include <memory>
-#include <map>
-#include <string.h>
+#include <grpc++/support/config.h>
+#include <grpc++/support/status.h>

Go to the source code of this file.

@@ -135,7 +135,7 @@ Data Structures - + @@ -157,15 +157,15 @@ Namespaces
class  grpc::CallOpClientRecvStatus
 
class  grpc::CallOpSetInterface
 An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
 An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
 
class  grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
 Primary implementaiton of CallOpSetInterface. More...
- - + +

Functions

void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
 
void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
 
grpc_metadata * grpc::FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
 
diff --git a/doc/ref/c++.internal/html/call_8h_source.html b/doc/ref/c++.internal/html/call_8h_source.html index 3ecb37b0383..0573041223f 100644 --- a/doc/ref/c++.internal/html/call_8h_source.html +++ b/doc/ref/c++.internal/html/call_8h_source.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -125,29 +125,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
34 #ifndef GRPCXX_IMPL_CALL_H
35 #define GRPCXX_IMPL_CALL_H
36 
-
37 #include <grpc/support/alloc.h>
-
38 #include <grpc++/client_context.h>
- -
40 #include <grpc++/config.h>
-
41 #include <grpc++/status.h>
- -
43 
-
44 #include <functional>
-
45 #include <memory>
-
46 #include <map>
-
47 
-
48 #include <string.h>
-
49 
-
50 struct grpc_call;
-
51 struct grpc_op;
-
52 
-
53 namespace grpc {
-
54 
-
55 class ByteBuffer;
-
56 class Call;
-
57 
-
58 void FillMetadataMap(grpc_metadata_array* arr,
-
59  std::multimap<grpc::string, grpc::string>* metadata);
+
37 #include <functional>
+
38 #include <memory>
+
39 #include <map>
+
40 #include <cstring>
+
41 
+
42 #include <grpc/support/alloc.h>
+
43 #include <grpc++/client_context.h>
+ + +
46 #include <grpc++/support/config.h>
+
47 #include <grpc++/support/status.h>
+
48 
+
49 struct grpc_call;
+
50 struct grpc_op;
+
51 
+
52 namespace grpc {
+
53 
+
54 class ByteBuffer;
+
55 class Call;
+
56 
+
57 void FillMetadataMap(
+
58  grpc_metadata_array* arr,
+
59  std::multimap<grpc::string_ref, grpc::string_ref>* metadata);
60 grpc_metadata* FillMetadataArray(
61  const std::multimap<grpc::string, grpc::string>& metadata);
62 
@@ -156,588 +156,583 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
66  WriteOptions() : flags_(0) {}
67  WriteOptions(const WriteOptions& other) : flags_(other.flags_) {}
68 
-
70  inline void Clear() {
-
71  flags_ = 0;
-
72  }
-
73 
-
75  inline gpr_uint32 flags() const {
-
76  return flags_;
-
77  }
-
78 
- -
83  SetBit(GRPC_WRITE_NO_COMPRESS);
-
84  return *this;
-
85  }
-
86 
- -
91  ClearBit(GRPC_WRITE_NO_COMPRESS);
-
92  return *this;
-
93  }
-
94 
-
99  inline bool get_no_compression() const {
-
100  return GetBit(GRPC_WRITE_NO_COMPRESS);
-
101  }
-
102 
- -
108  SetBit(GRPC_WRITE_BUFFER_HINT);
-
109  return *this;
-
110  }
-
111 
- -
117  ClearBit(GRPC_WRITE_BUFFER_HINT);
-
118  return *this;
-
119  }
-
120 
-
125  inline bool get_buffer_hint() const {
-
126  return GetBit(GRPC_WRITE_BUFFER_HINT);
-
127  }
-
128 
- -
130  flags_ = rhs.flags_;
-
131  return *this;
-
132  }
-
133 
-
134  private:
-
135  void SetBit(const gpr_int32 mask) {
-
136  flags_ |= mask;
-
137  }
-
138 
-
139  void ClearBit(const gpr_int32 mask) {
-
140  flags_ &= ~mask;
-
141  }
-
142 
-
143  bool GetBit(const gpr_int32 mask) const {
-
144  return flags_ & mask;
-
145  }
+
70  inline void Clear() { flags_ = 0; }
+
71 
+
73  inline gpr_uint32 flags() const { return flags_; }
+
74 
+ +
79  SetBit(GRPC_WRITE_NO_COMPRESS);
+
80  return *this;
+
81  }
+
82 
+ +
87  ClearBit(GRPC_WRITE_NO_COMPRESS);
+
88  return *this;
+
89  }
+
90 
+
95  inline bool get_no_compression() const {
+
96  return GetBit(GRPC_WRITE_NO_COMPRESS);
+
97  }
+
98 
+ +
104  SetBit(GRPC_WRITE_BUFFER_HINT);
+
105  return *this;
+
106  }
+
107 
+ +
113  ClearBit(GRPC_WRITE_BUFFER_HINT);
+
114  return *this;
+
115  }
+
116 
+
121  inline bool get_buffer_hint() const { return GetBit(GRPC_WRITE_BUFFER_HINT); }
+
122 
+ +
124  flags_ = rhs.flags_;
+
125  return *this;
+
126  }
+
127 
+
128  private:
+
129  void SetBit(const gpr_int32 mask) { flags_ |= mask; }
+
130 
+
131  void ClearBit(const gpr_int32 mask) { flags_ &= ~mask; }
+
132 
+
133  bool GetBit(const gpr_int32 mask) const { return flags_ & mask; }
+
134 
+
135  gpr_uint32 flags_;
+
136 };
+
137 
+
140 template <int I>
+
141 class CallNoOp {
+
142  protected:
+
143  void AddOp(grpc_op* ops, size_t* nops) {}
+
144  void FinishOp(bool* status, int max_message_size) {}
+
145 };
146 
-
147  gpr_uint32 flags_;
-
148 };
-
149 
-
152 template <int I>
-
153 class CallNoOp {
-
154  protected:
-
155  void AddOp(grpc_op* ops, size_t* nops) {}
-
156  void FinishOp(bool* status, int max_message_size) {}
-
157 };
-
158 
- -
160  public:
- -
162 
- -
164  const std::multimap<grpc::string, grpc::string>& metadata) {
-
165  send_ = true;
-
166  initial_metadata_count_ = metadata.size();
- -
168  }
-
169 
-
170  protected:
-
171  void AddOp(grpc_op* ops, size_t* nops) {
-
172  if (!send_) return;
-
173  grpc_op* op = &ops[(*nops)++];
-
174  op->op = GRPC_OP_SEND_INITIAL_METADATA;
-
175  op->flags = 0;
-
176  op->data.send_initial_metadata.count = initial_metadata_count_;
-
177  op->data.send_initial_metadata.metadata = initial_metadata_;
-
178  }
-
179  void FinishOp(bool* status, int max_message_size) {
-
180  if (!send_) return;
-
181  gpr_free(initial_metadata_);
-
182  send_ = false;
-
183  }
-
184 
-
185  bool send_;
- -
187  grpc_metadata* initial_metadata_;
-
188 };
-
189 
- -
191  public:
-
192  CallOpSendMessage() : send_buf_(nullptr), own_buf_(false) {}
-
193 
-
196  template <class M>
-
197  Status SendMessage(const M& message,
-
198  const WriteOptions& options) GRPC_MUST_USE_RESULT;
-
199 
-
200  template <class M>
-
201  Status SendMessage(const M& message) GRPC_MUST_USE_RESULT;
-
202 
-
203  protected:
-
204  void AddOp(grpc_op* ops, size_t* nops) {
-
205  if (send_buf_ == nullptr) return;
-
206  grpc_op* op = &ops[(*nops)++];
-
207  op->op = GRPC_OP_SEND_MESSAGE;
-
208  op->flags = write_options_.flags();
-
209  op->data.send_message = send_buf_;
-
210  // Flags are per-message: clear them after use.
-
211  write_options_.Clear();
-
212  }
-
213  void FinishOp(bool* status, int max_message_size) {
-
214  if (own_buf_) grpc_byte_buffer_destroy(send_buf_);
-
215  send_buf_ = nullptr;
-
216  }
-
217 
-
218  private:
-
219  grpc_byte_buffer* send_buf_;
-
220  WriteOptions write_options_;
-
221  bool own_buf_;
-
222 };
-
223 
-
224 template <class M>
- -
226  const WriteOptions& options) {
-
227  write_options_ = options;
-
228  return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
-
229 }
+ +
148  public:
+ +
150 
+ +
152  const std::multimap<grpc::string, grpc::string>& metadata) {
+
153  send_ = true;
+
154  initial_metadata_count_ = metadata.size();
+ +
156  }
+
157 
+
158  protected:
+
159  void AddOp(grpc_op* ops, size_t* nops) {
+
160  if (!send_) return;
+
161  grpc_op* op = &ops[(*nops)++];
+
162  op->op = GRPC_OP_SEND_INITIAL_METADATA;
+
163  op->flags = 0;
+
164  op->reserved = NULL;
+
165  op->data.send_initial_metadata.count = initial_metadata_count_;
+
166  op->data.send_initial_metadata.metadata = initial_metadata_;
+
167  }
+
168  void FinishOp(bool* status, int max_message_size) {
+
169  if (!send_) return;
+
170  gpr_free(initial_metadata_);
+
171  send_ = false;
+
172  }
+
173 
+
174  bool send_;
+ +
176  grpc_metadata* initial_metadata_;
+
177 };
+
178 
+ +
180  public:
+
181  CallOpSendMessage() : send_buf_(nullptr), own_buf_(false) {}
+
182 
+
185  template <class M>
+
186  Status SendMessage(const M& message,
+
187  const WriteOptions& options) GRPC_MUST_USE_RESULT;
+
188 
+
189  template <class M>
+
190  Status SendMessage(const M& message) GRPC_MUST_USE_RESULT;
+
191 
+
192  protected:
+
193  void AddOp(grpc_op* ops, size_t* nops) {
+
194  if (send_buf_ == nullptr) return;
+
195  grpc_op* op = &ops[(*nops)++];
+
196  op->op = GRPC_OP_SEND_MESSAGE;
+
197  op->flags = write_options_.flags();
+
198  op->reserved = NULL;
+
199  op->data.send_message = send_buf_;
+
200  // Flags are per-message: clear them after use.
+
201  write_options_.Clear();
+
202  }
+
203  void FinishOp(bool* status, int max_message_size) {
+
204  if (own_buf_) grpc_byte_buffer_destroy(send_buf_);
+
205  send_buf_ = nullptr;
+
206  }
+
207 
+
208  private:
+
209  grpc_byte_buffer* send_buf_;
+
210  WriteOptions write_options_;
+
211  bool own_buf_;
+
212 };
+
213 
+
214 template <class M>
+ +
216  const WriteOptions& options) {
+
217  write_options_ = options;
+
218  return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
+
219 }
+
220 
+
221 template <class M>
+ +
223  return SendMessage(message, WriteOptions());
+
224 }
+
225 
+
226 template <class R>
+ +
228  public:
+
229  CallOpRecvMessage() : got_message(false), message_(nullptr) {}
230 
-
231 template <class M>
- -
233  return SendMessage(message, WriteOptions());
-
234 }
-
235 
-
236 template <class R>
- -
238  public:
-
239  CallOpRecvMessage() : got_message(false), message_(nullptr) {}
-
240 
-
241  void RecvMessage(R* message) { message_ = message; }
-
242 
- +
231  void RecvMessage(R* message) { message_ = message; }
+
232 
+ +
234 
+
235  protected:
+
236  void AddOp(grpc_op* ops, size_t* nops) {
+
237  if (message_ == nullptr) return;
+
238  grpc_op* op = &ops[(*nops)++];
+
239  op->op = GRPC_OP_RECV_MESSAGE;
+
240  op->flags = 0;
+
241  op->reserved = NULL;
+
242  op->data.recv_message = &recv_buf_;
+
243  }
244 
-
245  protected:
-
246  void AddOp(grpc_op* ops, size_t* nops) {
-
247  if (message_ == nullptr) return;
-
248  grpc_op* op = &ops[(*nops)++];
-
249  op->op = GRPC_OP_RECV_MESSAGE;
-
250  op->flags = 0;
-
251  op->data.recv_message = &recv_buf_;
-
252  }
-
253 
-
254  void FinishOp(bool* status, int max_message_size) {
-
255  if (message_ == nullptr) return;
-
256  if (recv_buf_) {
-
257  if (*status) {
-
258  got_message = true;
-
259  *status = SerializationTraits<R>::Deserialize(recv_buf_, message_,
-
260  max_message_size)
-
261  .ok();
-
262  } else {
-
263  got_message = false;
-
264  grpc_byte_buffer_destroy(recv_buf_);
-
265  }
-
266  } else {
-
267  got_message = false;
-
268  *status = false;
-
269  }
-
270  message_ = nullptr;
-
271  }
-
272 
-
273  private:
-
274  R* message_;
-
275  grpc_byte_buffer* recv_buf_;
-
276 };
-
277 
-
278 namespace CallOpGenericRecvMessageHelper {
- -
280  public:
-
281  virtual Status Deserialize(grpc_byte_buffer* buf, int max_message_size) = 0;
-
282 };
+
245  void FinishOp(bool* status, int max_message_size) {
+
246  if (message_ == nullptr) return;
+
247  if (recv_buf_) {
+
248  if (*status) {
+
249  got_message = true;
+
250  *status = SerializationTraits<R>::Deserialize(recv_buf_, message_,
+
251  max_message_size)
+
252  .ok();
+
253  } else {
+
254  got_message = false;
+
255  grpc_byte_buffer_destroy(recv_buf_);
+
256  }
+
257  } else {
+
258  got_message = false;
+
259  *status = false;
+
260  }
+
261  message_ = nullptr;
+
262  }
+
263 
+
264  private:
+
265  R* message_;
+
266  grpc_byte_buffer* recv_buf_;
+
267 };
+
268 
+
269 namespace CallOpGenericRecvMessageHelper {
+ +
271  public:
+
272  virtual Status Deserialize(grpc_byte_buffer* buf, int max_message_size) = 0;
+
273 };
+
274 
+
275 template <class R>
+ +
277  public:
+
278  DeserializeFuncType(R* message) : message_(message) {}
+
279  Status Deserialize(grpc_byte_buffer* buf,
+
280  int max_message_size) GRPC_OVERRIDE {
+
281  return SerializationTraits<R>::Deserialize(buf, message_, max_message_size);
+
282  }
283 
-
284 template <class R>
- -
286  public:
-
287  DeserializeFuncType(R* message) : message_(message) {}
-
288  Status Deserialize(grpc_byte_buffer* buf,
-
289  int max_message_size) GRPC_OVERRIDE {
-
290  return SerializationTraits<R>::Deserialize(buf, message_, max_message_size);
-
291  }
+
284  private:
+
285  R* message_; // Not a managed pointer because management is external to this
+
286 };
+
287 } // namespace CallOpGenericRecvMessageHelper
+
288 
+ +
290  public:
+
292 
-
293  private:
-
294  R* message_; // Not a managed pointer because management is external to this
-
295 };
-
296 } // namespace CallOpGenericRecvMessageHelper
-
297 
- -
299  public:
- -
301 
-
302  template <class R>
-
303  void RecvMessage(R* message) {
-
304  deserialize_.reset(
- -
306  }
-
307 
- -
309 
-
310  protected:
-
311  void AddOp(grpc_op* ops, size_t* nops) {
+
293  template <class R>
+
294  void RecvMessage(R* message) {
+
295  deserialize_.reset(
+ +
297  }
+
298 
+ +
300 
+
301  protected:
+
302  void AddOp(grpc_op* ops, size_t* nops) {
+
303  if (!deserialize_) return;
+
304  grpc_op* op = &ops[(*nops)++];
+
305  op->op = GRPC_OP_RECV_MESSAGE;
+
306  op->flags = 0;
+
307  op->reserved = NULL;
+
308  op->data.recv_message = &recv_buf_;
+
309  }
+
310 
+
311  void FinishOp(bool* status, int max_message_size) {
312  if (!deserialize_) return;
-
313  grpc_op* op = &ops[(*nops)++];
-
314  op->op = GRPC_OP_RECV_MESSAGE;
-
315  op->flags = 0;
-
316  op->data.recv_message = &recv_buf_;
-
317  }
-
318 
-
319  void FinishOp(bool* status, int max_message_size) {
-
320  if (!deserialize_) return;
-
321  if (recv_buf_) {
-
322  if (*status) {
-
323  got_message = true;
-
324  *status = deserialize_->Deserialize(recv_buf_, max_message_size).ok();
-
325  } else {
-
326  got_message = false;
-
327  grpc_byte_buffer_destroy(recv_buf_);
-
328  }
-
329  } else {
-
330  got_message = false;
-
331  *status = false;
-
332  }
-
333  deserialize_.reset();
-
334  }
-
335 
-
336  private:
-
337  std::unique_ptr<CallOpGenericRecvMessageHelper::DeserializeFunc> deserialize_;
-
338  grpc_byte_buffer* recv_buf_;
-
339 };
-
340 
- -
342  public:
-
343  CallOpClientSendClose() : send_(false) {}
-
344 
-
345  void ClientSendClose() { send_ = true; }
-
346 
-
347  protected:
-
348  void AddOp(grpc_op* ops, size_t* nops) {
-
349  if (!send_) return;
-
350  grpc_op* op = &ops[(*nops)++];
-
351  op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
-
352  op->flags = 0;
-
353  }
-
354  void FinishOp(bool* status, int max_message_size) { send_ = false; }
-
355 
-
356  private:
-
357  bool send_;
-
358 };
-
359 
- -
361  public:
-
362  CallOpServerSendStatus() : send_status_available_(false) {}
-
363 
- -
365  const std::multimap<grpc::string, grpc::string>& trailing_metadata,
-
366  const Status& status) {
-
367  trailing_metadata_count_ = trailing_metadata.size();
-
368  trailing_metadata_ = FillMetadataArray(trailing_metadata);
-
369  send_status_available_ = true;
-
370  send_status_code_ = static_cast<grpc_status_code>(status.error_code());
-
371  send_status_details_ = status.error_message();
-
372  }
-
373 
-
374  protected:
-
375  void AddOp(grpc_op* ops, size_t* nops) {
-
376  if (!send_status_available_) return;
-
377  grpc_op* op = &ops[(*nops)++];
-
378  op->op = GRPC_OP_SEND_STATUS_FROM_SERVER;
-
379  op->data.send_status_from_server.trailing_metadata_count =
-
380  trailing_metadata_count_;
-
381  op->data.send_status_from_server.trailing_metadata = trailing_metadata_;
-
382  op->data.send_status_from_server.status = send_status_code_;
-
383  op->data.send_status_from_server.status_details =
-
384  send_status_details_.empty() ? nullptr : send_status_details_.c_str();
-
385  op->flags = 0;
+
313  if (recv_buf_) {
+
314  if (*status) {
+
315  got_message = true;
+
316  *status = deserialize_->Deserialize(recv_buf_, max_message_size).ok();
+
317  } else {
+
318  got_message = false;
+
319  grpc_byte_buffer_destroy(recv_buf_);
+
320  }
+
321  } else {
+
322  got_message = false;
+
323  *status = false;
+
324  }
+
325  deserialize_.reset();
+
326  }
+
327 
+
328  private:
+
329  std::unique_ptr<CallOpGenericRecvMessageHelper::DeserializeFunc> deserialize_;
+
330  grpc_byte_buffer* recv_buf_;
+
331 };
+
332 
+ +
334  public:
+
335  CallOpClientSendClose() : send_(false) {}
+
336 
+
337  void ClientSendClose() { send_ = true; }
+
338 
+
339  protected:
+
340  void AddOp(grpc_op* ops, size_t* nops) {
+
341  if (!send_) return;
+
342  grpc_op* op = &ops[(*nops)++];
+
343  op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
+
344  op->flags = 0;
+
345  op->reserved = NULL;
+
346  }
+
347  void FinishOp(bool* status, int max_message_size) { send_ = false; }
+
348 
+
349  private:
+
350  bool send_;
+
351 };
+
352 
+ +
354  public:
+
355  CallOpServerSendStatus() : send_status_available_(false) {}
+
356 
+ +
358  const std::multimap<grpc::string, grpc::string>& trailing_metadata,
+
359  const Status& status) {
+
360  trailing_metadata_count_ = trailing_metadata.size();
+
361  trailing_metadata_ = FillMetadataArray(trailing_metadata);
+
362  send_status_available_ = true;
+
363  send_status_code_ = static_cast<grpc_status_code>(status.error_code());
+
364  send_status_details_ = status.error_message();
+
365  }
+
366 
+
367  protected:
+
368  void AddOp(grpc_op* ops, size_t* nops) {
+
369  if (!send_status_available_) return;
+
370  grpc_op* op = &ops[(*nops)++];
+
371  op->op = GRPC_OP_SEND_STATUS_FROM_SERVER;
+
372  op->data.send_status_from_server.trailing_metadata_count =
+
373  trailing_metadata_count_;
+
374  op->data.send_status_from_server.trailing_metadata = trailing_metadata_;
+
375  op->data.send_status_from_server.status = send_status_code_;
+
376  op->data.send_status_from_server.status_details =
+
377  send_status_details_.empty() ? nullptr : send_status_details_.c_str();
+
378  op->flags = 0;
+
379  op->reserved = NULL;
+
380  }
+
381 
+
382  void FinishOp(bool* status, int max_message_size) {
+
383  if (!send_status_available_) return;
+
384  gpr_free(trailing_metadata_);
+
385  send_status_available_ = false;
386  }
387 
-
388  void FinishOp(bool* status, int max_message_size) {
-
389  if (!send_status_available_) return;
-
390  gpr_free(trailing_metadata_);
-
391  send_status_available_ = false;
-
392  }
-
393 
-
394  private:
-
395  bool send_status_available_;
-
396  grpc_status_code send_status_code_;
-
397  grpc::string send_status_details_;
-
398  size_t trailing_metadata_count_;
-
399  grpc_metadata* trailing_metadata_;
-
400 };
-
401 
- -
403  public:
-
404  CallOpRecvInitialMetadata() : recv_initial_metadata_(nullptr) {}
-
405 
- -
407  context->initial_metadata_received_ = true;
-
408  recv_initial_metadata_ = &context->recv_initial_metadata_;
-
409  }
-
410 
-
411  protected:
-
412  void AddOp(grpc_op* ops, size_t* nops) {
-
413  if (!recv_initial_metadata_) return;
-
414  memset(&recv_initial_metadata_arr_, 0, sizeof(recv_initial_metadata_arr_));
-
415  grpc_op* op = &ops[(*nops)++];
-
416  op->op = GRPC_OP_RECV_INITIAL_METADATA;
-
417  op->data.recv_initial_metadata = &recv_initial_metadata_arr_;
-
418  op->flags = 0;
+
388  private:
+
389  bool send_status_available_;
+
390  grpc_status_code send_status_code_;
+
391  grpc::string send_status_details_;
+
392  size_t trailing_metadata_count_;
+
393  grpc_metadata* trailing_metadata_;
+
394 };
+
395 
+ +
397  public:
+
398  CallOpRecvInitialMetadata() : recv_initial_metadata_(nullptr) {}
+
399 
+ +
401  context->initial_metadata_received_ = true;
+
402  recv_initial_metadata_ = &context->recv_initial_metadata_;
+
403  }
+
404 
+
405  protected:
+
406  void AddOp(grpc_op* ops, size_t* nops) {
+
407  if (!recv_initial_metadata_) return;
+
408  memset(&recv_initial_metadata_arr_, 0, sizeof(recv_initial_metadata_arr_));
+
409  grpc_op* op = &ops[(*nops)++];
+
410  op->op = GRPC_OP_RECV_INITIAL_METADATA;
+
411  op->data.recv_initial_metadata = &recv_initial_metadata_arr_;
+
412  op->flags = 0;
+
413  op->reserved = NULL;
+
414  }
+
415  void FinishOp(bool* status, int max_message_size) {
+
416  if (recv_initial_metadata_ == nullptr) return;
+
417  FillMetadataMap(&recv_initial_metadata_arr_, recv_initial_metadata_);
+
418  recv_initial_metadata_ = nullptr;
419  }
-
420  void FinishOp(bool* status, int max_message_size) {
-
421  if (recv_initial_metadata_ == nullptr) return;
-
422  FillMetadataMap(&recv_initial_metadata_arr_, recv_initial_metadata_);
-
423  recv_initial_metadata_ = nullptr;
-
424  }
+
420 
+
421  private:
+
422  std::multimap<grpc::string_ref, grpc::string_ref>* recv_initial_metadata_;
+
423  grpc_metadata_array recv_initial_metadata_arr_;
+
424 };
425 
-
426  private:
-
427  std::multimap<grpc::string, grpc::string>* recv_initial_metadata_;
-
428  grpc_metadata_array recv_initial_metadata_arr_;
-
429 };
-
430 
- -
432  public:
-
433  CallOpClientRecvStatus() : recv_status_(nullptr) {}
+ +
427  public:
+
428  CallOpClientRecvStatus() : recv_status_(nullptr) {}
+
429 
+
430  void ClientRecvStatus(ClientContext* context, Status* status) {
+
431  recv_trailing_metadata_ = &context->trailing_metadata_;
+
432  recv_status_ = status;
+
433  }
434 
-
435  void ClientRecvStatus(ClientContext* context, Status* status) {
-
436  recv_trailing_metadata_ = &context->trailing_metadata_;
-
437  recv_status_ = status;
-
438  }
-
439 
-
440  protected:
-
441  void AddOp(grpc_op* ops, size_t* nops) {
-
442  if (recv_status_ == nullptr) return;
-
443  memset(&recv_trailing_metadata_arr_, 0,
-
444  sizeof(recv_trailing_metadata_arr_));
-
445  status_details_ = nullptr;
-
446  status_details_capacity_ = 0;
-
447  grpc_op* op = &ops[(*nops)++];
-
448  op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
-
449  op->data.recv_status_on_client.trailing_metadata =
-
450  &recv_trailing_metadata_arr_;
-
451  op->data.recv_status_on_client.status = &status_code_;
-
452  op->data.recv_status_on_client.status_details = &status_details_;
-
453  op->data.recv_status_on_client.status_details_capacity =
-
454  &status_details_capacity_;
-
455  op->flags = 0;
-
456  }
-
457 
-
458  void FinishOp(bool* status, int max_message_size) {
-
459  if (recv_status_ == nullptr) return;
-
460  FillMetadataMap(&recv_trailing_metadata_arr_, recv_trailing_metadata_);
-
461  *recv_status_ = Status(
-
462  static_cast<StatusCode>(status_code_),
-
463  status_details_ ? grpc::string(status_details_) : grpc::string());
-
464  gpr_free(status_details_);
-
465  recv_status_ = nullptr;
-
466  }
-
467 
-
468  private:
-
469  std::multimap<grpc::string, grpc::string>* recv_trailing_metadata_;
-
470  Status* recv_status_;
-
471  grpc_metadata_array recv_trailing_metadata_arr_;
-
472  grpc_status_code status_code_;
-
473  char* status_details_;
-
474  size_t status_details_capacity_;
-
475 };
-
476 
- -
483  public:
- -
487  virtual void FillOps(grpc_op* ops, size_t* nops) = 0;
+
435  protected:
+
436  void AddOp(grpc_op* ops, size_t* nops) {
+
437  if (recv_status_ == nullptr) return;
+
438  memset(&recv_trailing_metadata_arr_, 0,
+
439  sizeof(recv_trailing_metadata_arr_));
+
440  status_details_ = nullptr;
+
441  status_details_capacity_ = 0;
+
442  grpc_op* op = &ops[(*nops)++];
+
443  op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
+
444  op->data.recv_status_on_client.trailing_metadata =
+
445  &recv_trailing_metadata_arr_;
+
446  op->data.recv_status_on_client.status = &status_code_;
+
447  op->data.recv_status_on_client.status_details = &status_details_;
+
448  op->data.recv_status_on_client.status_details_capacity =
+
449  &status_details_capacity_;
+
450  op->flags = 0;
+
451  op->reserved = NULL;
+
452  }
+
453 
+
454  void FinishOp(bool* status, int max_message_size) {
+
455  if (recv_status_ == nullptr) return;
+
456  FillMetadataMap(&recv_trailing_metadata_arr_, recv_trailing_metadata_);
+
457  *recv_status_ = Status(
+
458  static_cast<StatusCode>(status_code_),
+
459  status_details_ ? grpc::string(status_details_) : grpc::string());
+
460  gpr_free(status_details_);
+
461  recv_status_ = nullptr;
+
462  }
+
463 
+
464  private:
+
465  std::multimap<grpc::string_ref, grpc::string_ref>* recv_trailing_metadata_;
+
466  Status* recv_status_;
+
467  grpc_metadata_array recv_trailing_metadata_arr_;
+
468  grpc_status_code status_code_;
+
469  char* status_details_;
+
470  size_t status_details_capacity_;
+
471 };
+
472 
+ +
479  public:
+ +
483  virtual void FillOps(grpc_op* ops, size_t* nops) = 0;
+
484 
+
485  void set_max_message_size(int max_message_size) {
+
486  max_message_size_ = max_message_size;
+
487  }
488 
-
489  void set_max_message_size(int max_message_size) {
-
490  max_message_size_ = max_message_size;
-
491  }
+
489  protected:
+ +
491 };
492 
-
493  protected:
- -
495 };
-
496 
-
503 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
-
504  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
-
505  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
- -
507  public Op1,
-
508  public Op2,
-
509  public Op3,
-
510  public Op4,
-
511  public Op5,
-
512  public Op6 {
-
513  public:
-
514  CallOpSet() : return_tag_(this) {}
-
515  void FillOps(grpc_op* ops, size_t* nops) GRPC_OVERRIDE {
-
516  this->Op1::AddOp(ops, nops);
-
517  this->Op2::AddOp(ops, nops);
-
518  this->Op3::AddOp(ops, nops);
-
519  this->Op4::AddOp(ops, nops);
-
520  this->Op5::AddOp(ops, nops);
-
521  this->Op6::AddOp(ops, nops);
-
522  }
-
523 
-
524  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
-
525  this->Op1::FinishOp(status, max_message_size_);
-
526  this->Op2::FinishOp(status, max_message_size_);
-
527  this->Op3::FinishOp(status, max_message_size_);
-
528  this->Op4::FinishOp(status, max_message_size_);
-
529  this->Op5::FinishOp(status, max_message_size_);
-
530  this->Op6::FinishOp(status, max_message_size_);
-
531  *tag = return_tag_;
-
532  return true;
-
533  }
-
534 
-
535  void set_output_tag(void* return_tag) { return_tag_ = return_tag; }
+
499 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
+
500  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
+
501  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
+ +
503  public Op1,
+
504  public Op2,
+
505  public Op3,
+
506  public Op4,
+
507  public Op5,
+
508  public Op6 {
+
509  public:
+
510  CallOpSet() : return_tag_(this) {}
+
511  void FillOps(grpc_op* ops, size_t* nops) GRPC_OVERRIDE {
+
512  this->Op1::AddOp(ops, nops);
+
513  this->Op2::AddOp(ops, nops);
+
514  this->Op3::AddOp(ops, nops);
+
515  this->Op4::AddOp(ops, nops);
+
516  this->Op5::AddOp(ops, nops);
+
517  this->Op6::AddOp(ops, nops);
+
518  }
+
519 
+
520  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
+
521  this->Op1::FinishOp(status, max_message_size_);
+
522  this->Op2::FinishOp(status, max_message_size_);
+
523  this->Op3::FinishOp(status, max_message_size_);
+
524  this->Op4::FinishOp(status, max_message_size_);
+
525  this->Op5::FinishOp(status, max_message_size_);
+
526  this->Op6::FinishOp(status, max_message_size_);
+
527  *tag = return_tag_;
+
528  return true;
+
529  }
+
530 
+
531  void set_output_tag(void* return_tag) { return_tag_ = return_tag; }
+
532 
+
533  private:
+
534  void* return_tag_;
+
535 };
536 
-
537  private:
-
538  void* return_tag_;
-
539 };
-
540 
-
545 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
-
546  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
-
547  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
- -
549  : public CallOpSet<Op1, Op2, Op3, Op4, Op5, Op6> {
-
550  public:
-
551  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
- -
553  return Base::FinalizeResult(tag, status) && false;
-
554  }
-
555 };
-
556 
-
557 // Channel and Server implement this to allow them to hook performing ops
-
558 class CallHook {
-
559  public:
-
560  virtual ~CallHook() {}
-
561  virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
-
562 };
-
563 
-
564 // Straightforward wrapping of the C call object
- -
566  public:
-
567  /* call is owned by the caller */
-
568  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq);
-
569  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq,
-
570  int max_message_size);
+
541 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
+
542  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
+
543  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
+
544 class SneakyCallOpSet : public CallOpSet<Op1, Op2, Op3, Op4, Op5, Op6> {
+
545  public:
+
546  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
+ +
548  return Base::FinalizeResult(tag, status) && false;
+
549  }
+
550 };
+
551 
+
552 // Channel and Server implement this to allow them to hook performing ops
+
553 class CallHook {
+
554  public:
+
555  virtual ~CallHook() {}
+
556  virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
+
557 };
+
558 
+
559 // Straightforward wrapping of the C call object
+ +
561  public:
+
562  /* call is owned by the caller */
+
563  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq);
+
564  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq,
+
565  int max_message_size);
+
566 
+
567  void PerformOps(CallOpSetInterface* ops);
+
568 
+
569  grpc_call* call() { return call_; }
+
570  CompletionQueue* cq() { return cq_; }
571 
-
572  void PerformOps(CallOpSetInterface* ops);
+
572  int max_message_size() { return max_message_size_; }
573 
-
574  grpc_call* call() { return call_; }
-
575  CompletionQueue* cq() { return cq_; }
-
576 
-
577  int max_message_size() { return max_message_size_; }
-
578 
-
579  private:
-
580  CallHook* call_hook_;
-
581  CompletionQueue* cq_;
-
582  grpc_call* call_;
-
583  int max_message_size_;
-
584 };
-
585 
-
586 } // namespace grpc
-
587 
-
588 #endif // GRPCXX_IMPL_CALL_H
-
void ServerSendStatus(const std::multimap< grpc::string, grpc::string > &trailing_metadata, const Status &status)
Definition: call.h:364
+
574  private:
+
575  CallHook* call_hook_;
+
576  CompletionQueue* cq_;
+
577  grpc_call* call_;
+
578  int max_message_size_;
+
579 };
+
580 
+
581 } // namespace grpc
+
582 
+
583 #endif // GRPCXX_IMPL_CALL_H
+
void ServerSendStatus(const std::multimap< grpc::string, grpc::string > &trailing_metadata, const Status &status)
Definition: call.h:357
Call(grpc_call *call, CallHook *call_hook_, CompletionQueue *cq)
Definition: call.cc:75
-
CallOpRecvInitialMetadata()
Definition: call.h:404
-
void RecvMessage(R *message)
Definition: call.h:303
-
Definition: completion_queue.h:75
-
WriteOptions & clear_buffer_hint()
Clears flag indicating that the write may be buffered and need not go out on the wire immediately...
Definition: call.h:116
-
Default argument for CallOpSet.
Definition: call.h:153
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:348
-
CallOpServerSendStatus()
Definition: call.h:362
-
void SendInitialMetadata(const std::multimap< grpc::string, grpc::string > &metadata)
Definition: call.h:163
-
void FillMetadataMap(grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
Definition: call.cc:45
-
WriteOptions & set_buffer_hint()
Sets flag indicating that the write may be buffered and need not go out on the wire immediately...
Definition: call.h:107
-
grpc::string error_message() const
Definition: status.h:53
+
CallOpRecvInitialMetadata()
Definition: call.h:398
+
void RecvMessage(R *message)
Definition: call.h:294
+
An interface allowing implementors to process and filter event tags.
Definition: completion_queue.h:192
+
WriteOptions & clear_buffer_hint()
Clears flag indicating that the write may be buffered and need not go out on the wire immediately...
Definition: call.h:112
+
Default argument for CallOpSet.
Definition: call.h:141
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:340
+
CallOpServerSendStatus()
Definition: call.h:355
+
void SendInitialMetadata(const std::multimap< grpc::string, grpc::string > &metadata)
Definition: call.h:151
+
WriteOptions & set_buffer_hint()
Sets flag indicating that the write may be buffered and need not go out on the wire immediately...
Definition: call.h:103
+
grpc::string error_message() const
Return the instance's error message.
Definition: status.h:64
-
CallOpSendMessage()
Definition: call.h:192
+
CallOpSendMessage()
Definition: call.h:181
std::string string
Definition: config.h:112
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:311
-
CompletionQueue * cq()
Definition: call.h:575
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:319
-
WriteOptions & clear_no_compression()
Clears flag for the disabling of compression for the next message write.
Definition: call.h:90
-
int max_message_size_
Definition: call.h:494
-
bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
Definition: call.h:551
-
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call.h:482
-
Definition: call.h:431
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:354
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:246
-
bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
Definition: call.h:524
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:302
+
CompletionQueue * cq()
Definition: call.h:570
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:311
+
WriteOptions & clear_no_compression()
Clears flag for the disabling of compression for the next message write.
Definition: call.h:86
+
int max_message_size_
Definition: call.h:490
+
bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
Definition: call.h:546
+
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call.h:478
+
Definition: call.h:426
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:347
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:236
+
bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
Definition: call.h:520
void Clear()
Clear all flags.
Definition: call.h:70
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:213
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:375
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:203
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:368
WriteOptions()
Definition: call.h:66
-
Definition: call.h:360
+
Definition: call.h:353
#define GRPC_FINAL
Definition: config.h:71
-
void FillOps(grpc_op *ops, size_t *nops) GRPC_OVERRIDE
Fills in grpc_op, starting from ops[*nops] and moving upwards.
Definition: call.h:515
-
grpc_call * call()
Definition: call.h:574
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:171
-
WriteOptions & set_no_compression()
Sets flag for the disabling of compression for the next message write.
Definition: call.h:82
-
Definition: client_context.h:74
-
WriteOptions & operator=(const WriteOptions &rhs)
Definition: call.h:129
-
gpr_uint32 flags() const
Returns raw flags bitset.
Definition: call.h:75
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:458
+
void FillOps(grpc_op *ops, size_t *nops) GRPC_OVERRIDE
Fills in grpc_op, starting from ops[*nops] and moving upwards.
Definition: call.h:511
+
grpc_call * call()
Definition: call.h:569
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:159
+
WriteOptions & set_no_compression()
Sets flag for the disabling of compression for the next message write.
Definition: call.h:78
+
Definition: client_context.h:149
+
WriteOptions & operator=(const WriteOptions &rhs)
Definition: call.h:123
+
gpr_uint32 flags() const
Returns raw flags bitset.
Definition: call.h:73
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:454
Defines how to serialize and deserialize some type.
Definition: serialization_traits.h:64
-
Definition: call.h:190
-
bool send_
Definition: call.h:185
-
CallOpClientRecvStatus()
Definition: call.h:433
-
bool get_no_compression() const
Get value for the flag indicating whether compression for the next message write is forcefully disabl...
Definition: call.h:99
-
Status Deserialize(grpc_byte_buffer *buf, int max_message_size) GRPC_OVERRIDE
Definition: call.h:288
-
CallOpSet()
Definition: call.h:514
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:388
-
Definition: call.h:341
-
CallOpSendInitialMetadata()
Definition: call.h:161
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:441
-
Definition: call.h:565
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:155
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:420
-
CallOpSetInterface()
Definition: call.h:484
- +
Definition: call.h:179
+
bool send_
Definition: call.h:174
+
CallOpClientRecvStatus()
Definition: call.h:428
+
bool get_no_compression() const
Get value for the flag indicating whether compression for the next message write is forcefully disabl...
Definition: call.h:95
+
Status Deserialize(grpc_byte_buffer *buf, int max_message_size) GRPC_OVERRIDE
Definition: call.h:279
+
CallOpSet()
Definition: call.h:510
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:382
+
Definition: call.h:333
+
CallOpSendInitialMetadata()
Definition: call.h:149
+
void FillMetadataMap(grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
Definition: call.cc:44
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:436
+
Definition: call.h:560
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:143
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:415
+
CallOpSetInterface()
Definition: call.h:480
+
WriteOptions(const WriteOptions &other)
Definition: call.h:67
-
Primary implementaiton of CallOpSetInterface.
Definition: call.h:506
-
void ClientSendClose()
Definition: call.h:345
-
Definition: call.h:237
-
int max_message_size()
Definition: call.h:577
+
Primary implementaiton of CallOpSetInterface.
Definition: call.h:502
+
void ClientSendClose()
Definition: call.h:337
+
Definition: call.h:227
+
int max_message_size()
Definition: call.h:572
Per-message write options.
Definition: call.h:64
-
CallOpClientSendClose()
Definition: call.h:343
-
bool get_buffer_hint() const
Get value for the flag indicating that the write may be buffered and need not go out on the wire imme...
Definition: call.h:125
-
CallOpRecvMessage()
Definition: call.h:239
-
StatusCode error_code() const
Definition: status.h:52
-
Definition: completion_queue.h:87
-
Status SendMessage(const M &message, const WriteOptions &options) GRPC_MUST_USE_RESULT
Send message using options for the write.
Definition: call.h:225
+
CallOpClientSendClose()
Definition: call.h:335
+
bool get_buffer_hint() const
Get value for the flag indicating that the write may be buffered and need not go out on the wire imme...
Definition: call.h:121
+
CallOpRecvMessage()
Definition: call.h:229
+
StatusCode error_code() const
Return the instance's error code.
Definition: status.h:62
+
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:81
+
Status SendMessage(const M &message, const WriteOptions &options) GRPC_MUST_USE_RESULT
Send message using options for the write.
Definition: call.h:215
virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call)=0
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:156
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:144
-
bool got_message
Definition: call.h:243
-
void ClientRecvStatus(ClientContext *context, Status *status)
Definition: call.h:435
+
bool got_message
Definition: call.h:233
+
void ClientRecvStatus(ClientContext *context, Status *status)
Definition: call.h:430
void PerformOps(CallOpSetInterface *ops)
Definition: call.cc:85
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:254
-
void set_max_message_size(int max_message_size)
Definition: call.h:489
-
DeserializeFuncType(R *message)
Definition: call.h:287
-
Definition: status.h:42
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:245
+
void set_max_message_size(int max_message_size)
Definition: call.h:485
+
DeserializeFuncType(R *message)
Definition: call.h:278
+
Did it work? If it didn't, why?
Definition: status.h:45
grpc_metadata * FillMetadataArray(const std::multimap< grpc::string, grpc::string > &metadata)
Definition: call.cc:59
-
Definition: call.h:159
+
Definition: call.h:147
virtual Status Deserialize(grpc_byte_buffer *buf, int max_message_size)=0
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:412
-
void RecvMessage(R *message)
Definition: call.h:241
-
CallOpGenericRecvMessage()
Definition: call.h:300
-
bool got_message
Definition: call.h:308
-
A CallOpSet that does not post completions to the completion queue.
Definition: call.h:548
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:406
+
void RecvMessage(R *message)
Definition: call.h:231
+
CallOpGenericRecvMessage()
Definition: call.h:291
+
bool got_message
Definition: call.h:299
+
A CallOpSet that does not post completions to the completion queue.
Definition: call.h:544
virtual void FillOps(grpc_op *ops, size_t *nops)=0
Fills in grpc_op, starting from ops[*nops] and moving upwards.
-
void set_output_tag(void *return_tag)
Definition: call.h:535
-
size_t initial_metadata_count_
Definition: call.h:186
+
void set_output_tag(void *return_tag)
Definition: call.h:531
+
size_t initial_metadata_count_
Definition: call.h:175
#define GRPC_OVERRIDE
Definition: config.h:77
-
Definition: call.h:558
-
void RecvInitialMetadata(ClientContext *context)
Definition: call.h:406
-
Definition: call.h:402
-
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:204
-
grpc_metadata * initial_metadata_
Definition: call.h:187
-
void FinishOp(bool *status, int max_message_size)
Definition: call.h:179
-
Definition: call.h:298
-
virtual ~CallHook()
Definition: call.h:560
- +
Definition: call.h:553
+
void RecvInitialMetadata(ClientContext *context)
Definition: call.h:400
+
Definition: call.h:396
+
void AddOp(grpc_op *ops, size_t *nops)
Definition: call.h:193
+
grpc_metadata * initial_metadata_
Definition: call.h:176
+
void FinishOp(bool *status, int max_message_size)
Definition: call.h:168
+
Definition: call.h:289
+
virtual ~CallHook()
Definition: call.h:555
+
diff --git a/doc/ref/c++.internal/html/channel_8cc.html b/doc/ref/c++.internal/html/channel_8cc.html index 79f9a985a07..db54b220548 100644 --- a/doc/ref/c++.internal/html/channel_8cc.html +++ b/doc/ref/c++.internal/html/channel_8cc.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -91,30 +91,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
channel.cc File Reference
-
#include "src/cpp/client/channel.h"
+
#include <grpc++/channel.h>
#include <memory>
#include <grpc/grpc.h>
#include <grpc/support/log.h>
#include <grpc/support/slice.h>
-#include "src/core/profiling/timers.h"
-#include <grpc++/channel_arguments.h>
#include <grpc++/client_context.h>
#include <grpc++/completion_queue.h>
-#include <grpc++/config.h>
-#include <grpc++/credentials.h>
+#include <grpc++/security/credentials.h>
#include <grpc++/impl/call.h>
#include <grpc++/impl/rpc_method.h>
-#include <grpc++/status.h>
+#include <grpc++/support/channel_arguments.h>
+#include <grpc++/support/config.h>
+#include <grpc++/support/status.h>
+#include <grpc++/support/time.h>
+#include "src/core/profiling/timers.h"

Namespaces

 grpc
 
+

Variable Documentation

+ +
+
+ + + + +
void* tag_
+
+ +
+
diff --git a/doc/ref/c++.internal/html/channel_8h.html b/doc/ref/c++.internal/html/channel_8h.html index fd37b36e913..7915682d5f7 100644 --- a/doc/ref/c++.internal/html/channel_8h.html +++ b/doc/ref/c++.internal/html/channel_8h.html @@ -4,7 +4,7 @@ -GRPC C++: src/cpp/client/channel.h File Reference +GRPC C++: include/grpc++/channel.h File Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -93,15 +93,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <memory>
-#include <grpc++/channel_interface.h>
-#include <grpc++/config.h>
+#include <grpc/grpc.h>
+#include <grpc++/impl/call.h>
#include <grpc++/impl/grpc_library.h>
+#include <grpc++/support/config.h>

Go to the source code of this file.

+ + + + + + + + + + + + + + +

Data Structures

class  grpc::ClientReader< R >
 
class  grpc::ClientWriter< W >
 
class  grpc::ClientReaderWriter< R, W >
 
class  grpc::ClientAsyncReader< R >
 
class  grpc::ClientAsyncWriter< W >
 
class  grpc::ClientAsyncReaderWriter< R, W >
 
class  grpc::ClientAsyncResponseReader< R >
 
class  grpc::Channel
 Channels represent a connection to an endpoint. Created by CreateChannel. More...
 
diff --git a/doc/ref/c++.internal/html/channel_8h_source.html b/doc/ref/c++.internal/html/channel_8h_source.html index 6c075dc6509..0050eb41715 100644 --- a/doc/ref/c++.internal/html/channel_8h_source.html +++ b/doc/ref/c++.internal/html/channel_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: src/cpp/client/channel.h Source File +GRPC C++: include/grpc++/channel.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,68 +122,141 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPC_INTERNAL_CPP_CLIENT_CHANNEL_H
-
35 #define GRPC_INTERNAL_CPP_CLIENT_CHANNEL_H
+
34 #ifndef GRPCXX_CHANNEL_H
+
35 #define GRPCXX_CHANNEL_H
36 
37 #include <memory>
38 
- -
40 #include <grpc++/config.h>
+
39 #include <grpc/grpc.h>
+
40 #include <grpc++/impl/call.h>
-
42 
-
43 struct grpc_channel;
-
44 
-
45 namespace grpc {
-
46 class Call;
-
47 class CallOpSetInterface;
-
48 class ChannelArguments;
-
49 class CompletionQueue;
-
50 class Credentials;
-
51 class StreamContextInterface;
+
42 #include <grpc++/support/config.h>
+
43 
+
44 struct grpc_channel;
+
45 
+
46 namespace grpc {
+
47 class CallOpSetInterface;
+
48 class ChannelArguments;
+
49 class CompletionQueue;
+
50 class Credentials;
+
51 class SecureCredentials;
52 
- -
54  public:
-
55  explicit Channel(grpc_channel* c_channel);
-
56  Channel(const grpc::string& host, grpc_channel* c_channel);
- -
58 
-
59  virtual void* RegisterMethod(const char* method) GRPC_OVERRIDE;
-
60  virtual Call CreateCall(const RpcMethod& method, ClientContext* context,
- -
62  virtual void PerformOpsOnCall(CallOpSetInterface* ops,
-
63  Call* call) GRPC_OVERRIDE;
-
64 
-
65  private:
-
66  const grpc::string host_;
-
67  grpc_channel* const c_channel_; // owned
-
68 };
-
69 
-
70 } // namespace grpc
-
71 
-
72 #endif // GRPC_INTERNAL_CPP_CLIENT_CHANNEL_H
+
53 template <class R>
+ +
55 template <class W>
+ +
57 template <class R, class W>
+ +
59 template <class R>
+ +
61 template <class W>
+ +
63 template <class R, class W>
+ +
65 template <class R>
+ +
67 
+ +
70  public CallHook,
+
71  public std::enable_shared_from_this<Channel> {
+
72  public:
+
73  ~Channel();
+
74 
+
77  grpc_connectivity_state GetState(bool try_to_connect);
+
78 
+
81  template <typename T>
+
82  void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline,
+
83  CompletionQueue* cq, void* tag) {
+
84  TimePoint<T> deadline_tp(deadline);
+
85  NotifyOnStateChangeImpl(last_observed, deadline_tp.raw_time(), cq, tag);
+
86  }
+
87 
+
90  template <typename T>
+
91  bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline) {
+
92  TimePoint<T> deadline_tp(deadline);
+
93  return WaitForStateChangeImpl(last_observed, deadline_tp.raw_time());
+
94  }
+
95 
+
96  private:
+
97  template <class R>
+
98  friend class ::grpc::ClientReader;
+
99  template <class W>
+
100  friend class ::grpc::ClientWriter;
+
101  template <class R, class W>
+
102  friend class ::grpc::ClientReaderWriter;
+
103  template <class R>
+
104  friend class ::grpc::ClientAsyncReader;
+
105  template <class W>
+
106  friend class ::grpc::ClientAsyncWriter;
+
107  template <class R, class W>
+
108  friend class ::grpc::ClientAsyncReaderWriter;
+
109  template <class R>
+
110  friend class ::grpc::ClientAsyncResponseReader;
+
111  template <class InputMessage, class OutputMessage>
+
112  friend Status BlockingUnaryCall(Channel* channel, const RpcMethod& method,
+
113  ClientContext* context,
+
114  const InputMessage& request,
+
115  OutputMessage* result);
+
116  friend class ::grpc::RpcMethod;
+
117  friend std::shared_ptr<Channel> CreateChannelInternal(
+
118  const grpc::string& host, grpc_channel* c_channel);
+
119 
+
120  Channel(const grpc::string& host, grpc_channel* c_channel);
+
121 
+
122  Call CreateCall(const RpcMethod& method, ClientContext* context,
+
123  CompletionQueue* cq);
+
124  void PerformOpsOnCall(CallOpSetInterface* ops, Call* call);
+
125  void* RegisterMethod(const char* method);
+
126 
+
127  void NotifyOnStateChangeImpl(grpc_connectivity_state last_observed,
+
128  gpr_timespec deadline, CompletionQueue* cq,
+
129  void* tag);
+
130  bool WaitForStateChangeImpl(grpc_connectivity_state last_observed,
+
131  gpr_timespec deadline);
+
132 
+
133  const grpc::string host_;
+
134  grpc_channel* const c_channel_; // owned
+
135 };
+
136 
+
137 } // namespace grpc
+
138 
+
139 #endif // GRPCXX_CHANNEL_H
+
Definition: channel.h:64
+
Definition: channel.h:54
+
void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline, CompletionQueue *cq, void *tag)
Return the tag on cq when the channel state is changed or deadline expires.
Definition: channel.h:82
+
bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline)
Blocking wait for channel state change or deadline expiration.
Definition: channel.h:91
std::string string
Definition: config.h:112
-
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call.h:482
+
An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
Definition: call.h:478
+
Options for channel creation.
Definition: channel_arguments.h:52
+
~Channel()
Definition: channel.cc:57
-
virtual Call CreateCall(const RpcMethod &method, ClientContext *context, CompletionQueue *cq) GRPC_OVERRIDE
Definition: channel.cc:61
- +
grpc_connectivity_state GetState(bool try_to_connect)
Get the current channel state.
Definition: channel.cc:102
#define GRPC_FINAL
Definition: config.h:71
-
Channel(grpc_channel *c_channel)
Definition: channel.cc:54
-
Definition: client_context.h:74
-
virtual void * RegisterMethod(const char *method) GRPC_OVERRIDE
Definition: channel.cc:91
+
gpr_timespec raw_time()
Definition: time.h:56
+
Definition: time.h:53
+
Definition: channel.h:66
+
Definition: client_context.h:149
Definition: grpc_library.h:41
-
Definition: call.h:565
-
Definition: channel_interface.h:52
-
~Channel() GRPC_OVERRIDE
Definition: channel.cc:59
-
Definition: completion_queue.h:87
-
Definition: rpc_method.h:39
-
virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call) GRPC_OVERRIDE
Definition: channel.cc:80
-
#define GRPC_OVERRIDE
Definition: config.h:77
-
Definition: channel.h:53
+
friend std::shared_ptr< Channel > CreateChannelInternal(const grpc::string &host, grpc_channel *c_channel)
Definition: create_channel_internal.cc:42
+
Definition: call.h:560
+
A credentials object encapsulates all the state needed by a client to authenticate with a server and ...
Definition: credentials.h:53
+ +
Definition: channel.h:62
+
friend Status BlockingUnaryCall(Channel *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
Definition: client_unary_call.h:50
+
A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
Definition: completion_queue.h:81
+
Definition: rpc_method.h:43
+
Did it work? If it didn't, why?
Definition: status.h:45
+
Definition: channel.h:58
+
Definition: channel.h:60
+
Definition: channel.h:56
+
Definition: call.h:553
+
Definition: secure_credentials.h:44
+
Channels represent a connection to an endpoint. Created by CreateChannel.
Definition: channel.h:69
diff --git a/doc/ref/c++.internal/html/channel__arguments_8cc.html b/doc/ref/c++.internal/html/channel__arguments_8cc.html index 34227cf6276..dcdc1588194 100644 --- a/doc/ref/c++.internal/html/channel__arguments_8cc.html +++ b/doc/ref/c++.internal/html/channel__arguments_8cc.html @@ -23,7 +23,7 @@ @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
channel_arguments.cc File Reference
-
#include <grpc++/channel_arguments.h>
+
#include <grpc++/support/channel_arguments.h>
#include <grpc/support/log.h>
#include "src/core/channel/channel_args.h"

@@ -112,7 +128,7 @@ Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -103,7 +103,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/channel__arguments_8h.html b/doc/ref/c++.internal/html/channel__arguments_8h.html index c1662fc0200..cc3a9f47e12 100644 --- a/doc/ref/c++.internal/html/channel__arguments_8h.html +++ b/doc/ref/c++.internal/html/channel__arguments_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_arguments.h File Reference +GRPC C++: include/grpc++/support/channel_arguments.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -94,15 +94,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
#include <vector>
#include <list>
-#include <grpc++/config.h>
#include <grpc/compression.h>
#include <grpc/grpc.h>
+#include <grpc++/support/config.h>

Go to the source code of this file.

GRPC C++ -  0.10.0.0 +  0.11.0.0
+

Data Structures

class  grpc::ChannelArguments
 Options for channel creation. More...
 
diff --git a/doc/ref/c++.internal/html/channel__arguments_8h_source.html b/doc/ref/c++.internal/html/channel__arguments_8h_source.html index 466964ba101..6d588421697 100644 --- a/doc/ref/c++.internal/html/channel__arguments_8h_source.html +++ b/doc/ref/c++.internal/html/channel__arguments_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_arguments.h Source File +GRPC C++: include/grpc++/support/channel_arguments.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
@@ -122,24 +122,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
31  *
32  */
33 
-
34 #ifndef GRPCXX_CHANNEL_ARGUMENTS_H
-
35 #define GRPCXX_CHANNEL_ARGUMENTS_H
+
34 #ifndef GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
+
35 #define GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
36 
37 #include <vector>
38 #include <list>
39 
-
40 #include <grpc++/config.h>
-
41 #include <grpc/compression.h>
-
42 #include <grpc/grpc.h>
+
40 #include <grpc/compression.h>
+
41 #include <grpc/grpc.h>
+
42 #include <grpc++/support/config.h>
43 
44 namespace grpc {
-
45 namespace testing {
+
45 namespace testing {
46 class ChannelArgumentsTest;
47 } // namespace testing
48 
-
49 // Options for channel creation. The user can use generic setters to pass
-
50 // key value pairs down to c channel creation code. For grpc related options,
-
51 // concrete setters are provided.
53  public:
@@ -153,53 +150,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
62 
63  void Swap(ChannelArguments& other);
64 
-
65  // grpc specific channel argument setters
-
66  // Set target name override for SSL host name checking.
-
67  void SetSslTargetNameOverride(const grpc::string& name);
-
68  // TODO(yangg) add flow control options
-
69 
-
70  // Set the compression algorithm for the channel.
-
71  void SetCompressionAlgorithm(grpc_compression_algorithm algorithm);
-
72 
-
73  // Generic channel argument setters. Only for advanced use cases.
-
74  void SetInt(const grpc::string& key, int value);
-
75  void SetString(const grpc::string& key, const grpc::string& value);
-
76 
-
77  // Populates given channel_args with args_, does not take ownership.
-
78  void SetChannelArgs(grpc_channel_args* channel_args) const;
-
79 
-
80  private:
-
81  friend class SecureCredentials;
- -
83 
-
84  // Returns empty string when it is not set.
-
85  grpc::string GetSslTargetNameOverride() const;
-
86 
-
87  std::vector<grpc_arg> args_;
-
88  std::list<grpc::string> strings_;
-
89 };
-
90 
-
91 } // namespace grpc
-
92 
-
93 #endif // GRPCXX_CHANNEL_ARGUMENTS_H
-
friend class testing::ChannelArgumentsTest
Definition: channel_arguments.h:82
+
70  void SetChannelArgs(grpc_channel_args* channel_args) const;
+
71 
+
72  // gRPC specific channel argument setters
+
74  void SetSslTargetNameOverride(const grpc::string& name);
+
75  // TODO(yangg) add flow control options
+
77  void SetCompressionAlgorithm(grpc_compression_algorithm algorithm);
+
78 
+
79  // Generic channel argument setters. Only for advanced use cases.
+
81  void SetInt(const grpc::string& key, int value);
+
83  void SetString(const grpc::string& key, const grpc::string& value);
+
84 
+
85  private:
+
86  friend class SecureCredentials;
+ +
88 
+
89  // Returns empty string when it is not set.
+
90  grpc::string GetSslTargetNameOverride() const;
+
91 
+
92  std::vector<grpc_arg> args_;
+
93  std::list<grpc::string> strings_;
+
94 };
+
95 
+
96 } // namespace grpc
+
97 
+
98 #endif // GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
+
friend class testing::ChannelArgumentsTest
Definition: channel_arguments.h:87
std::string string
Definition: config.h:112
-
void SetString(const grpc::string &key, const grpc::string &value)
Definition: channel_arguments.cc:93
-
Definition: channel_arguments.h:52
+
void SetString(const grpc::string &key, const grpc::string &value)
Set a textual argument value under key.
Definition: channel_arguments.cc:92
+
Options for channel creation.
Definition: channel_arguments.h:52
-
void Swap(ChannelArguments &other)
Definition: channel_arguments.cc:73
-
void SetCompressionAlgorithm(grpc_compression_algorithm algorithm)
Definition: channel_arguments.cc:78
-
void SetSslTargetNameOverride(const grpc::string &name)
Definition: secure_channel_arguments.cc:41
+
void Swap(ChannelArguments &other)
Definition: channel_arguments.cc:72
+
void SetCompressionAlgorithm(grpc_compression_algorithm algorithm)
Set the compression algorithm for the channel.
Definition: channel_arguments.cc:77
+
void SetSslTargetNameOverride(const grpc::string &name)
Set target name override for SSL host name checking.
Definition: secure_channel_arguments.cc:41
~ChannelArguments()
Definition: channel_arguments.h:55
-
void SetInt(const grpc::string &key, int value)
Definition: channel_arguments.cc:83
+
void SetInt(const grpc::string &key, int value)
Set an integer argument value under key.
Definition: channel_arguments.cc:82
ChannelArguments & operator=(ChannelArguments other)
Definition: channel_arguments.h:58
ChannelArguments()
Definition: channel_arguments.h:54
-
void SetChannelArgs(grpc_channel_args *channel_args) const
Definition: channel_arguments.cc:105
+
void SetChannelArgs(grpc_channel_args *channel_args) const
Populates this instance with the arguments from channel_args.
Definition: channel_arguments.cc:104
Definition: secure_credentials.h:44
diff --git a/doc/ref/c++.internal/html/channel__interface_8h_source.html b/doc/ref/c++.internal/html/channel__interface_8h_source.html deleted file mode 100644 index ccc80574296..00000000000 --- a/doc/ref/c++.internal/html/channel__interface_8h_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/channel_interface.h Source File - - - - - - - - - -
-
-

@@ -115,7 +116,7 @@ Namespaces

GRPC C++ -  0.10.0.0 +  0.11.0.0
- - - - - -
-
GRPC C++ -  0.10.0.0 -
-
-
- - - - - - -
- All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
- - -
- -
- - - -
-
-
channel_interface.h
-
-
-Go to the documentation of this file.
1 /*
-
2  *
-
3  * Copyright 2015, Google Inc.
-
4  * All rights reserved.
-
5  *
-
6  * Redistribution and use in source and binary forms, with or without
-
7  * modification, are permitted provided that the following conditions are
-
8  * met:
-
9  *
-
10  * * Redistributions of source code must retain the above copyright
-
11  * notice, this list of conditions and the following disclaimer.
-
12  * * Redistributions in binary form must reproduce the above
-
13  * copyright notice, this list of conditions and the following disclaimer
-
14  * in the documentation and/or other materials provided with the
-
15  * distribution.
-
16  * * Neither the name of Google Inc. nor the names of its
-
17  * contributors may be used to endorse or promote products derived from
-
18  * this software without specific prior written permission.
-
19  *
-
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-
21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-
22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-
23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-
24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-
25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-
26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-
27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-
28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-
29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-
30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
31  *
-
32  */
-
33 
-
34 #ifndef GRPCXX_CHANNEL_INTERFACE_H
-
35 #define GRPCXX_CHANNEL_INTERFACE_H
-
36 
-
37 #include <memory>
-
38 
-
39 #include <grpc++/status.h>
-
40 #include <grpc++/impl/call.h>
-
41 
-
42 struct grpc_call;
-
43 
-
44 namespace grpc {
-
45 class Call;
-
46 class CallOpBuffer;
-
47 class ClientContext;
-
48 class CompletionQueue;
-
49 class RpcMethod;
-
50 class CallInterface;
-
51 
-
52 class ChannelInterface : public CallHook,
-
53  public std::enable_shared_from_this<ChannelInterface> {
-
54  public:
-
55  virtual ~ChannelInterface() {}
-
56 
-
57  virtual void* RegisterMethod(const char* method_name) = 0;
-
58  virtual Call CreateCall(const RpcMethod& method, ClientContext* context,
-
59  CompletionQueue* cq) = 0;
-
60 };
-
61 
-
62 } // namespace grpc
-
63 
-
64 #endif // GRPCXX_CHANNEL_INTERFACE_H
-
Definition: client_context.h:74
-
virtual Call CreateCall(const RpcMethod &method, ClientContext *context, CompletionQueue *cq)=0
-
Definition: call.h:565
-
Definition: channel_interface.h:52
- -
Definition: completion_queue.h:87
-
virtual void * RegisterMethod(const char *method_name)=0
- -
Definition: rpc_method.h:39
-
virtual ~ChannelInterface()
Definition: channel_interface.h:55
-
Definition: call.h:558
-
- - - - diff --git a/doc/ref/c++.internal/html/class_grpc_buffer_reader.html b/doc/ref/c++.internal/html/class_grpc_buffer_reader.html index bfd5faa19c0..6c8cdfc55ec 100644 --- a/doc/ref/c++.internal/html/class_grpc_buffer_reader.html +++ b/doc/ref/c++.internal/html/class_grpc_buffer_reader.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -265,7 +265,7 @@ Public Member Functions diff --git a/doc/ref/c++.internal/html/class_grpc_buffer_writer.html b/doc/ref/c++.internal/html/class_grpc_buffer_writer.html index 1fa05accddf..8371fa04006 100644 --- a/doc/ref/c++.internal/html/class_grpc_buffer_writer.html +++ b/doc/ref/c++.internal/html/class_grpc_buffer_writer.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -249,7 +249,7 @@ Public Member Functions diff --git a/doc/ref/c++.internal/html/classes.html b/doc/ref/c++.internal/html/classes.html index 7bdc890d041..838331d9b22 100644 --- a/doc/ref/c++.internal/html/classes.html +++ b/doc/ref/c++.internal/html/classes.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -87,64 +87,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
Data Structure Index
-
A | B | C | D | F | G | H | I | L | M | P | R | S | T | U | W
+
A | B | C | D | F | G | H | L | M | P | R | S | T | U | W
- - - - - + + + + + + + + + - - - - - + + + - - - + + - - - + + - - - + + - - - + + - - - + + - - + +
  A  
-
Channel (grpc)   DeserializeFuncType (grpc::CallOpGenericRecvMessageHelper)   RpcMethodHandler (grpc)   SslCredentialsOptions (grpc)   
ChannelArguments (grpc)   DynamicThreadPool (grpc)   RpcService (grpc)   SslServerCredentialsOptions (grpc)   
AsyncGenericService (grpc)   ChannelInterface (grpc)   
  F  
-
RpcServiceMethod (grpc)   Status (grpc)   
AsynchronousService (grpc)   ClientAsyncReader (grpc)   
  S  
-
SynchronousService (grpc)   
AsyncReaderInterface (grpc)   ClientAsyncReaderInterface (grpc)   FixedSizeThreadPool (grpc)   Server::SyncRequest (grpc)   
AsyncWriterInterface (grpc)   ClientAsyncReaderWriter (grpc)   
  G  
-
SecureAuthContext (grpc)   
  T  
+
CallOpSetInterface (grpc)   DynamicThreadPool (grpc)   SecureCredentials (grpc)   TimePoint (grpc)   
Channel (grpc)   
  F  
+
SecureServerCredentials (grpc)   TimePoint< gpr_timespec > (grpc)   
AsyncGenericService (grpc)   ChannelArguments (grpc)   SerializationTraits (grpc)   TimePoint< std::chrono::system_clock::time_point > (grpc)   
AsynchronousService (grpc)   ClientAsyncReader (grpc)   FixedSizeThreadPool (grpc)   SerializationTraits< ByteBuffer, void > (grpc)   
  U  
+
AsyncReaderInterface (grpc)   ClientAsyncReaderInterface (grpc)   
  G  
+
SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type > (grpc)   
AsyncWriterInterface (grpc)   ClientAsyncReaderWriter (grpc)   Server (grpc)   Server::UnimplementedAsyncRequest (grpc)   
AuthContext (grpc)   ClientAsyncReaderWriterInterface (grpc)   GenericServerContext (grpc)   ServerAsyncReader (grpc)   Server::UnimplementedAsyncRequestContext (grpc)   
AuthMetadataProcessor (grpc)   ClientAsyncResponseReader (grpc)   GenericStub (grpc)   ServerAsyncReaderWriter (grpc)   Server::UnimplementedAsyncResponse (grpc)   
AuthMetadataProcessorAyncWrapper (grpc)   ClientAsyncResponseReaderInterface (grpc)   GrpcBufferReader   ServerAsyncResponseWriter (grpc)   UnknownMethodHandler (grpc)   
AuthPropertyIterator (grpc)   ClientAsyncStreamingInterface (grpc)   GrpcBufferWriter   ServerAsyncStreamingInterface (grpc)   
  W  
AuthContext (grpc)   ClientAsyncReaderWriterInterface (grpc)   SecureCredentials (grpc)   
AuthPropertyIterator (grpc)   ClientAsyncResponseReader (grpc)   GenericServerContext (grpc)   SecureServerCredentials (grpc)   ThreadPoolInterface (grpc)   
  B  
-
ClientAsyncResponseReaderInterface (grpc)   GenericStub (grpc)   SerializationTraits (grpc)   TimePoint (grpc)   
ClientAsyncStreamingInterface (grpc)   GrpcBufferReader   SerializationTraits< ByteBuffer, void > (grpc)   TimePoint< gpr_timespec > (grpc)   
BidiStreamingHandler (grpc)   ClientAsyncWriter (grpc)   GrpcBufferWriter   SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type > (grpc)   TimePoint< std::chrono::system_clock::time_point > (grpc)   
ByteBuffer (grpc)   ClientAsyncWriterInterface (grpc)   GrpcLibrary (grpc)   Server (grpc)   
  W  
+
ClientAsyncWriter (grpc)   GrpcLibrary (grpc)   ServerAsyncWriter (grpc)   
ClientAsyncWriterInterface (grpc)   
  H  
+
ServerBuilder (grpc)   WriteOptions (grpc)   
BidiStreamingHandler (grpc)   ClientContext (grpc)   ServerCompletionQueue (grpc)   WriterInterface (grpc)   
ByteBuffer (grpc)   ClientReader (grpc)   MethodHandler::HandlerParameter (grpc)   ServerContext (grpc)   
  c  
  C  
-
ClientContext (grpc)   
  H  
-
ServerAsyncReader (grpc)   
ClientReader (grpc)   ServerAsyncReaderWriter (grpc)   WriteOptions (grpc)   
Call (grpc)   ClientReaderInterface (grpc)   MethodHandler::HandlerParameter (grpc)   ServerAsyncResponseWriter (grpc)   WriterInterface (grpc)   
Server::SyncRequest::CallData (grpc)   ClientReaderWriter (grpc)   
  I  
-
ServerAsyncStreamingInterface (grpc)   
  c  
+
ClientReaderInterface (grpc)   
  M  
+
ServerCredentials (grpc)   
ClientReaderWriter (grpc)   ServerReader (grpc)   condition_variable (grpc)   
Call (grpc)   ClientReaderWriterInterface (grpc)   MethodHandler (grpc)   ServerReaderWriter (grpc)   
  l  
CallHook (grpc)   ClientReaderWriterInterface (grpc)   ServerAsyncWriter (grpc)   
CallNoOp (grpc)   ClientStreamingHandler (grpc)   InternalStub (grpc)   ServerBuilder (grpc)   condition_variable (grpc)   
CallOpClientRecvStatus (grpc)   ClientStreamingInterface (grpc)   
  M  
-
ServerCompletionQueue (grpc)   
  l  
+
Server::SyncRequest::CallData (grpc)   ClientStreamingHandler (grpc)   
  P  
+
ServerStreamingHandler (grpc)   
CallHook (grpc)   ClientStreamingInterface (grpc)   ServerWriter (grpc)   lock_guard (grpc)   
CallNoOp (grpc)   ClientWriter (grpc)   SslServerCredentialsOptions::PemKeyCertPair (grpc)   Server::ShutdownRequest (grpc)   
  m  
CallOpClientSendClose (grpc)   ClientWriter (grpc)   ServerContext (grpc)   
CallOpGenericRecvMessage (grpc)   ClientWriterInterface (grpc)   MethodHandler (grpc)   ServerCredentials (grpc)   lock_guard (grpc)   
CallOpRecvInitialMetadata (grpc)   ServerContext::CompletionOp (grpc)   
  P  
-
ServerReader (grpc)   
  m  
+
CallOpClientRecvStatus (grpc)   ClientWriterInterface (grpc)   PropagationOptions (grpc)   Slice (grpc)   
CallOpClientSendClose (grpc)   ServerContext::CompletionOp (grpc)   
  R  
+
SneakyCallOpSet (grpc)   mutex (grpc)   
CallOpGenericRecvMessage (grpc)   CompletionQueue (grpc)   SslCredentialsOptions (grpc)   
  s  
CallOpRecvMessage (grpc)   CompletionQueue (grpc)   ServerReaderWriter (grpc)   
CallOpSendInitialMetadata (grpc)   CompletionQueueTag (grpc)   SslServerCredentialsOptions::PemKeyCertPair (grpc)   ServerStreamingHandler (grpc)   mutex (grpc)   
CallOpSendMessage (grpc)   Credentials (grpc)   
  R  
-
ServerWriter (grpc)   
  t  
+
CallOpRecvInitialMetadata (grpc)   CompletionQueueTag (grpc)   ReaderInterface (grpc)   SslServerCredentialsOptions (grpc)   
CallOpRecvMessage (grpc)   Credentials (grpc)   RpcMethod (grpc)   Status (grpc)   string_ref (grpc)   
CallOpSendInitialMetadata (grpc)   
  D  
+
RpcMethodHandler (grpc)   StubOptions (grpc)   
  t  
CallOpServerSendStatus (grpc)   
  D  
-
Server::ShutdownRequest (grpc)   
CallOpSet (grpc)   ReaderInterface (grpc)   Slice (grpc)   thread (grpc)   
CallOpSetInterface (grpc)   DeserializeFunc (grpc::CallOpGenericRecvMessageHelper)   RpcMethod (grpc)   SneakyCallOpSet (grpc)   
  u  
+
CallOpSendMessage (grpc)   RpcService (grpc)   SynchronousService (grpc)   
CallOpServerSendStatus (grpc)   DeserializeFunc (grpc::CallOpGenericRecvMessageHelper)   RpcServiceMethod (grpc)   Server::SyncRequest (grpc)   thread (grpc)   
CallOpSet (grpc)   DeserializeFuncType (grpc::CallOpGenericRecvMessageHelper)   
  S  
+
  T  
+
  u  
unique_lock (grpc)   
SecureAuthContext (grpc)   ThreadPoolInterface (grpc)   unique_lock (grpc)   
-
A | B | C | D | F | G | H | I | L | M | P | R | S | T | U | W
+
A | B | C | D | F | G | H | L | M | P | R | S | T | U | W
diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_async_generic_service.html b/doc/ref/c++.internal/html/classgrpc_1_1_async_generic_service.html index 3abfc489730..b8389e52141 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_async_generic_service.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_async_generic_service.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -201,13 +201,13 @@ Friends
The documentation for this class was generated from the following files: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_async_reader_interface.html b/doc/ref/c++.internal/html/classgrpc_1_1_async_reader_interface.html index 5c3d2986fd1..a52d3e8f7a5 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_async_reader_interface.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_async_reader_interface.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -94,21 +94,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

#include <stream.h>

+

An interface that yields a sequence of messages of type R. + More...

+ +

#include <async_stream.h>

+

Public Member Functions

virtual ~AsyncReaderInterface ()
 
virtual void Read (R *msg, void *tag)=0
 Read a message of type R into msg. More...
 
-

Constructor & Destructor Documentation

+

Detailed Description

+

template<class R>
+class grpc::AsyncReaderInterface< R >

+ +

An interface that yields a sequence of messages of type R.

+

Constructor & Destructor Documentation

-template<class R >
+template<class R>
@@ -94,21 +94,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

#include <stream.h>

+

An interface that can be fed a sequence of messages of type W. + More...

+ +

#include <async_stream.h>

@@ -134,7 +143,7 @@ template<class R >
-template<class R >
+template<class R>
@@ -164,17 +173,27 @@ template<class R >
-

Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncReader< W, R >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncReader< R >.

+

Read a message of type R into msg.

+

Completion will be notified by tag on the associated completion queue.

+
Parameters
+ + + +
[out]msgWhere to eventually store the read message.
[in]tagThe tag identifying the operation.
+
+
+ +

Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncReaderWriter< ByteBuffer, ByteBuffer >, grpc::ServerAsyncReader< W, R >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncReader< R >.


The documentation for this class was generated from the following file: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_async_writer_interface.html b/doc/ref/c++.internal/html/classgrpc_1_1_async_writer_interface.html index 84f2c6fce68..6f0f7baf0fb 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_async_writer_interface.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_async_writer_interface.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
+

Public Member Functions

virtual ~AsyncWriterInterface ()
 
virtual void Write (const W &msg, void *tag)=0
 Request the writing of msg with identifying tag tag. More...
 
-

Constructor & Destructor Documentation

+

Detailed Description

+

template<class W>
+class grpc::AsyncWriterInterface< W >

+ +

An interface that can be fed a sequence of messages of type W.

+

Constructor & Destructor Documentation

-template<class W >
+template<class W>
@@ -457,7 +457,7 @@ template<class Message > diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_auth_context.html b/doc/ref/c++.internal/html/classgrpc_1_1_auth_context.html index da05d57b07c..7e0e8f3fb83 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_auth_context.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_auth_context.html @@ -23,7 +23,7 @@ @@ -88,30 +88,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
grpc::AuthContext Class Referenceabstract
+

Class encapsulating the Authentication Information. + More...

+

#include <auth_context.h>

@@ -134,7 +143,7 @@ template<class W >
-template<class W >
+template<class W>
@@ -164,17 +173,26 @@ template<class W >
-

Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncWriter< W >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncWriter< W >.

+

Request the writing of msg with identifying tag tag.

+
Parameters
+ + + +
[in]msgThe message to be written.
[in]tagThe tag identifying the operation.
+
+
+ +

Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncReaderWriter< ByteBuffer, ByteBuffer >, grpc::ServerAsyncWriter< W >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncWriter< W >.


The documentation for this class was generated from the following file: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_asynchronous_service.html b/doc/ref/c++.internal/html/classgrpc_1_1_asynchronous_service.html index 7808a679888..93f14f20489 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_asynchronous_service.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_asynchronous_service.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
- - + + + + + + - - + + + + + + + + +

Public Member Functions

virtual ~AuthContext ()
 
virtual std::vector< grpc::stringGetPeerIdentity () const =0
 
virtual bool IsPeerAuthenticated () const =0
 Returns true if the peer is authenticated. More...
 
virtual std::vector
+< grpc::string_ref
GetPeerIdentity () const =0
 A peer identity. More...
 
virtual grpc::string GetPeerIdentityPropertyName () const =0
 
virtual std::vector< grpc::stringFindPropertyValues (const grpc::string &name) const =0
 
virtual std::vector
+< grpc::string_ref
FindPropertyValues (const grpc::string &name) const =0
 Returns all the property values with the given name. More...
 
virtual AuthPropertyIterator begin () const =0
 Iteration over all the properties. More...
 
virtual AuthPropertyIterator end () const =0
 
virtual void AddProperty (const grpc::string &key, const grpc::string_ref &value)=0
 
virtual bool SetPeerIdentityPropertyName (const grpc::string &name)=0
 
+ + + + + + + + +

+Static Public Member Functions

static string transport_security_type_property_name ()
 
static string ssl_transport_security_type ()
 
static string x509_cn_property_name ()
 
static string x509_san_property_name ()
 
-

Constructor & Destructor Documentation

+

Detailed Description

+

Class encapsulating the Authentication Information.

+

It includes the secure identity of the peer, the type of secure transport used as well as any other properties required by the authorization layer.

+

Constructor & Destructor Documentation

@@ -136,6 +166,42 @@ Public Member Functions

Member Function Documentation

+ +
+
+ + + + + +
+ + + + + + + + + + + + + + + + + + +
virtual void grpc::AuthContext::AddProperty (const grpc::stringkey,
const grpc::string_refvalue 
)
+
+pure virtual
+
+ +

Implemented in grpc::SecureAuthContext.

+ +
+
@@ -157,6 +223,8 @@ Public Member Functions
+

Iteration over all the properties.

+

Implemented in grpc::SecureAuthContext.

@@ -186,7 +254,7 @@ Public Member Functions
- +
@@ -194,7 +262,7 @@ Public Member Functions @@ -83,35 +83,67 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
grpc::ChannelInterface Class Referenceabstract
+
grpc::AuthMetadataProcessor Class Referenceabstract
- + @@ -208,11 +276,13 @@ Public Member Functions
virtual std::vector<grpc::string> grpc::AuthContext::FindPropertyValues virtual std::vector<grpc::string_ref> grpc::AuthContext::FindPropertyValues ( const grpc::string name)
-

Implemented in grpc::SecureAuthContext.

+

Returns all the property values with the given name.

+ +

Implemented in grpc::SecureAuthContext.

- +
@@ -220,7 +290,7 @@ Public Member Functions

Implemented in grpc::SecureAuthContext.

+ + + +
+
+
- + @@ -233,7 +303,10 @@ Public Member Functions
virtual std::vector<grpc::string> grpc::AuthContext::GetPeerIdentity virtual std::vector<grpc::string_ref> grpc::AuthContext::GetPeerIdentity ( ) const
-

Implemented in grpc::SecureAuthContext.

+

A peer identity.

+

It is, in general, comprised of one or more properties (in which case they have the same name).

+ +

Implemented in grpc::SecureAuthContext.

@@ -260,15 +333,160 @@ Public Member Functions
+ + + + +
+ + + + + + + +
virtual bool grpc::AuthContext::IsPeerAuthenticated () const
+
+pure virtual
+
+ +

Returns true if the peer is authenticated.

+ +

Implemented in grpc::SecureAuthContext.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
virtual bool grpc::AuthContext::SetPeerIdentityPropertyName (const grpc::stringname)
+
+pure virtual
+
+ +

Implemented in grpc::SecureAuthContext.

+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static string grpc::AuthContext::ssl_transport_security_type ()
+
+inlinestatic
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static string grpc::AuthContext::transport_security_type_property_name ()
+
+inlinestatic
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static string grpc::AuthContext::x509_cn_property_name ()
+
+inlinestatic
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
static string grpc::AuthContext::x509_san_property_name ()
+
+inlinestatic
+
+

The documentation for this class was generated from the following file: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_channel_interface.html b/doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor.html similarity index 56% rename from doc/ref/c++.internal/html/classgrpc_1_1_channel_interface.html rename to doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor.html index 0b61615cc85..291f2c6542f 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_channel_interface.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor.html @@ -4,7 +4,7 @@ -GRPC C++: grpc::ChannelInterface Class Reference +GRPC C++: grpc::AuthMetadataProcessor Class Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
+ + + + + +

+Public Types

typedef std::multimap
+< grpc::string_ref,
+grpc::string_ref
InputMetadata
 
typedef std::multimap
+< grpc::string,
+grpc::string_ref
OutputMetadata
 
- - - - - - - - - - - + + + + + +

Public Member Functions

virtual ~ChannelInterface ()
 
virtual void * RegisterMethod (const char *method_name)=0
 
virtual Call CreateCall (const RpcMethod &method, ClientContext *context, CompletionQueue *cq)=0
 
- Public Member Functions inherited from grpc::CallHook
virtual ~CallHook ()
 
virtual void PerformOpsOnCall (CallOpSetInterface *ops, Call *call)=0
 
virtual ~AuthMetadataProcessor ()
 
virtual bool IsBlocking () const
 
virtual Status Process (const InputMetadata &auth_metadata, AuthContext *context, OutputMetadata *consumed_auth_metadata, OutputMetadata *response_metadata)=0
 
+

Member Typedef Documentation

+ + + +

Constructor & Destructor Documentation

- +
@@ -119,7 +151,7 @@ Public Member Functions @@ -83,30 +83,34 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-
grpc::InternalStub Class Reference
+
grpc::AuthMetadataProcessorAyncWrapper Class Reference
- + @@ -135,7 +167,7 @@ Public Member Functions

Member Function Documentation

- +
virtual grpc::ChannelInterface::~ChannelInterface virtual grpc::AuthMetadataProcessor::~AuthMetadataProcessor ( )
@@ -143,41 +175,22 @@ Public Member Functions +inlinevirtual
- + - - - - - - - - - - - - - - - - - - - + +
virtual Call grpc::ChannelInterface::CreateCall virtual bool grpc::AuthMetadataProcessor::IsBlocking (const RpcMethodmethod,
ClientContextcontext,
CompletionQueuecq 
)) const
-pure virtual
-

Implemented in grpc::Channel.

-
- +
@@ -185,11 +198,33 @@ Public Member Functions @@ -199,17 +234,15 @@ Public Member Functions
- + - - + + + + + + + + + + + + + + + + + + + + + + + +
virtual void* grpc::ChannelInterface::RegisterMethod virtual Status grpc::AuthMetadataProcessor::Process (const char * method_name)const InputMetadataauth_metadata,
AuthContextcontext,
OutputMetadataconsumed_auth_metadata,
OutputMetadataresponse_metadata 
)
-

Implemented in grpc::Channel.

-

The documentation for this class was generated from the following file: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_internal_stub.html b/doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor_aync_wrapper.html similarity index 60% rename from doc/ref/c++.internal/html/classgrpc_1_1_internal_stub.html rename to doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor_aync_wrapper.html index ade10da46f9..5a4dd8349b3 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_internal_stub.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_auth_metadata_processor_aync_wrapper.html @@ -4,7 +4,7 @@ -GRPC C++: grpc::InternalStub Class Reference +GRPC C++: grpc::AuthMetadataProcessorAyncWrapper Class Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
- - - - - - + + +

Public Member Functions

 InternalStub (const std::shared_ptr< ChannelInterface > &channel)
 
virtual ~InternalStub ()
 
ChannelInterfacechannel ()
 
 AuthMetadataProcessorAyncWrapper (const std::shared_ptr< AuthMetadataProcessor > &processor)
 
+ + + + +

+Static Public Member Functions

static void Destroy (void *wrapper)
 
static void Process (void *wrapper, grpc_auth_context *context, const grpc_metadata *md, size_t num_md, grpc_process_auth_metadata_done_cb cb, void *user_data)
 

Constructor & Destructor Documentation

- +
@@ -114,10 +118,10 @@ Public Member Functions - +

Member Function Documentation

+
- + - - + +
grpc::InternalStub::InternalStub grpc::AuthMetadataProcessorAyncWrapper::AuthMetadataProcessorAyncWrapper (const std::shared_ptr< ChannelInterface > & channel)const std::shared_ptr< AuthMetadataProcessor > & processor)
@@ -130,7 +134,8 @@ Public Member Functions
@@ -138,23 +143,23 @@ Public Member Functions +static
- + - + +
virtual grpc::InternalStub::~InternalStub void grpc::AuthMetadataProcessorAyncWrapper::Destroy ()void * wrapper)
-inlinevirtual
-

Member Function Documentation

- +
@@ -162,28 +167,64 @@ Public Member Functions +static
- + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ChannelInterface* grpc::InternalStub::channel void grpc::AuthMetadataProcessorAyncWrapper::Process ()void * wrapper,
grpc_auth_context * context,
const grpc_metadata * md,
size_t num_md,
grpc_process_auth_metadata_done_cb cb,
void * user_data 
)
-inline
-
The documentation for this class was generated from the following file:
diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_auth_property_iterator.html b/doc/ref/c++.internal/html/classgrpc_1_1_auth_property_iterator.html index fc9b3b16024..450a2121089 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_auth_property_iterator.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_auth_property_iterator.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

#include <auth_property_iterator.h>

+

#include <auth_context.h>

@@ -110,7 +110,7 @@ Public Member Functions - +

Public Member Functions

 
bool operator!= (const AuthPropertyIterator &rhs) const
 
const AuthProperty operator* ()
const AuthProperty operator* ()
 

@@ -220,7 +220,7 @@ Friends

- + @@ -299,13 +299,13 @@ Friends
The documentation for this class was generated from the following files: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_bidi_streaming_handler.html b/doc/ref/c++.internal/html/classgrpc_1_1_bidi_streaming_handler.html index 04fcc2aff41..fa4e86fa060 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_bidi_streaming_handler.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_bidi_streaming_handler.html @@ -23,7 +23,7 @@ @@ -179,7 +179,7 @@ template<class ServiceType , class RequestType , class ResponseType > diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_byte_buffer.html b/doc/ref/c++.internal/html/classgrpc_1_1_byte_buffer.html index 0f6bb098f4b..34bbde7a6fc 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_byte_buffer.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_byte_buffer.html @@ -23,7 +23,7 @@ @@ -95,21 +95,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
+

A sequence of bytes. + More...

+

#include <byte_buffer.h>

const AuthProperty grpc::AuthPropertyIterator::operator* const AuthProperty grpc::AuthPropertyIterator::operator* ( )
GRPC C++ -  0.10.0.0 +  0.11.0.0
GRPC C++ -  0.10.0.0 +  0.11.0.0
+ + + + +

Public Member Functions

 ByteBuffer ()
 Constuct an empty buffer. More...
 
 ByteBuffer (const Slice *slices, size_t nslices)
 Construct buffer from slices, of which there are nslices. More...
 
 ~ByteBuffer ()
 
void Dump (std::vector< Slice > *slices) const
 Dump (read) the buffer contents into slices. More...
 
void Clear ()
 Remove all data. More...
 
size_t Length () const
 Buffer size in bytes. More...
 

@@ -117,7 +125,9 @@ Friends

class SerializationTraits< ByteBuffer, void >
 
-

Constructor & Destructor Documentation

+

Detailed Description

+

A sequence of bytes.

+

Constructor & Destructor Documentation

@@ -139,6 +149,8 @@ Friends
+

Constuct an empty buffer.

+
@@ -165,14 +177,13 @@ Friends
+

Construct buffer from slices, of which there are nslices.

+
- - - - - -
@@ -181,11 +192,6 @@ Friends
grpc::ByteBuffer::~ByteBuffer
-
-inline
@@ -204,6 +210,8 @@ Friends
+

Remove all data.

+
@@ -220,6 +228,8 @@ Friends
+

Dump (read) the buffer contents into slices.

+
@@ -235,6 +245,8 @@ Friends
+

Buffer size in bytes.

+

Friends And Related Function Documentation

@@ -259,13 +271,13 @@ Friends
The documentation for this class was generated from the following files: diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_call.html b/doc/ref/c++.internal/html/classgrpc_1_1_call.html index a110d285440..bff5f8b6f22 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_call.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_call.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -275,7 +275,7 @@ Public Member Functions diff --git a/doc/ref/c++.internal/html/classgrpc_1_1_call_hook.html b/doc/ref/c++.internal/html/classgrpc_1_1_call_hook.html index 833187e5c9e..01f447c2cad 100644 --- a/doc/ref/c++.internal/html/classgrpc_1_1_call_hook.html +++ b/doc/ref/c++.internal/html/classgrpc_1_1_call_hook.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -160,8 +160,6 @@ Public Member Functions
-

Implemented in grpc::Channel.

-

The documentation for this class was generated from the following file:
@@ -127,143 +127,108 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
36 
37 #include <memory>
38 
-
39 #include <grpc++/config.h>
- + +
40 #include <grpc++/support/config.h>
41 
42 namespace grpc {
43 class ChannelArguments;
-
44 class ChannelInterface;
+
44 class Channel;
45 class SecureCredentials;
46 
-
47 class Credentials : public GrpcLibrary {
-
48  public:
- -
50  virtual bool ApplyToCall(grpc_call* call) = 0;
-
51 
-
52  protected:
-
53  friend std::shared_ptr<Credentials> CompositeCredentials(
-
54  const std::shared_ptr<Credentials>& creds1,
-
55  const std::shared_ptr<Credentials>& creds2);
+
53 class Credentials : public GrpcLibrary {
+
54  public:
+
56 
- -
58 
-
59  private:
-
60  friend std::shared_ptr<ChannelInterface> CreateChannel(
-
61  const grpc::string& target, const std::shared_ptr<Credentials>& creds,
-
62  const ChannelArguments& args);
-
63 
-
64  virtual std::shared_ptr<ChannelInterface> CreateChannel(
-
65  const grpc::string& target, const ChannelArguments& args) = 0;
-
66 };
-
67 
-
68 // Options used to build SslCredentials
-
69 // pem_roots_cert is the buffer containing the PEM encoding of the server root
-
70 // certificates. If this parameter is empty, the default roots will be used.
-
71 // pem_private_key is the buffer containing the PEM encoding of the client's
-
72 // private key. This parameter can be empty if the client does not have a
-
73 // private key.
-
74 // pem_cert_chain is the buffer containing the PEM encoding of the client's
-
75 // certificate chain. This parameter can be empty if the client does not have
-
76 // a certificate chain.
+
58  virtual bool ApplyToCall(grpc_call* call) = 0;
+
59 
+
60  protected:
+
61  friend std::shared_ptr<Credentials> CompositeCredentials(
+
62  const std::shared_ptr<Credentials>& creds1,
+
63  const std::shared_ptr<Credentials>& creds2);
+
64 
+ +
66 
+
67  private:
+
68  friend std::shared_ptr<Channel> CreateCustomChannel(
+
69  const grpc::string& target, const std::shared_ptr<Credentials>& creds,
+
70  const ChannelArguments& args);
+
71 
+
72  virtual std::shared_ptr<Channel> CreateChannel(
+
73  const grpc::string& target, const ChannelArguments& args) = 0;
+
74 };
+
75 
- - - -
81 };
-
82 
-
83 // Factories for building different types of Credentials
-
84 // The functions may return empty shared_ptr when credentials cannot be created.
-
85 // If a Credentials pointer is returned, it can still be invalid when used to
-
86 // create a channel. A lame channel will be created then and all rpcs will
-
87 // fail on it.
+ +
84 
+
88 
-
89 // Builds credentials with reasonable defaults.
-
90 std::shared_ptr<Credentials> GoogleDefaultCredentials();
-
91 
-
92 // Builds SSL Credentials given SSL specific options
-
93 std::shared_ptr<Credentials> SslCredentials(
-
94  const SslCredentialsOptions& options);
-
95 
-
96 // Builds credentials for use when running in GCE
-
97 std::shared_ptr<Credentials> ComputeEngineCredentials();
-
98 
-
99 // Builds service account credentials.
-
100 // json_key is the JSON key string containing the client's private key.
-
101 // scope is a space-delimited list of the requested permissions.
-
102 // token_lifetime_seconds is the lifetime in seconds of each token acquired
-
103 // through this service account credentials. It should be positive and should
-
104 // not exceed grpc_max_auth_token_lifetime or will be cropped to this value.
-
105 std::shared_ptr<Credentials> ServiceAccountCredentials(
-
106  const grpc::string& json_key, const grpc::string& scope,
-
107  long token_lifetime_seconds);
-
108 
-
109 // Builds Service Account JWT Access credentials.
-
110 // json_key is the JSON key string containing the client's private key.
-
111 // token_lifetime_seconds is the lifetime in seconds of each Json Web Token
-
112 // (JWT) created with this credentials. It should not exceed
-
113 // grpc_max_auth_token_lifetime or will be cropped to this value.
-
114 std::shared_ptr<Credentials> ServiceAccountJWTAccessCredentials(
-
115  const grpc::string& json_key, long token_lifetime_seconds);
-
116 
-
117 // Builds refresh token credentials.
-
118 // json_refresh_token is the JSON string containing the refresh token along
-
119 // with a client_id and client_secret.
-
120 std::shared_ptr<Credentials> RefreshTokenCredentials(
-
121  const grpc::string& json_refresh_token);
-
122 
-
123 // Builds access token credentials.
-
124 // access_token is an oauth2 access token that was fetched using an out of band
-
125 // mechanism.
-
126 std::shared_ptr<Credentials> AccessTokenCredentials(
-
127  const grpc::string& access_token);
-
128 
-
129 // Builds IAM credentials.
-
130 std::shared_ptr<Credentials> IAMCredentials(
-
131  const grpc::string& authorization_token,
-
132  const grpc::string& authority_selector);
-
133 
-
134 // Combines two credentials objects into a composite credentials
-
135 std::shared_ptr<Credentials> CompositeCredentials(
-
136  const std::shared_ptr<Credentials>& creds1,
-
137  const std::shared_ptr<Credentials>& creds2);
+ +
93 };
+
94 
+
95 // Factories for building different types of Credentials The functions may
+
96 // return empty shared_ptr when credentials cannot be created. If a
+
97 // Credentials pointer is returned, it can still be invalid when used to create
+
98 // a channel. A lame channel will be created then and all rpcs will fail on it.
+
99 
+
106 std::shared_ptr<Credentials> GoogleDefaultCredentials();
+
107 
+
109 std::shared_ptr<Credentials> SslCredentials(
+
110  const SslCredentialsOptions& options);
+
111 
+
118 std::shared_ptr<Credentials> GoogleComputeEngineCredentials();
+
119 
+
125 std::shared_ptr<Credentials> ServiceAccountJWTAccessCredentials(
+
126  const grpc::string& json_key, long token_lifetime_seconds);
+
127 
+
136 std::shared_ptr<Credentials> GoogleRefreshTokenCredentials(
+
137  const grpc::string& json_refresh_token);
138 
-
139 // Credentials for an unencrypted, unauthenticated channel
-
140 std::shared_ptr<Credentials> InsecureCredentials();
-
141 
-
142 } // namespace grpc
-
143 
-
144 #endif // GRPCXX_CREDENTIALS_H
-
std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
Definition: secure_credentials.cc:137
+
147 std::shared_ptr<Credentials> AccessTokenCredentials(
+
148  const grpc::string& access_token);
+
149 
+
156 std::shared_ptr<Credentials> GoogleIAMCredentials(
+
157  const grpc::string& authorization_token,
+
158  const grpc::string& authority_selector);
+
159 
+
161 std::shared_ptr<Credentials> CompositeCredentials(
+
162  const std::shared_ptr<Credentials>& creds1,
+
163  const std::shared_ptr<Credentials>& creds2);
+
164 
+
166 std::shared_ptr<Credentials> InsecureCredentials();
+
167 
+
168 } // namespace grpc
+
169 
+
170 #endif // GRPCXX_CREDENTIALS_H
+
std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
Combines two credentials objects into a composite credentials.
Definition: secure_credentials.cc:131
+
std::shared_ptr< Credentials > GoogleIAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)
Builds IAM credentials.
Definition: secure_credentials.cc:122
std::string string
Definition: config.h:112
-
std::shared_ptr< Credentials > AccessTokenCredentials(const grpc::string &access_token)
Definition: secure_credentials.cc:122
-
Definition: channel_arguments.h:52
+
std::shared_ptr< Credentials > AccessTokenCredentials(const grpc::string &access_token)
Builds access token credentials.
Definition: secure_credentials.cc:114
+
Options for channel creation.
Definition: channel_arguments.h:52
+
friend std::shared_ptr< Channel > CreateCustomChannel(const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
Create a new custom Channel pointing to target.
Definition: create_channel.cc:51
~Credentials() GRPC_OVERRIDE
Definition: credentials.cc:38
-
virtual bool ApplyToCall(grpc_call *call)=0
-
std::shared_ptr< Credentials > InsecureCredentials()
Definition: insecure_credentials.cc:62
-
std::shared_ptr< Credentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds)
Definition: secure_credentials.cc:101
-
grpc::string pem_root_certs
Definition: credentials.h:78
-
Definition: credentials.h:77
+
virtual bool ApplyToCall(grpc_call *call)=0
Apply this instance's credentials to call.
+
std::shared_ptr< Credentials > InsecureCredentials()
Credentials for an unencrypted, unauthenticated channel.
Definition: insecure_credentials.cc:64
+
std::shared_ptr< Credentials > GoogleComputeEngineCredentials()
Builds credentials for use when running in GCE.
Definition: secure_credentials.cc:84
+
std::shared_ptr< Credentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds)
Builds Service Account JWT Access credentials.
Definition: secure_credentials.cc:91
+
grpc::string pem_root_certs
The buffer containing the PEM encoding of the server root certificates.
Definition: credentials.h:83
+
Options used to build SslCredentials.
Definition: credentials.h:77
Definition: grpc_library.h:41
virtual SecureCredentials * AsSecureCredentials()=0
-
grpc::string pem_cert_chain
Definition: credentials.h:80
-
Definition: credentials.h:47
-
grpc::string pem_private_key
Definition: credentials.h:79
-
friend std::shared_ptr< ChannelInterface > CreateChannel(const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
Definition: create_channel.cc:45
-
std::shared_ptr< Credentials > ComputeEngineCredentials()
Definition: secure_credentials.cc:80
-
std::shared_ptr< Credentials > ServiceAccountCredentials(const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
Definition: secure_credentials.cc:85
-
std::shared_ptr< Credentials > RefreshTokenCredentials(const grpc::string &json_refresh_token)
Definition: secure_credentials.cc:115
-
friend std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
Definition: secure_credentials.cc:137
-
std::shared_ptr< Credentials > SslCredentials(const SslCredentialsOptions &options)
Definition: secure_credentials.cc:68
-
std::shared_ptr< Credentials > GoogleDefaultCredentials()
Definition: secure_credentials.cc:63
+
grpc::string pem_cert_chain
The buffer containing the PEM encoding of the client's certificate chain.
Definition: credentials.h:92
+
A credentials object encapsulates all the state needed by a client to authenticate with a server and ...
Definition: credentials.h:53
+
grpc::string pem_private_key
The buffer containing the PEM encoding of the client's private key.
Definition: credentials.h:87
+
friend std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
Combines two credentials objects into a composite credentials.
Definition: secure_credentials.cc:131
+
std::shared_ptr< Credentials > SslCredentials(const SslCredentialsOptions &options)
Builds SSL Credentials given SSL specific options.
Definition: secure_credentials.cc:71
+
std::shared_ptr< Credentials > GoogleRefreshTokenCredentials(const grpc::string &json_refresh_token)
Builds refresh token credentials.
Definition: secure_credentials.cc:106
+
std::shared_ptr< Credentials > GoogleDefaultCredentials()
Builds credentials with reasonable defaults.
Definition: secure_credentials.cc:65
#define GRPC_OVERRIDE
Definition: config.h:77
Definition: secure_credentials.h:44
-
std::shared_ptr< Credentials > IAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)
Definition: secure_credentials.cc:129
diff --git a/doc/ref/c++.internal/html/dir_0b10d04e5d7dad9a62c383a9247be3d1.html b/doc/ref/c++.internal/html/dir_0b10d04e5d7dad9a62c383a9247be3d1.html index 8af035b69b4..a18f2bd1199 100644 --- a/doc/ref/c++.internal/html/dir_0b10d04e5d7dad9a62c383a9247be3d1.html +++ b/doc/ref/c++.internal/html/dir_0b10d04e5d7dad9a62c383a9247be3d1.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -92,8 +92,12 @@ Files   file  dynamic_thread_pool.cc   +file  dynamic_thread_pool.h [code] +  file  fixed_size_thread_pool.cc   +file  fixed_size_thread_pool.h [code] +  file  insecure_server_credentials.cc   file  secure_server_credentials.cc @@ -108,11 +112,13 @@ Files   file  server_credentials.cc   +file  thread_pool_interface.h [code] diff --git a/doc/ref/c++.internal/html/dir_19df79a805b4861569a906876c7b9634.html b/doc/ref/c++.internal/html/dir_19df79a805b4861569a906876c7b9634.html new file mode 100644 index 00000000000..a1fa55a185c --- /dev/null +++ b/doc/ref/c++.internal/html/dir_19df79a805b4861569a906876c7b9634.html @@ -0,0 +1,102 @@ + + + + + + +GRPC C++: include/grpc++/generic Directory Reference + + + + + + + + + +
+
+ + + + + + +
+
GRPC C++ +  0.11.0.0 +
+
+
+ + + + + + + + +
+ +
+ + +
+
+
+
generic Directory Reference
+
+
+ + + + + + +

+Files

file  async_generic_service.h [code]
 
file  generic_stub.h [code]
 
+
+ + + + diff --git a/doc/ref/c++.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/ref/c++.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 3b62c8454a6..b6032ff4129 100644 --- a/doc/ref/c++.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/doc/ref/c++.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -92,7 +92,7 @@ Directories diff --git a/doc/ref/c++.internal/html/dir_799bce05d9e8d02e411cbb271f1d27d0.html b/doc/ref/c++.internal/html/dir_799bce05d9e8d02e411cbb271f1d27d0.html index 910262c7f48..a783172a6b9 100644 --- a/doc/ref/c++.internal/html/dir_799bce05d9e8d02e411cbb271f1d27d0.html +++ b/doc/ref/c++.internal/html/dir_799bce05d9e8d02e411cbb271f1d27d0.html @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -92,7 +92,7 @@ Files diff --git a/doc/ref/c++/html/internal__stub_8h.html b/doc/ref/c++.internal/html/dir_7d74774c8f3e0db94d40932630f431b6.html similarity index 75% rename from doc/ref/c++/html/internal__stub_8h.html rename to doc/ref/c++.internal/html/dir_7d74774c8f3e0db94d40932630f431b6.html index 1e8adb6a92c..0cddfa2c587 100644 --- a/doc/ref/c++/html/internal__stub_8h.html +++ b/doc/ref/c++.internal/html/dir_7d74774c8f3e0db94d40932630f431b6.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/impl/internal_stub.h File Reference +GRPC C++: include/grpc++/security Directory Reference @@ -23,7 +23,7 @@
GRPC C++ -  0.10.0.0 +  0.11.0.0
@@ -40,7 +40,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Main Page
  • Namespaces
  • Data Structures
  • -
  • Files
  • +
  • Files
  • @@ -59,12 +59,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • -
    -
    -
    internal_stub.h File Reference
    +
    security Directory Reference
    -
    #include <memory>
    -#include <grpc++/channel_interface.h>
    -
    -

    Go to the source code of this file.

    - - + + + + + + -

    -Data Structures

    class  grpc::InternalStub

    +Files

    file  auth_context.h [code]
     
     
    file  credentials.h [code]
     
    - - +

    -Namespaces

     grpc
    file  server_credentials.h [code]
     
    diff --git a/doc/ref/c++.internal/html/dir_9054dff79f4aef5611b5dbb47b540bd9.html b/doc/ref/c++.internal/html/dir_9054dff79f4aef5611b5dbb47b540bd9.html index 3e8a9f1f172..89d3527c0d0 100644 --- a/doc/ref/c++.internal/html/dir_9054dff79f4aef5611b5dbb47b540bd9.html +++ b/doc/ref/c++.internal/html/dir_9054dff79f4aef5611b5dbb47b540bd9.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,13 +92,15 @@ Files   file  status.cc   +file  string_ref.cc +  file  time.cc   diff --git a/doc/ref/c++.internal/html/dir_9b13ffd429196d74948b03440343f0b3.html b/doc/ref/c++.internal/html/dir_9b13ffd429196d74948b03440343f0b3.html index 1a7dc237469..15e3ff439c2 100644 --- a/doc/ref/c++.internal/html/dir_9b13ffd429196d74948b03440343f0b3.html +++ b/doc/ref/c++.internal/html/dir_9b13ffd429196d74948b03440343f0b3.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -88,22 +88,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Files file  channel.cc   -file  channel.h [code] -  file  channel_arguments.cc   file  client_context.cc   file  create_channel.cc   +file  create_channel_internal.cc +  +file  create_channel_internal.h [code] +  file  credentials.cc   file  generic_stub.cc   file  insecure_credentials.cc   -file  internal_stub.cc -  file  secure_channel_arguments.cc   file  secure_credentials.cc @@ -114,7 +114,7 @@ Files diff --git a/doc/ref/c++.internal/html/dir_ac8b245a5921095c43c106649fd7bc4b.html b/doc/ref/c++.internal/html/dir_ac8b245a5921095c43c106649fd7bc4b.html index c912b569dd7..98ea10b122b 100644 --- a/doc/ref/c++.internal/html/dir_ac8b245a5921095c43c106649fd7bc4b.html +++ b/doc/ref/c++.internal/html/dir_ac8b245a5921095c43c106649fd7bc4b.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,8 +92,6 @@ Files   file  grpc_library.h [code]   -file  internal_stub.h [code] -  file  proto_utils.h [code]   file  rpc_method.h [code] @@ -120,7 +118,7 @@ Files diff --git a/doc/ref/c++.internal/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html b/doc/ref/c++.internal/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html new file mode 100644 index 00000000000..e353b7712b7 --- /dev/null +++ b/doc/ref/c++.internal/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html @@ -0,0 +1,124 @@ + + + + + + +GRPC C++: include/grpc++/support Directory Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + +
    + +
    + + +
    +
    +
    +
    support Directory Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Files

    file  async_stream.h [code]
     
    file  async_unary_call.h [code]
     
    file  byte_buffer.h [code]
     
    file  channel_arguments.h [code]
     
    file  config.h [code]
     
    file  config_protobuf.h [code]
     
    file  slice.h [code]
     
    file  status.h [code]
     
    file  status_code_enum.h [code]
     
    file  string_ref.h [code]
     
    file  stub_options.h [code]
     
    file  sync_stream.h [code]
     
    file  time.h [code]
     
    +
    + + + + diff --git a/doc/ref/c++.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/ref/c++.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html index f35cc6da29c..9c22952667e 100644 --- a/doc/ref/c++.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/doc/ref/c++.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ Directories diff --git a/doc/ref/c++.internal/html/dir_dfdbda394c3f7a3aa55229f33a559c41.html b/doc/ref/c++.internal/html/dir_dfdbda394c3f7a3aa55229f33a559c41.html index 61b780ff5fa..a31cef2011a 100644 --- a/doc/ref/c++.internal/html/dir_dfdbda394c3f7a3aa55229f33a559c41.html +++ b/doc/ref/c++.internal/html/dir_dfdbda394c3f7a3aa55229f33a559c41.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -100,7 +100,7 @@ Directories diff --git a/doc/ref/c++.internal/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html b/doc/ref/c++.internal/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html index 2aba8c592b1..85c9e3d0c04 100644 --- a/doc/ref/c++.internal/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html +++ b/doc/ref/c++.internal/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -86,68 +86,36 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + +

    Directories

    directory  generic
     
    directory  impl
     
    directory  security
     
    directory  support
     
    - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - -

    Files

    file  async_generic_service.h [code]
     
    file  async_unary_call.h [code]
     
    file  auth_context.h [code]
     
    file  auth_property_iterator.h [code]
     
    file  byte_buffer.h [code]
     
    file  channel_arguments.h [code]
     
    file  channel_interface.h [code]
    file  channel.h [code]
     
    file  client_context.h [code]
     
    file  completion_queue.h [code]
     
    file  config.h [code]
     
    file  config_protobuf.h [code]
     
    file  create_channel.h [code]
     
    file  credentials.h [code]
     
    file  dynamic_thread_pool.h [code]
     
    file  fixed_size_thread_pool.h [code]
     
    file  generic_stub.h [code]
     
    file  server.h [code]
     
    file  server_builder.h [code]
     
    file  server_context.h [code]
     
    file  server_credentials.h [code]
     
    file  slice.h [code]
     
    file  status.h [code]
     
    file  status_code_enum.h [code]
     
    file  stream.h [code]
     
    file  thread_pool_interface.h [code]
     
    file  time.h [code]
     
    diff --git a/doc/ref/c++.internal/html/dir_fdeab67c13c4581d892d240a87ff1c87.html b/doc/ref/c++.internal/html/dir_fdeab67c13c4581d892d240a87ff1c87.html index 295099f13dc..e290165b715 100644 --- a/doc/ref/c++.internal/html/dir_fdeab67c13c4581d892d240a87ff1c87.html +++ b/doc/ref/c++.internal/html/dir_fdeab67c13c4581d892d240a87ff1c87.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -106,7 +106,7 @@ Files diff --git a/doc/ref/c++.internal/html/dynamic__thread__pool_8cc.html b/doc/ref/c++.internal/html/dynamic__thread__pool_8cc.html index 281c310e150..6775d44cba6 100644 --- a/doc/ref/c++.internal/html/dynamic__thread__pool_8cc.html +++ b/doc/ref/c++.internal/html/dynamic__thread__pool_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -103,7 +103,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/dynamic__thread__pool_8h.html b/doc/ref/c++.internal/html/dynamic__thread__pool_8h.html index fcacefb56a3..832e46fb604 100644 --- a/doc/ref/c++.internal/html/dynamic__thread__pool_8h.html +++ b/doc/ref/c++.internal/html/dynamic__thread__pool_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/dynamic_thread_pool.h File Reference +GRPC C++: src/cpp/server/dynamic_thread_pool.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -92,13 +92,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    dynamic_thread_pool.h File Reference
    -
    #include <grpc++/config.h>
    -#include <grpc++/impl/sync.h>
    -#include <grpc++/impl/thd.h>
    -#include <grpc++/thread_pool_interface.h>
    -#include <list>
    +
    #include <list>
    #include <memory>
    #include <queue>
    +#include <grpc++/impl/sync.h>
    +#include <grpc++/impl/thd.h>
    +#include <grpc++/support/config.h>
    +#include "src/cpp/server/thread_pool_interface.h"

    Go to the source code of this file.

    Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -115,7 +115,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/dynamic__thread__pool_8h_source.html b/doc/ref/c++.internal/html/dynamic__thread__pool_8h_source.html index b57a986a34e..1c91544926a 100644 --- a/doc/ref/c++.internal/html/dynamic__thread__pool_8h_source.html +++ b/doc/ref/c++.internal/html/dynamic__thread__pool_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/dynamic_thread_pool.h Source File +GRPC C++: src/cpp/server/dynamic_thread_pool.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,18 +122,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_DYNAMIC_THREAD_POOL_H
    -
    35 #define GRPCXX_DYNAMIC_THREAD_POOL_H
    +
    34 #ifndef GRPC_INTERNAL_CPP_DYNAMIC_THREAD_POOL_H
    +
    35 #define GRPC_INTERNAL_CPP_DYNAMIC_THREAD_POOL_H
    36 
    -
    37 #include <grpc++/config.h>
    -
    38 
    -
    39 #include <grpc++/impl/sync.h>
    -
    40 #include <grpc++/impl/thd.h>
    - -
    42 
    -
    43 #include <list>
    -
    44 #include <memory>
    -
    45 #include <queue>
    +
    37 #include <list>
    +
    38 #include <memory>
    +
    39 #include <queue>
    +
    40 
    +
    41 #include <grpc++/impl/sync.h>
    +
    42 #include <grpc++/impl/thd.h>
    +
    43 #include <grpc++/support/config.h>
    +
    44 
    +
    46 
    47 namespace grpc {
    48 
    @@ -146,40 +146,41 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    55 
    56  private:
    57  class DynamicThread {
    -
    58  public:
    -
    59  DynamicThread(DynamicThreadPool *pool);
    +
    58  public:
    +
    59  DynamicThread(DynamicThreadPool* pool);
    60  ~DynamicThread();
    -
    61  private:
    -
    62  DynamicThreadPool *pool_;
    -
    63  std::unique_ptr<grpc::thread> thd_;
    -
    64  void ThreadFunc();
    -
    65  };
    -
    66  grpc::mutex mu_;
    - -
    68  grpc::condition_variable shutdown_cv_;
    -
    69  bool shutdown_;
    -
    70  std::queue<std::function<void()>> callbacks_;
    -
    71  int reserve_threads_;
    -
    72  int nthreads_;
    -
    73  int threads_waiting_;
    -
    74  std::list<DynamicThread*> dead_threads_;
    -
    75 
    -
    76  void ThreadFunc();
    -
    77  static void ReapThreads(std::list<DynamicThread*>* tlist);
    -
    78 };
    -
    79 
    -
    80 } // namespace grpc
    -
    81 
    -
    82 #endif // GRPCXX_DYNAMIC_THREAD_POOL_H
    +
    61 
    +
    62  private:
    +
    63  DynamicThreadPool* pool_;
    +
    64  std::unique_ptr<grpc::thread> thd_;
    +
    65  void ThreadFunc();
    +
    66  };
    +
    67  grpc::mutex mu_;
    + +
    69  grpc::condition_variable shutdown_cv_;
    +
    70  bool shutdown_;
    +
    71  std::queue<std::function<void()>> callbacks_;
    +
    72  int reserve_threads_;
    +
    73  int nthreads_;
    +
    74  int threads_waiting_;
    +
    75  std::list<DynamicThread*> dead_threads_;
    +
    76 
    +
    77  void ThreadFunc();
    +
    78  static void ReapThreads(std::list<DynamicThread*>* tlist);
    +
    79 };
    +
    80 
    +
    81 } // namespace grpc
    +
    82 
    +
    83 #endif // GRPC_INTERNAL_CPP_DYNAMIC_THREAD_POOL_H
    Definition: sync_no_cxx11.h:45
    #define GRPC_FINAL
    Definition: config.h:71
    Definition: thread_pool_interface.h:42
    -
    DynamicThreadPool(int reserve_threads)
    Definition: dynamic_thread_pool.cc:87
    -
    Definition: sync_no_cxx11.h:84
    +
    DynamicThreadPool(int reserve_threads)
    Definition: dynamic_thread_pool.cc:88
    +
    Definition: sync_no_cxx11.h:87
    -
    void Add(const std::function< void()> &callback) GRPC_OVERRIDE
    Definition: dynamic_thread_pool.cc:113
    -
    ~DynamicThreadPool()
    Definition: dynamic_thread_pool.cc:103
    +
    void Add(const std::function< void()> &callback) GRPC_OVERRIDE
    Definition: dynamic_thread_pool.cc:116
    +
    ~DynamicThreadPool()
    Definition: dynamic_thread_pool.cc:106
    Definition: dynamic_thread_pool.h:49
    #define GRPC_OVERRIDE
    Definition: config.h:77
    @@ -187,7 +188,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++.internal/html/files.html b/doc/ref/c++.internal/html/files.html index b31495915a2..2303d8dbd58 100644 --- a/doc/ref/c++.internal/html/files.html +++ b/doc/ref/c++.internal/html/files.html @@ -23,7 +23,7 @@ @@ -89,60 +89,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    [detail level 1234]
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + @@ -161,25 +163,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - + + + + + + + + + + + + + + + + +
    o-include
    |\-grpc++
    | o-impl
    | |o*call.h
    | |o*client_unary_call.h
    | |o*grpc_library.h
    | |o*internal_stub.h
    | |o*proto_utils.h
    | |o*rpc_method.h
    | |o*rpc_service_method.h
    | |o*serialization_traits.h
    | |o*service_type.h
    | |o*sync.h
    | |o*sync_cxx11.h
    | |o*sync_no_cxx11.h
    | |o*thd.h
    | |o*thd_cxx11.h
    | |\*thd_no_cxx11.h
    | o*async_generic_service.h
    | o*async_unary_call.h
    | o*auth_context.h
    | o*auth_property_iterator.h
    | o*byte_buffer.h
    | o*channel_arguments.h
    | o*channel_interface.h
    | o*client_context.h
    | o*completion_queue.h
    | o*config.h
    | o*config_protobuf.h
    | o*create_channel.h
    | o*credentials.h
    | o*dynamic_thread_pool.h
    | o*fixed_size_thread_pool.h
    | o*generic_stub.h
    | o*server.h
    | o*server_builder.h
    | o*server_context.h
    | o*server_credentials.h
    | o*slice.h
    | o*status.h
    | o*status_code_enum.h
    | o*stream.h
    | o*thread_pool_interface.h
    | \*time.h
    | o-generic
    | |o*async_generic_service.h
    | |\*generic_stub.h
    | o-impl
    | |o*call.h
    | |o*client_unary_call.h
    | |o*grpc_library.h
    | |o*proto_utils.h
    | |o*rpc_method.h
    | |o*rpc_service_method.h
    | |o*serialization_traits.h
    | |o*service_type.h
    | |o*sync.h
    | |o*sync_cxx11.h
    | |o*sync_no_cxx11.h
    | |o*thd.h
    | |o*thd_cxx11.h
    | |\*thd_no_cxx11.h
    | o-security
    | |o*auth_context.h
    | |o*auth_metadata_processor.h
    | |o*credentials.h
    | |\*server_credentials.h
    | o-support
    | |o*async_stream.h
    | |o*async_unary_call.h
    | |o*byte_buffer.h
    | |o*channel_arguments.h
    | |o*config.h
    | |o*config_protobuf.h
    | |o*slice.h
    | |o*status.h
    | |o*status_code_enum.h
    | |o*string_ref.h
    | |o*stub_options.h
    | |o*sync_stream.h
    | |\*time.h
    | o*channel.h
    | o*client_context.h
    | o*completion_queue.h
    | o*create_channel.h
    | o*server.h
    | o*server_builder.h
    | \*server_context.h
    \-src
     \-cpp
      o-client
      |o*channel.cc
      |o*channel.h
      |o*channel_arguments.cc
      |o*client_context.cc
      |o*create_channel.cc
      |o*credentials.cc
      |o*generic_stub.cc
      |o*insecure_credentials.cc
      |o*internal_stub.cc
      |o*channel_arguments.cc
      |o*client_context.cc
      |o*create_channel.cc
      |o*create_channel_internal.cc
      |o*create_channel_internal.h
      |o*credentials.cc
      |o*generic_stub.cc
      |o*insecure_credentials.cc
      |o*secure_channel_arguments.cc
      |o*secure_credentials.cc
      |\*secure_credentials.h
      |o*async_generic_service.cc
      |o*create_default_thread_pool.cc
      |o*dynamic_thread_pool.cc
      |o*fixed_size_thread_pool.cc
      |o*insecure_server_credentials.cc
      |o*secure_server_credentials.cc
      |o*secure_server_credentials.h
      |o*server.cc
      |o*server_builder.cc
      |o*server_context.cc
      |\*server_credentials.cc
      \-util
       o*byte_buffer.cc
       o*slice.cc
       o*status.cc
       \*time.cc
      |o*dynamic_thread_pool.h
      |o*fixed_size_thread_pool.cc
      |o*fixed_size_thread_pool.h
      |o*insecure_server_credentials.cc
      |o*secure_server_credentials.cc
      |o*secure_server_credentials.h
      |o*server.cc
      |o*server_builder.cc
      |o*server_context.cc
      |o*server_credentials.cc
      |\*thread_pool_interface.h
      \-util
       o*byte_buffer.cc
       o*slice.cc
       o*status.cc
       o*string_ref.cc
       \*time.cc
    diff --git a/doc/ref/c++.internal/html/fixed__size__thread__pool_8cc.html b/doc/ref/c++.internal/html/fixed__size__thread__pool_8cc.html index f8d2714f5fa..64b629b9958 100644 --- a/doc/ref/c++.internal/html/fixed__size__thread__pool_8cc.html +++ b/doc/ref/c++.internal/html/fixed__size__thread__pool_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -103,7 +103,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/fixed__size__thread__pool_8h.html b/doc/ref/c++.internal/html/fixed__size__thread__pool_8h.html index 7fa70d976a3..cab57c7fb18 100644 --- a/doc/ref/c++.internal/html/fixed__size__thread__pool_8h.html +++ b/doc/ref/c++.internal/html/fixed__size__thread__pool_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/fixed_size_thread_pool.h File Reference +GRPC C++: src/cpp/server/fixed_size_thread_pool.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -92,12 +92,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    fixed_size_thread_pool.h File Reference
    -
    #include <grpc++/config.h>
    +
    #include <queue>
    +#include <vector>
    #include <grpc++/impl/sync.h>
    #include <grpc++/impl/thd.h>
    -#include <grpc++/thread_pool_interface.h>
    -#include <queue>
    -#include <vector>
    +#include <grpc++/support/config.h>
    +#include "src/cpp/server/thread_pool_interface.h"

    Go to the source code of this file.

    Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -114,7 +114,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/fixed__size__thread__pool_8h_source.html b/doc/ref/c++.internal/html/fixed__size__thread__pool_8h_source.html index b51ec15b979..216e6a484d9 100644 --- a/doc/ref/c++.internal/html/fixed__size__thread__pool_8h_source.html +++ b/doc/ref/c++.internal/html/fixed__size__thread__pool_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/fixed_size_thread_pool.h Source File +GRPC C++: src/cpp/server/fixed_size_thread_pool.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,17 +122,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_FIXED_SIZE_THREAD_POOL_H
    -
    35 #define GRPCXX_FIXED_SIZE_THREAD_POOL_H
    +
    34 #ifndef GRPC_INTERNAL_CPP_FIXED_SIZE_THREAD_POOL_H
    +
    35 #define GRPC_INTERNAL_CPP_FIXED_SIZE_THREAD_POOL_H
    36 
    -
    37 #include <grpc++/config.h>
    -
    38 
    -
    39 #include <grpc++/impl/sync.h>
    -
    40 #include <grpc++/impl/thd.h>
    - -
    42 
    -
    43 #include <queue>
    -
    44 #include <vector>
    +
    37 #include <queue>
    +
    38 #include <vector>
    +
    39 
    +
    40 #include <grpc++/impl/sync.h>
    +
    41 #include <grpc++/impl/thd.h>
    +
    42 #include <grpc++/support/config.h>
    +
    43 
    +
    45 
    46 namespace grpc {
    47 
    @@ -155,13 +155,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    64 
    65 } // namespace grpc
    66 
    -
    67 #endif // GRPCXX_FIXED_SIZE_THREAD_POOL_H
    +
    67 #endif // GRPC_INTERNAL_CPP_FIXED_SIZE_THREAD_POOL_H
    ~FixedSizeThreadPool()
    Definition: fixed_size_thread_pool.cc:67
    Definition: sync_no_cxx11.h:45
    #define GRPC_FINAL
    Definition: config.h:71
    Definition: thread_pool_interface.h:42
    -
    Definition: sync_no_cxx11.h:84
    +
    Definition: sync_no_cxx11.h:87
    FixedSizeThreadPool(int num_threads)
    Definition: fixed_size_thread_pool.cc:60
    @@ -172,7 +172,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++.internal/html/functions.html b/doc/ref/c++.internal/html/functions.html index f43e2d70f14..e3d03706b7e 100644 --- a/doc/ref/c++.internal/html/functions.html +++ b/doc/ref/c++.internal/html/functions.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -123,31 +125,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - : -

    diff --git a/doc/ref/c++.internal/html/functions_a.html b/doc/ref/c++.internal/html/functions_a.html index 0f046c29285..04323c73249 100644 --- a/doc/ref/c++.internal/html/functions_a.html +++ b/doc/ref/c++.internal/html/functions_a.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -159,6 +161,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • AddPortToServer() : grpc::SecureServerCredentials
  • +
  • AddProperty() +: grpc::AuthContext +, grpc::SecureAuthContext +
  • AddRef : grpc::Slice
  • @@ -184,18 +190,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • AsyncNext() : grpc::CompletionQueue
  • +
  • AsyncNotifyWhenDone() +: grpc::ServerContext +
  • +
  • AsyncWait() +: grpc::Server::SyncRequest +
  • auth_context() : grpc::ClientContext , grpc::ServerContext
  • +
  • AuthMetadataProcessorAyncWrapper() +: grpc::AuthMetadataProcessorAyncWrapper +
  • AuthPropertyIterator() -: grpc::AuthPropertyIterator +: grpc::AuthPropertyIterator
  • diff --git a/doc/ref/c++.internal/html/functions_b.html b/doc/ref/c++.internal/html/functions_b.html index 620ce2985d6..c3d77eb920b 100644 --- a/doc/ref/c++.internal/html/functions_b.html +++ b/doc/ref/c++.internal/html/functions_b.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -130,6 +132,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AuthContext , grpc::SecureAuthContext , grpc::Slice +, grpc::string_ref
  • BIDI_STREAMING : grpc::RpcMethod @@ -140,14 +143,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerContext
  • BlockingUnaryCall -: grpc::ClientContext -, grpc::CompletionQueue +: grpc::Channel +, grpc::ClientContext +, grpc::CompletionQueue
  • BuildAndStart() : grpc::ServerBuilder
  • ByteBuffer() -: grpc::ByteBuffer +: grpc::ByteBuffer , grpc::Slice
  • ByteCount() @@ -158,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_c.html b/doc/ref/c++.internal/html/functions_c.html index d3ea3e4c487..2dc4665c107 100644 --- a/doc/ref/c++.internal/html/functions_c.html +++ b/doc/ref/c++.internal/html/functions_c.html @@ -23,7 +23,7 @@
  • @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,15 +124,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - c -

    diff --git a/doc/ref/c++.internal/html/functions_d.html b/doc/ref/c++.internal/html/functions_d.html index 9b65ba034ac..1b172befa0a 100644 --- a/doc/ref/c++.internal/html/functions_d.html +++ b/doc/ref/c++.internal/html/functions_d.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,6 +124,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - d -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,10 +124,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - e -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -110,7 +111,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_eval.html b/doc/ref/c++.internal/html/functions_eval.html index 3489b18a74b..90d51b792d8 100644 --- a/doc/ref/c++.internal/html/functions_eval.html +++ b/doc/ref/c++.internal/html/functions_eval.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -125,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_f.html b/doc/ref/c++.internal/html/functions_f.html index 1d07c7aab8a..21665628916 100644 --- a/doc/ref/c++.internal/html/functions_f.html +++ b/doc/ref/c++.internal/html/functions_f.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -126,18 +128,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CallOpSetInterface , grpc::ServerContext::CompletionOp +, grpc::UnknownMethodHandler
  • FinalizeResult() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CompletionQueueTag , grpc::Server::ShutdownRequest , grpc::Server::SyncRequest +, grpc::Server::UnimplementedAsyncRequest +, grpc::Server::UnimplementedAsyncResponse , grpc::ServerContext::CompletionOp , grpc::SneakyCallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • find() +: grpc::string_ref +
  • FindPropertyValues() -: grpc::AuthContext -, grpc::SecureAuthContext +: grpc::AuthContext +, grpc::SecureAuthContext
  • Finish() : grpc::ClientAsyncReader< R > @@ -179,11 +187,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • force_client_auth : grpc::SslServerCredentialsOptions
  • +
  • FromServerContext() +: grpc::ClientContext +
  • diff --git a/doc/ref/c++.internal/html/functions_func.html b/doc/ref/c++.internal/html/functions_func.html index e635fe52e9a..34eb30351fe 100644 --- a/doc/ref/c++.internal/html/functions_func.html +++ b/doc/ref/c++.internal/html/functions_func.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -155,6 +157,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • AddPortToServer() : grpc::SecureServerCredentials
  • +
  • AddProperty() +: grpc::AuthContext +, grpc::SecureAuthContext +
  • AddTrailingMetadata() : grpc::ServerContext
  • @@ -175,10 +181,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • AsyncNext() : grpc::CompletionQueue
  • +
  • AsyncNotifyWhenDone() +: grpc::ServerContext +
  • +
  • AsyncWait() +: grpc::Server::SyncRequest +
  • auth_context() : grpc::ClientContext , grpc::ServerContext
  • +
  • AuthMetadataProcessorAyncWrapper() +: grpc::AuthMetadataProcessorAyncWrapper +
  • AuthPropertyIterator() : grpc::AuthPropertyIterator
  • @@ -186,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_b.html b/doc/ref/c++.internal/html/functions_func_b.html index 7757c2bc710..8a9705e6dd9 100644 --- a/doc/ref/c++.internal/html/functions_func_b.html +++ b/doc/ref/c++.internal/html/functions_func_b.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,6 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AuthContext , grpc::SecureAuthContext , grpc::Slice +, grpc::string_ref
  • BidiStreamingHandler() : grpc::BidiStreamingHandler< ServiceType, RequestType, ResponseType > @@ -147,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_c.html b/doc/ref/c++.internal/html/functions_func_c.html index 86a6f1614d6..7560ed22ffb 100644 --- a/doc/ref/c++.internal/html/functions_func_c.html +++ b/doc/ref/c++.internal/html/functions_func_c.html @@ -23,7 +23,7 @@
  • @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,14 +123,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - c -

    diff --git a/doc/ref/c++.internal/html/functions_func_d.html b/doc/ref/c++.internal/html/functions_func_d.html index 74f28da75d8..8508c494e5c 100644 --- a/doc/ref/c++.internal/html/functions_func_d.html +++ b/doc/ref/c++.internal/html/functions_func_d.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,6 +123,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - d -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,10 +123,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - e -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -125,18 +127,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CallOpSetInterface , grpc::ServerContext::CompletionOp +, grpc::UnknownMethodHandler
  • FinalizeResult() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CompletionQueueTag , grpc::Server::ShutdownRequest , grpc::Server::SyncRequest +, grpc::Server::UnimplementedAsyncRequest +, grpc::Server::UnimplementedAsyncResponse , grpc::ServerContext::CompletionOp , grpc::SneakyCallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • find() +: grpc::string_ref +
  • FindPropertyValues() -: grpc::AuthContext -, grpc::SecureAuthContext +: grpc::AuthContext +, grpc::SecureAuthContext
  • Finish() : grpc::ClientAsyncReader< R > @@ -175,11 +183,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • flags() : grpc::WriteOptions
  • +
  • FromServerContext() +: grpc::ClientContext +
  • diff --git a/doc/ref/c++.internal/html/functions_func_g.html b/doc/ref/c++.internal/html/functions_func_g.html index a529aa59cb5..66824c6b550 100644 --- a/doc/ref/c++.internal/html/functions_func_g.html +++ b/doc/ref/c++.internal/html/functions_func_g.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - g -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_i.html b/doc/ref/c++.internal/html/functions_func_i.html index dec2b865aa4..8b49396c369 100644 --- a/doc/ref/c++.internal/html/functions_func_i.html +++ b/doc/ref/c++.internal/html/functions_func_i.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,17 +123,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - i -

    diff --git a/doc/ref/c++.internal/html/functions_func_j.html b/doc/ref/c++.internal/html/functions_func_j.html index 7f091827a20..1376c819476 100644 --- a/doc/ref/c++.internal/html/functions_func_j.html +++ b/doc/ref/c++.internal/html/functions_func_j.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -128,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_l.html b/doc/ref/c++.internal/html/functions_func_l.html index 60b1af9d0e1..df2fa33db27 100644 --- a/doc/ref/c++.internal/html/functions_func_l.html +++ b/doc/ref/c++.internal/html/functions_func_l.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Length() : grpc::ByteBuffer
  • +
  • length() +: grpc::string_ref +
  • lock() : grpc::unique_lock< mutex >
  • @@ -137,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_m.html b/doc/ref/c++.internal/html/functions_func_m.html index 4c347d1eb68..7ff50f12aa6 100644 --- a/doc/ref/c++.internal/html/functions_func_m.html +++ b/doc/ref/c++.internal/html/functions_func_m.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • max_message_size() : grpc::Call
  • +
  • max_size() +: grpc::string_ref +
  • method() : grpc::GenericServerContext
  • @@ -137,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_n.html b/doc/ref/c++.internal/html/functions_func_n.html index e742a2e5342..c4a4b721634 100644 --- a/doc/ref/c++.internal/html/functions_func_n.html +++ b/doc/ref/c++.internal/html/functions_func_n.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -135,11 +137,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • notify_one() : grpc::condition_variable
  • +
  • NotifyOnStateChange() +: grpc::Channel +
  • diff --git a/doc/ref/c++.internal/html/functions_func_o.html b/doc/ref/c++.internal/html/functions_func_o.html index 58533383ed2..166c23d9fe0 100644 --- a/doc/ref/c++.internal/html/functions_func_o.html +++ b/doc/ref/c++.internal/html/functions_func_o.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -136,6 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • operator=() : grpc::ChannelArguments , grpc::Slice +, grpc::string_ref , grpc::WriteOptions
  • operator==() @@ -145,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_p.html b/doc/ref/c++.internal/html/functions_func_p.html index 8a47579df76..9955794e310 100644 --- a/doc/ref/c++.internal/html/functions_func_p.html +++ b/doc/ref/c++.internal/html/functions_func_p.html @@ -23,7 +23,7 @@
  • @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -130,13 +132,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • PerformOpsOnCall() : grpc::CallHook -, grpc::Channel +
  • +
  • Process() +: grpc::AuthMetadataProcessor +, grpc::AuthMetadataProcessorAyncWrapper +
  • +
  • PropagationOptions() +: grpc::PropagationOptions
  • diff --git a/doc/ref/c++.internal/html/functions_func_r.html b/doc/ref/c++.internal/html/functions_func_r.html index e2e5b51d6df..7ba60acdd4f 100644 --- a/doc/ref/c++.internal/html/functions_func_r.html +++ b/doc/ref/c++.internal/html/functions_func_r.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -130,6 +132,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • rbegin() +: grpc::string_ref +
  • Read() : grpc::AsyncReaderInterface< R > , grpc::ClientAsyncReader< R > @@ -161,14 +166,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ServerBuilder
  • RegisterAsyncService() -: grpc::ServerBuilder -
  • -
  • RegisterMethod() -: grpc::Channel -, grpc::ChannelInterface +: grpc::ServerBuilder
  • RegisterService() -: grpc::ServerBuilder +: grpc::ServerBuilder +
  • +
  • rend() +: grpc::string_ref
  • Request() : grpc::Server::SyncRequest @@ -189,7 +193,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AsynchronousService
  • RpcMethod() -: grpc::RpcMethod +: grpc::RpcMethod
  • RpcMethodHandler() : grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > @@ -206,12 +210,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::MethodHandler , grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > , grpc::ServerStreamingHandler< ServiceType, RequestType, ResponseType > +, grpc::UnknownMethodHandler
  • diff --git a/doc/ref/c++.internal/html/functions_func_s.html b/doc/ref/c++.internal/html/functions_func_s.html index d68f373cf90..48dc6e6facd 100644 --- a/doc/ref/c++.internal/html/functions_func_s.html +++ b/doc/ref/c++.internal/html/functions_func_s.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - s -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -132,6 +134,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • transport_security_type_property_name() +: grpc::AuthContext +
  • TryCancel() : grpc::ClientContext
  • @@ -139,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_u.html b/doc/ref/c++.internal/html/functions_func_u.html index 6e7fe9919de..899d045b0e3 100644 --- a/doc/ref/c++.internal/html/functions_func_u.html +++ b/doc/ref/c++.internal/html/functions_func_u.html @@ -23,7 +23,7 @@ @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,6 +123,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - u -

    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,6 +136,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ClientReaderWriter< R, W > , grpc::ClientReaderWriterInterface< W, R > +
  • WaitForStateChange() +: grpc::Channel +
  • Write() : grpc::AsyncWriterInterface< W > , grpc::ClientAsyncReaderWriter< R, W > @@ -147,7 +152,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::WriterInterface< W >
  • WriteOptions() -: grpc::WriteOptions +: grpc::WriteOptions
  • WritesDone() : grpc::ClientAsyncReaderWriter< R, W > @@ -163,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_func_x.html b/doc/ref/c++.internal/html/functions_func_x.html new file mode 100644 index 00000000000..10cf134158f --- /dev/null +++ b/doc/ref/c++.internal/html/functions_func_x.html @@ -0,0 +1,141 @@ + + + + + + +GRPC C++: Data Fields - Functions + + + + + + + + + +
    +
    +
  • GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    + + +
    + +
    + +
    +  + +

    - x -

    +
    + + + + diff --git a/doc/ref/c++.internal/html/functions_func_~.html b/doc/ref/c++.internal/html/functions_func_~.html index 9fd819a2da2..7e7c4adc789 100644 --- a/doc/ref/c++.internal/html/functions_func_~.html +++ b/doc/ref/c++.internal/html/functions_func_~.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -133,6 +135,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~AuthContext() : grpc::AuthContext
  • +
  • ~AuthMetadataProcessor() +: grpc::AuthMetadataProcessor +
  • ~AuthPropertyIterator() : grpc::AuthPropertyIterator
  • @@ -146,14 +151,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::CallHook
  • ~Channel() -: grpc::Channel +: grpc::Channel
  • ~ChannelArguments() : grpc::ChannelArguments
  • -
  • ~ChannelInterface() -: grpc::ChannelInterface -
  • ~ClientAsyncResponseReaderInterface() : grpc::ClientAsyncResponseReaderInterface< R >
  • @@ -193,9 +195,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~GrpcLibrary() : grpc::GrpcLibrary
  • -
  • ~InternalStub() -: grpc::InternalStub -
  • ~lock_guard() : grpc::lock_guard< mutex >
  • @@ -244,6 +243,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~ThreadPoolInterface() : grpc::ThreadPoolInterface
  • +
  • ~UnimplementedAsyncResponse() +: grpc::Server::UnimplementedAsyncResponse +
  • ~WriterInterface() : grpc::WriterInterface< W >
  • @@ -251,7 +253,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_g.html b/doc/ref/c++.internal/html/functions_g.html index 26a6d6d7404..a0cc8c6b83c 100644 --- a/doc/ref/c++.internal/html/functions_g.html +++ b/doc/ref/c++.internal/html/functions_g.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,8 +124,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - g -

    @@ -135,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_i.html b/doc/ref/c++.internal/html/functions_i.html index 803df921ea0..a08b7e3542b 100644 --- a/doc/ref/c++.internal/html/functions_i.html +++ b/doc/ref/c++.internal/html/functions_i.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -128,17 +130,24 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • initial_metadata_count_ : grpc::CallOpSendInitialMetadata
  • -
  • InternalStub() -: grpc::InternalStub +
  • InputMetadata +: grpc::AuthMetadataProcessor +
  • +
  • IsBlocking() +: grpc::AuthMetadataProcessor
  • IsCancelled() : grpc::ServerContext
  • +
  • IsPeerAuthenticated() +: grpc::AuthContext +, grpc::SecureAuthContext +
  • diff --git a/doc/ref/c++.internal/html/functions_j.html b/doc/ref/c++.internal/html/functions_j.html index 442f8d82fb8..0055346b62e 100644 --- a/doc/ref/c++.internal/html/functions_j.html +++ b/doc/ref/c++.internal/html/functions_j.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_l.html b/doc/ref/c++.internal/html/functions_l.html index cc6e7e6cb8e..79babd35264 100644 --- a/doc/ref/c++.internal/html/functions_l.html +++ b/doc/ref/c++.internal/html/functions_l.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -125,6 +127,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Length() : grpc::ByteBuffer
  • +
  • length() +: grpc::string_ref +
  • lock() : grpc::unique_lock< mutex >
  • @@ -139,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_m.html b/doc/ref/c++.internal/html/functions_m.html index 525bf9193e0..0952a7d9595 100644 --- a/doc/ref/c++.internal/html/functions_m.html +++ b/doc/ref/c++.internal/html/functions_m.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,6 +131,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • max_message_size_ : grpc::CallOpSetInterface
  • +
  • max_size() +: grpc::string_ref +
  • method() : grpc::GenericServerContext
  • @@ -142,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_n.html b/doc/ref/c++.internal/html/functions_n.html index 14092b24080..cc8ea739ee1 100644 --- a/doc/ref/c++.internal/html/functions_n.html +++ b/doc/ref/c++.internal/html/functions_n.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -142,11 +144,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • notify_one() : grpc::condition_variable
  • +
  • NotifyOnStateChange() +: grpc::Channel +
  • +
  • npos +: grpc::string_ref +
  • diff --git a/doc/ref/c++.internal/html/functions_o.html b/doc/ref/c++.internal/html/functions_o.html index 6abd72a0ee5..f0fbdd4b5b2 100644 --- a/doc/ref/c++.internal/html/functions_o.html +++ b/doc/ref/c++.internal/html/functions_o.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -140,16 +142,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • operator=() : grpc::ChannelArguments , grpc::Slice +, grpc::string_ref , grpc::WriteOptions
  • operator==() : grpc::AuthPropertyIterator
  • +
  • OutputMetadata +: grpc::AuthMetadataProcessor +
  • diff --git a/doc/ref/c++.internal/html/functions_p.html b/doc/ref/c++.internal/html/functions_p.html index 816c6469ea7..ee55ce4bf59 100644 --- a/doc/ref/c++.internal/html/functions_p.html +++ b/doc/ref/c++.internal/html/functions_p.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -144,16 +146,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • PerformOpsOnCall() : grpc::CallHook -, grpc::Channel
  • private_key : grpc::SslServerCredentialsOptions::PemKeyCertPair
  • +
  • Process() +: grpc::AuthMetadataProcessor +, grpc::AuthMetadataProcessorAyncWrapper +
  • +
  • PropagationOptions() +: grpc::PropagationOptions +
  • diff --git a/doc/ref/c++.internal/html/functions_r.html b/doc/ref/c++.internal/html/functions_r.html index 430be0753fd..4a96f461460 100644 --- a/doc/ref/c++.internal/html/functions_r.html +++ b/doc/ref/c++.internal/html/functions_r.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -131,6 +133,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • rbegin() +: grpc::string_ref +
  • Read() : grpc::AsyncReaderInterface< R > , grpc::ClientAsyncReader< R > @@ -164,12 +169,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • RegisterAsyncService() : grpc::ServerBuilder
  • -
  • RegisterMethod() -: grpc::Channel -, grpc::ChannelInterface -
  • RegisterService() -: grpc::ServerBuilder +: grpc::ServerBuilder +
  • +
  • rend() +: grpc::string_ref
  • request : grpc::MethodHandler::HandlerParameter @@ -193,7 +197,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AsynchronousService
  • RpcMethod() -: grpc::RpcMethod +: grpc::RpcMethod
  • RpcMethodHandler : grpc::CompletionQueue @@ -215,12 +219,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::MethodHandler , grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > , grpc::ServerStreamingHandler< ServiceType, RequestType, ResponseType > +, grpc::UnknownMethodHandler
  • diff --git a/doc/ref/c++.internal/html/functions_rela.html b/doc/ref/c++.internal/html/functions_rela.html index d111ca07cb5..717312c6bc5 100644 --- a/doc/ref/c++.internal/html/functions_rela.html +++ b/doc/ref/c++.internal/html/functions_rela.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -86,7 +87,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • l
  • r
  • s
  • -
  • t
  • +
  • t
  • +
  • u
  • @@ -109,31 +111,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - : -

    @@ -186,8 +205,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerContext
  • BlockingUnaryCall -: grpc::ClientContext -, grpc::CompletionQueue +: grpc::Channel +, grpc::ClientContext +, grpc::CompletionQueue
  • ByteBuffer : grpc::Slice @@ -216,8 +236,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::lock_guard< mutex > , grpc::mutex
  • -
  • CreateChannel -: grpc::Credentials +
  • CreateChannelInternal +: grpc::Channel +
  • +
  • CreateCustomChannel +: grpc::Credentials
  • @@ -269,10 +292,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ChannelArguments + + +

    - u -

    diff --git a/doc/ref/c++.internal/html/functions_s.html b/doc/ref/c++.internal/html/functions_s.html index 255b4487ce6..fc47f715a00 100644 --- a/doc/ref/c++.internal/html/functions_s.html +++ b/doc/ref/c++.internal/html/functions_s.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,7 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - s -

    @@ -139,6 +141,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • transport_security_type_property_name() +: grpc::AuthContext +
  • TryCancel() : grpc::ClientContext
  • @@ -146,7 +151,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_type.html b/doc/ref/c++.internal/html/functions_type.html new file mode 100644 index 00000000000..bac55a3a1d5 --- /dev/null +++ b/doc/ref/c++.internal/html/functions_type.html @@ -0,0 +1,119 @@ + + + + + + +GRPC C++: Data Fields - Typedefs + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + +
    + +
    + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    + + +
    + +
    + +
    +
    + + + + diff --git a/doc/ref/c++.internal/html/functions_u.html b/doc/ref/c++.internal/html/functions_u.html index 3b6dedca533..2f6bc84a1fb 100644 --- a/doc/ref/c++.internal/html/functions_u.html +++ b/doc/ref/c++.internal/html/functions_u.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,9 +124,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - u -

    diff --git a/doc/ref/c++.internal/html/functions_w.html b/doc/ref/c++.internal/html/functions_w.html index 4b58baff1bd..d3e9587cc2d 100644 --- a/doc/ref/c++.internal/html/functions_w.html +++ b/doc/ref/c++.internal/html/functions_w.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -135,6 +137,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ClientReaderWriter< R, W > , grpc::ClientReaderWriterInterface< W, R > +
  • WaitForStateChange() +: grpc::Channel +
  • Write() : grpc::AsyncWriterInterface< W > , grpc::ClientAsyncReaderWriter< R, W > @@ -148,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::WriterInterface< W >
  • WriteOptions() -: grpc::WriteOptions +: grpc::WriteOptions
  • WritesDone() : grpc::ClientAsyncReaderWriter< R, W > @@ -164,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/functions_x.html b/doc/ref/c++.internal/html/functions_x.html new file mode 100644 index 00000000000..ae8df7e8aa8 --- /dev/null +++ b/doc/ref/c++.internal/html/functions_x.html @@ -0,0 +1,142 @@ + + + + + + +GRPC C++: Data Fields + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + +
    + + + + +
    + +
    + +
    +
    Here is a list of all struct and union fields with links to the structures/unions they belong to:
    + +

    - x -

    +
    + + + + diff --git a/doc/ref/c++.internal/html/functions_~.html b/doc/ref/c++.internal/html/functions_~.html index e2df00da404..3c803ca910a 100644 --- a/doc/ref/c++.internal/html/functions_~.html +++ b/doc/ref/c++.internal/html/functions_~.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,6 +136,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~AuthContext() : grpc::AuthContext
  • +
  • ~AuthMetadataProcessor() +: grpc::AuthMetadataProcessor +
  • ~AuthPropertyIterator() : grpc::AuthPropertyIterator
  • @@ -147,14 +152,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::CallHook
  • ~Channel() -: grpc::Channel +: grpc::Channel
  • ~ChannelArguments() : grpc::ChannelArguments
  • -
  • ~ChannelInterface() -: grpc::ChannelInterface -
  • ~ClientAsyncResponseReaderInterface() : grpc::ClientAsyncResponseReaderInterface< R >
  • @@ -194,9 +196,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~GrpcLibrary() : grpc::GrpcLibrary
  • -
  • ~InternalStub() -: grpc::InternalStub -
  • ~lock_guard() : grpc::lock_guard< mutex >
  • @@ -245,6 +244,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~ThreadPoolInterface() : grpc::ThreadPoolInterface
  • +
  • ~UnimplementedAsyncResponse() +: grpc::Server::UnimplementedAsyncResponse +
  • ~WriterInterface() : grpc::WriterInterface< W >
  • @@ -252,7 +254,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/generic__stub_8cc.html b/doc/ref/c++.internal/html/generic__stub_8cc.html index ac2a4e3b07d..f4801ce84b8 100644 --- a/doc/ref/c++.internal/html/generic__stub_8cc.html +++ b/doc/ref/c++.internal/html/generic__stub_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    generic_stub.cc File Reference
    -
    #include <grpc++/generic_stub.h>
    + diff --git a/doc/ref/c++.internal/html/generic__stub_8h.html b/doc/ref/c++.internal/html/generic__stub_8h.html index a9f1ee9a914..422ebcf5e4a 100644 --- a/doc/ref/c++.internal/html/generic__stub_8h.html +++ b/doc/ref/c++.internal/html/generic__stub_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/generic_stub.h File Reference +GRPC C++: include/grpc++/generic/generic_stub.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    generic_stub.h File Reference

    @@ -102,7 +102,7 @@ Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -118,7 +118,7 @@ ClientAsyncReaderWriter
    diff --git a/doc/ref/c++.internal/html/generic__stub_8h_source.html b/doc/ref/c++.internal/html/generic__stub_8h_source.html index 5c7dff5ef78..680fa54d484 100644 --- a/doc/ref/c++.internal/html/generic__stub_8h_source.html +++ b/doc/ref/c++.internal/html/generic__stub_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/generic_stub.h Source File +GRPC C++: include/grpc++/generic/generic_stub.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,11 +122,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_GENERIC_STUB_H
    -
    35 #define GRPCXX_GENERIC_STUB_H
    +
    34 #ifndef GRPCXX_GENERIC_GENERIC_STUB_H
    +
    35 #define GRPCXX_GENERIC_GENERIC_STUB_H
    36 
    -
    37 #include <grpc++/byte_buffer.h>
    -
    38 #include <grpc++/stream.h>
    + +
    39 
    40 namespace grpc {
    41 
    @@ -138,36 +138,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    47 // by name.
    49  public:
    -
    50  explicit GenericStub(std::shared_ptr<ChannelInterface> channel)
    -
    51  : channel_(channel) {}
    -
    52 
    -
    53  // begin a call to a named method
    -
    54  std::unique_ptr<GenericClientAsyncReaderWriter> Call(
    -
    55  ClientContext* context, const grpc::string& method,
    -
    56  CompletionQueue* cq, void* tag);
    -
    57 
    -
    58  private:
    -
    59  std::shared_ptr<ChannelInterface> channel_;
    -
    60 };
    -
    61 
    -
    62 } // namespace grpc
    -
    63 
    -
    64 #endif // GRPCXX_GENERIC_STUB_H
    -
    Definition: client_context.h:70
    +
    50  explicit GenericStub(std::shared_ptr<Channel> channel) : channel_(channel) {}
    +
    51 
    +
    52  // begin a call to a named method
    +
    53  std::unique_ptr<GenericClientAsyncReaderWriter> Call(
    +
    54  ClientContext* context, const grpc::string& method, CompletionQueue* cq,
    +
    55  void* tag);
    +
    56 
    +
    57  private:
    +
    58  std::shared_ptr<Channel> channel_;
    +
    59 };
    +
    60 
    +
    61 } // namespace grpc
    +
    62 
    +
    63 #endif // GRPCXX_GENERIC_GENERIC_STUB_H
    +
    Definition: channel.h:64
    std::string string
    Definition: config.h:112
    +
    GenericStub(std::shared_ptr< Channel > channel)
    Definition: generic_stub.h:50
    #define GRPC_FINAL
    Definition: config.h:71
    -
    Definition: client_context.h:74
    - +
    Definition: client_context.h:149
    std::unique_ptr< GenericClientAsyncReaderWriter > Call(ClientContext *context, const grpc::string &method, CompletionQueue *cq, void *tag)
    Definition: generic_stub.cc:41
    -
    Definition: completion_queue.h:87
    + +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericClientAsyncReaderWriter
    Definition: generic_stub.h:42
    Definition: generic_stub.h:48
    -
    GenericStub(std::shared_ptr< ChannelInterface > channel)
    Definition: generic_stub.h:50
    diff --git a/doc/ref/c++.internal/html/globals.html b/doc/ref/c++.internal/html/globals.html index 7225fae4af4..e9b5f58dbdc 100644 --- a/doc/ref/c++.internal/html/globals.html +++ b/doc/ref/c++.internal/html/globals.html @@ -23,7 +23,7 @@ @@ -116,11 +116,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • kMaxBufferLength : proto_utils.cc
  • +
  • tag_ +: channel.cc +
  • diff --git a/doc/ref/c++.internal/html/globals_defs.html b/doc/ref/c++.internal/html/globals_defs.html index 6ef30b7c3e9..63e2011377d 100644 --- a/doc/ref/c++.internal/html/globals_defs.html +++ b/doc/ref/c++.internal/html/globals_defs.html @@ -23,7 +23,7 @@ @@ -117,7 +117,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/globals_vars.html b/doc/ref/c++.internal/html/globals_vars.html index 56299b8be12..25f04eaade9 100644 --- a/doc/ref/c++.internal/html/globals_vars.html +++ b/doc/ref/c++.internal/html/globals_vars.html @@ -23,7 +23,7 @@ @@ -92,11 +92,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • kMaxBufferLength : proto_utils.cc
  • +
  • tag_ +: channel.cc +
  • diff --git a/doc/ref/c++.internal/html/graph_legend.html b/doc/ref/c++.internal/html/graph_legend.html index 60ba12fc2bf..59fd5f66e89 100644 --- a/doc/ref/c++.internal/html/graph_legend.html +++ b/doc/ref/c++.internal/html/graph_legend.html @@ -23,7 +23,7 @@ @@ -146,7 +146,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/doc/ref/c++.internal/html/grpc__library_8h.html b/doc/ref/c++.internal/html/grpc__library_8h.html index 18ccf60def0..ba4e90d3760 100644 --- a/doc/ref/c++.internal/html/grpc__library_8h.html +++ b/doc/ref/c++.internal/html/grpc__library_8h.html @@ -23,7 +23,7 @@ @@ -109,7 +109,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/grpc__library_8h_source.html b/doc/ref/c++.internal/html/grpc__library_8h_source.html index ce5c0f60b00..e15e6853235 100644 --- a/doc/ref/c++.internal/html/grpc__library_8h_source.html +++ b/doc/ref/c++.internal/html/grpc__library_8h_source.html @@ -23,7 +23,7 @@ @@ -137,15 +137,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    46 
    47 } // namespace grpc
    48 
    -
    49 
    -
    50 #endif // GRPCXX_IMPL_GRPC_LIBRARY_H
    +
    49 #endif // GRPCXX_IMPL_GRPC_LIBRARY_H
    Definition: grpc_library.h:41
    GrpcLibrary()
    Definition: grpc_library.h:43
    virtual ~GrpcLibrary()
    Definition: grpc_library.h:44
    diff --git a/doc/ref/c++.internal/html/hierarchy.html b/doc/ref/c++.internal/html/hierarchy.html index d48a7a084a8..937d3df8d01 100644 --- a/doc/ref/c++.internal/html/hierarchy.html +++ b/doc/ref/c++.internal/html/hierarchy.html @@ -23,7 +23,7 @@ @@ -88,260 +88,280 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    This inheritance list is sorted roughly, but not completely, alphabetically:
    -
    [detail level 1234]
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    +
    [detail level 12345]
    - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    oCgrpc::AsyncGenericService
    oCgrpc::AsynchronousService
    oCgrpc::AsyncReaderInterface< R >
    oCgrpc::AsyncReaderInterface< R >An interface that yields a sequence of messages of type R
    oCgrpc::AsyncWriterInterface< W >
    oCgrpc::AuthContext
    oCgrpc::ByteBuffer
    oCgrpc::Call
    oCgrpc::Server::SyncRequest::CallData
    oCgrpc::CallHook
    oCgrpc::CallNoOp< I >Default argument for CallOpSet
    oCgrpc::CallNoOp< 2 >
    oCgrpc::CallNoOp< 3 >
    oCgrpc::CallNoOp< 4 >
    oCgrpc::CallNoOp< 5 >
    oCgrpc::CallNoOp< 6 >
    oCgrpc::AsyncReaderInterface< ByteBuffer >
    oCgrpc::AsyncWriterInterface< W >An interface that can be fed a sequence of messages of type W
    oCgrpc::AsyncWriterInterface< ByteBuffer >
    oCgrpc::AuthContextClass encapsulating the Authentication Information
    oCgrpc::AuthMetadataProcessor
    oCgrpc::AuthMetadataProcessorAyncWrapper
    oCgrpc::ByteBufferA sequence of bytes
    oCgrpc::Call
    oCgrpc::Server::SyncRequest::CallData
    oCgrpc::CallHook
    oCgrpc::CallNoOp< I >Default argument for CallOpSet
    oCgrpc::CallNoOp< 2 >
    oCgrpc::CallOpClientRecvStatus
    oCgrpc::CallOpClientSendClose
    oCgrpc::CallNoOp< 3 >
    oCgrpc::CallNoOp< 4 >
    oCgrpc::CallOpGenericRecvMessage
    oCgrpc::CallOpRecvInitialMetadata
    oCgrpc::CallOpRecvMessage< R >
    oCgrpc::CallOpSendInitialMetadata
    oCgrpc::CallOpSendMessage
    oCgrpc::CallOpServerSendStatus
    oCgrpc::ChannelArguments
    oCgrpc::ClientAsyncResponseReaderInterface< R >
    oCgrpc::ClientAsyncStreamingInterface
    oCgrpc::ClientContext
    oCgrpc::ClientStreamingInterface
    oCgrpc::CompletionQueueTag
    oCgrpc::condition_variable
    oCgrpc::CallOpGenericRecvMessageHelper::DeserializeFunc
    oCenable_shared_from_this
    oCgrpc::GenericStub
    oCgrpc::GrpcLibrary
    oCgrpc::MethodHandler::HandlerParameter
    oCgrpc::InternalStub
    oCiterator
    oCgrpc::lock_guard< mutex >
    oCgrpc::MethodHandler
    oCgrpc::mutex
    oCgrpc::SslServerCredentialsOptions::PemKeyCertPair
    oCgrpc::ReaderInterface< R >
    oCgrpc::RpcMethod
    oCgrpc::RpcService
    oCgrpc::SerializationTraits< Message, UnusedButHereForPartialTemplateSpecialization >Defines how to serialize and deserialize some type
    oCgrpc::SerializationTraits< ByteBuffer, void >
    oCgrpc::SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
    oCgrpc::ServerAsyncStreamingInterface
    oCgrpc::ServerBuilder
    oCgrpc::ServerContext
    oCgrpc::ServerCredentials
    oCgrpc::Slice
    oCgrpc::SslCredentialsOptions
    oCgrpc::SslServerCredentialsOptions
    oCgrpc::Status
    oCgrpc::SynchronousService
    oCgrpc::thread
    oCgrpc::ThreadPoolInterface
    oCgrpc::TimePoint< T >
    oCgrpc::TimePoint< gpr_timespec >
    oCgrpc::TimePoint< std::chrono::system_clock::time_point >
    oCgrpc::WriteOptionsPer-message write options
    oCgrpc::WriterInterface< W >
    oCZeroCopyInputStream
    oCZeroCopyOutputStream
    oCOp1
    oCOp2
    oCOp3
    oCOp4
    oCOp5
    \COp6
    oCgrpc::CallNoOp< 5 >
    oCgrpc::CallNoOp< 6 >
    oCgrpc::CallOpClientRecvStatus
    oCgrpc::CallOpClientSendClose
    oCgrpc::CallOpGenericRecvMessage
    oCgrpc::CallOpRecvInitialMetadata
    oCgrpc::CallOpRecvMessage< R >
    oCgrpc::CallOpRecvMessage< ByteBuffer >
    oCgrpc::CallOpSendInitialMetadata
    oCgrpc::CallOpSendMessage
    oCgrpc::CallOpServerSendStatus
    oCgrpc::ChannelArgumentsOptions for channel creation
    oCgrpc::ClientAsyncResponseReaderInterface< R >
    oCgrpc::ClientAsyncStreamingInterfaceCommon interface for all client side asynchronous streaming
    oCgrpc::ClientContext
    oCgrpc::ClientStreamingInterfaceCommon interface for all synchronous client side streaming
    oCgrpc::CompletionQueueTagAn interface allowing implementors to process and filter event tags
    oCgrpc::condition_variable
    oCgrpc::CallOpGenericRecvMessageHelper::DeserializeFunc
    oCenable_shared_from_this
    oCgrpc::GenericStub
    oCgrpc::GrpcLibrary
    oCgrpc::MethodHandler::HandlerParameter
    oCiterator
    oCgrpc::lock_guard< mutex >
    oCgrpc::MethodHandler
    oCgrpc::mutex
    oCgrpc::SslServerCredentialsOptions::PemKeyCertPair
    oCgrpc::PropagationOptionsOptions for ClientContext::FromServerContext specifying which traits from the ServerContext to propagate (copy) from it into a new ClientContext
    oCgrpc::ReaderInterface< R >An interface that yields a sequence of messages of type R
    oCgrpc::RpcMethod
    oCgrpc::RpcService
    oCgrpc::SerializationTraits< Message, UnusedButHereForPartialTemplateSpecialization >Defines how to serialize and deserialize some type
    oCgrpc::SerializationTraits< ByteBuffer, void >
    oCgrpc::SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
    oCgrpc::ServerAsyncStreamingInterface
    oCgrpc::ServerBuilderA builder class for the creation and startup of grpc::Server instances
    oCgrpc::ServerContext
    oCgrpc::ServerCredentials
    oCgrpc::SliceA wrapper around grpc_slice
    oCgrpc::SslCredentialsOptionsOptions used to build SslCredentials
    oCgrpc::SslServerCredentialsOptionsOptions to create ServerCredentials with SSL
    oCgrpc::StatusDid it work? If it didn't, why?
    oCgrpc::string_refThis class is a non owning reference to a string
    oCgrpc::StubOptions
    oCgrpc::SynchronousService
    oCgrpc::thread
    oCgrpc::ThreadPoolInterface
    oCgrpc::TimePoint< T >
    oCgrpc::TimePoint< gpr_timespec >
    oCgrpc::TimePoint< std::chrono::system_clock::time_point >
    oCgrpc::Server::UnimplementedAsyncRequestContext
    oCgrpc::WriteOptionsPer-message write options
    oCgrpc::WriterInterface< W >An interface that can be fed a sequence of messages of type W
    oCZeroCopyInputStream
    oCZeroCopyOutputStream
    oCOp1
    oCOp2
    oCOp3
    oCOp4
    oCOp5
    \COp6
    diff --git a/doc/ref/c++.internal/html/index.html b/doc/ref/c++.internal/html/index.html index 3e6df9663a4..b2e58d1bc0f 100644 --- a/doc/ref/c++.internal/html/index.html +++ b/doc/ref/c++.internal/html/index.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -82,7 +82,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/insecure__credentials_8cc.html b/doc/ref/c++.internal/html/insecure__credentials_8cc.html index 813c6cd381c..a5af9b1837e 100644 --- a/doc/ref/c++.internal/html/insecure__credentials_8cc.html +++ b/doc/ref/c++.internal/html/insecure__credentials_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,12 +92,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    insecure_credentials.cc File Reference
    -
    #include <grpc/grpc.h>
    +
    #include <grpc++/security/credentials.h>
    +#include <grpc/grpc.h>
    #include <grpc/support/log.h>
    -#include <grpc++/channel_arguments.h>
    -#include <grpc++/config.h>
    -#include <grpc++/credentials.h>
    -#include "src/cpp/client/channel.h"
    +#include <grpc++/channel.h>
    +#include <grpc++/support/channel_arguments.h>
    +#include <grpc++/support/config.h>
    +#include "src/cpp/client/create_channel_internal.h"
    @@ -107,12 +108,13 @@ Namespaces +

    Namespaces

    Functions

    std::shared_ptr< Credentials > grpc::InsecureCredentials ()
     Credentials for an unencrypted, unauthenticated channel. More...
     
    diff --git a/doc/ref/c++.internal/html/insecure__server__credentials_8cc.html b/doc/ref/c++.internal/html/insecure__server__credentials_8cc.html index d30a90da905..57f75d1b3dc 100644 --- a/doc/ref/c++.internal/html/insecure__server__credentials_8cc.html +++ b/doc/ref/c++.internal/html/insecure__server__credentials_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,8 +92,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    insecure_server_credentials.cc File Reference
    -
    #include <grpc++/server_credentials.h>
    +
    #include <grpc++/security/server_credentials.h>
    #include <grpc/grpc.h>
    +#include <grpc/support/log.h>
    @@ -104,12 +105,13 @@ Namespaces Functions +

    Namespaces

    std::shared_ptr
    < ServerCredentials > 
    grpc::InsecureServerCredentials ()
     Builds insecure server credentials. More...
     
    diff --git a/doc/ref/c++.internal/html/internal__stub_8h_source.html b/doc/ref/c++.internal/html/internal__stub_8h_source.html deleted file mode 100644 index 42391d8b708..00000000000 --- a/doc/ref/c++.internal/html/internal__stub_8h_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/impl/internal_stub.h Source File - - - - - - - - - -
    -
    - - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    -
    -
    internal_stub.h
    -
    -
    -Go to the documentation of this file.
    1 /*
    -
    2  *
    -
    3  * Copyright 2015, Google Inc.
    -
    4  * All rights reserved.
    -
    5  *
    -
    6  * Redistribution and use in source and binary forms, with or without
    -
    7  * modification, are permitted provided that the following conditions are
    -
    8  * met:
    -
    9  *
    -
    10  * * Redistributions of source code must retain the above copyright
    -
    11  * notice, this list of conditions and the following disclaimer.
    -
    12  * * Redistributions in binary form must reproduce the above
    -
    13  * copyright notice, this list of conditions and the following disclaimer
    -
    14  * in the documentation and/or other materials provided with the
    -
    15  * distribution.
    -
    16  * * Neither the name of Google Inc. nor the names of its
    -
    17  * contributors may be used to endorse or promote products derived from
    -
    18  * this software without specific prior written permission.
    -
    19  *
    -
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    -
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    -
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    -
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    -
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    -
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    -
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    -
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    -
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    -
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    -
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    -
    31  *
    -
    32  */
    -
    33 
    -
    34 #ifndef GRPCXX_IMPL_INTERNAL_STUB_H
    -
    35 #define GRPCXX_IMPL_INTERNAL_STUB_H
    -
    36 
    -
    37 #include <memory>
    -
    38 
    - -
    40 
    -
    41 namespace grpc {
    -
    42 
    -
    43 class InternalStub {
    -
    44  public:
    -
    45  InternalStub(const std::shared_ptr<ChannelInterface>& channel)
    -
    46  : channel_(channel) {}
    -
    47  virtual ~InternalStub() {}
    -
    48 
    -
    49  ChannelInterface* channel() { return channel_.get(); }
    -
    50 
    -
    51  private:
    -
    52  const std::shared_ptr<ChannelInterface> channel_;
    -
    53 };
    -
    54 
    -
    55 } // namespace grpc
    -
    56 
    -
    57 #endif // GRPCXX_IMPL_INTERNAL_STUB_H
    - -
    Definition: channel_interface.h:52
    -
    virtual ~InternalStub()
    Definition: internal_stub.h:47
    -
    InternalStub(const std::shared_ptr< ChannelInterface > &channel)
    Definition: internal_stub.h:45
    -
    Definition: internal_stub.h:43
    -
    ChannelInterface * channel()
    Definition: internal_stub.h:49
    -
    - - - - diff --git a/doc/ref/c++.internal/html/namespacegrpc.html b/doc/ref/c++.internal/html/namespacegrpc.html index 75a71cb7e3d..f55eeecd7f5 100644 --- a/doc/ref/c++.internal/html/namespacegrpc.html +++ b/doc/ref/c++.internal/html/namespacegrpc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -103,28 +103,6 @@ Namespaces - - - - - - - - - - - - - - - - - - - - - - @@ -137,6 +115,14 @@ Data Structures + + + + + + + + @@ -144,6 +130,7 @@ Data Structures + @@ -153,19 +140,18 @@ Data Structures - - + - - - + + - + + - + - + @@ -192,7 +178,7 @@ Data Structures - + @@ -206,14 +192,14 @@ Data Structures - - + + @@ -237,51 +223,96 @@ Data Structures + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + @@ -293,9 +324,15 @@ Data Structures + + - + + + + +

    Data Structures

    class  GenericServerContext
     
    class  AsyncGenericService
     
    class  ClientAsyncResponseReaderInterface
     
    class  ClientAsyncResponseReader
     
    class  ServerAsyncResponseWriter
     
    class  AuthContext
     
    class  AuthPropertyIterator
     
    class  ByteBuffer
     
    class  SerializationTraits< ByteBuffer, void >
     
    class  ChannelArguments
     
    class  ChannelInterface
     
    class  ClientReader
     
    class  ClientWriter
     
    class  ClientAsyncReaderWriter
     
    class  ClientAsyncResponseReader
     
    class  Channel
     Channels represent a connection to an endpoint. Created by CreateChannel. More...
     
    class  PropagationOptions
     Options for ClientContext::FromServerContext specifying which traits from the ServerContext to propagate (copy) from it into a new ClientContext. More...
     
    class  ClientContext
     
    class  ServerReader
    class  ServerWriter
     
    class  ServerReaderWriter
     Server-side interface for bi-directional streaming. More...
     
    class  RpcMethodHandler
     
     
    class  BidiStreamingHandler
     
    class  CompletionQueueTag
     
    class  CompletionQueue
     A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h). More...
     
    class  ServerCompletionQueue
     
    class  Credentials
    class  CompletionQueueTag
     An interface allowing implementors to process and filter event tags. More...
     
    struct  SslCredentialsOptions
    class  ServerCompletionQueue
     A specific type of completion queue used by the processing of notifications by servers. More...
     
    class  DynamicThreadPool
    class  GenericServerContext
     
    class  FixedSizeThreadPool
    class  AsyncGenericService
     
    class  GenericStub
     
    class  CallOpClientRecvStatus
     
    class  CallOpSetInterface
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     
    class  CallOpSet
     Primary implementaiton of CallOpSetInterface. More...
     
    class  GrpcLibrary
     
    class  InternalStub
     
    class  SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
     
    class  RpcMethod
     
    class  MethodHandler
     
    class  UnknownMethodHandler
     
    class  RpcServiceMethod
     
    class  RpcService
     
    class  thread
     
    class  AuthPropertyIterator
     
    class  AuthContext
     Class encapsulating the Authentication Information. More...
     
    class  AuthMetadataProcessor
     
    class  Credentials
     A credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call. More...
     
    struct  SslCredentialsOptions
     Options used to build SslCredentials. More...
     
    class  ServerCredentials
     
    struct  SslServerCredentialsOptions
     Options to create ServerCredentials with SSL. More...
     
    class  Server
     Models a gRPC server. More...
     
    class  ServerBuilder
     A builder class for the creation and startup of grpc::Server instances. More...
     
    class  ServerAsyncReader
     
    class  ServerAsyncWriter
     
    class  ServerAsyncResponseWriter
     
    class  ServerAsyncReaderWriter
     Server-side interface for asynchronous bi-directional streaming. More...
     
    class  ServerContext
     
    class  ServerCredentials
    class  ClientAsyncStreamingInterface
     Common interface for all client side asynchronous streaming. More...
     
    struct  SslServerCredentialsOptions
    class  AsyncReaderInterface
     An interface that yields a sequence of messages of type R. More...
     
    class  AsyncWriterInterface
     An interface that can be fed a sequence of messages of type W. More...
     
    class  ClientAsyncReaderInterface
     
    class  ClientAsyncWriterInterface
     Common interface for client side asynchronous writing. More...
     
    class  ClientAsyncReaderWriterInterface
     Client-side interface for asynchronous bi-directional streaming. More...
     
    class  ClientAsyncResponseReaderInterface
     
    class  ByteBuffer
     A sequence of bytes. More...
     
    class  SerializationTraits< ByteBuffer, void >
     
    class  ChannelArguments
     Options for channel creation. More...
     
    class  Slice
     A wrapper around grpc_slice. More...
     
    class  Status
     Did it work? If it didn't, why? More...
     
    class  string_ref
     This class is a non owning reference to a string. More...
     
    class  StubOptions
     
    class  ClientStreamingInterface
     Common interface for all synchronous client side streaming. More...
     
    class  ReaderInterface
     An interface that yields a sequence of messages of type R. More...
     
    class  WriterInterface
     An interface that can be fed a sequence of messages of type W. More...
     
    class  ClientReaderInterface
     Client-side interface for streaming reads of message of type R. More...
     
    class  ClientWriterInterface
     Client-side interface for streaming writes of message of type W. More...
     
    class  ClientReaderWriterInterface
     
    class  ClientAsyncStreamingInterface
     
    class  AsyncReaderInterface
     
    class  AsyncWriterInterface
     
    class  ClientAsyncReaderInterface
     
    class  ClientAsyncWriterInterface
     
    class  ClientAsyncReaderWriterInterface
     
    class  ThreadPoolInterface
     Client-side interface for bi-directional streaming. More...
     
    class  TimePoint
     
     
    class  SecureAuthContext
     
    class  AuthMetadataProcessorAyncWrapper
     
    class  SecureServerCredentials
     
    class  Channel
    class  DynamicThreadPool
     
    class  FixedSizeThreadPool
     
    class  ThreadPoolInterface
     
    ServerAsyncReaderWriter
    < ByteBuffer, ByteBuffer >  - - - - + + + + + +

    @@ -304,15 +341,20 @@ Typedefs

    GenericServerAsyncReaderWriter
     
    typedef std::pair
    -< grpc::string, grpc::string
    AuthProperty
     
    typedef std::string string
     
    typedef
    ClientAsyncReaderWriter
    < ByteBuffer, ByteBuffer
    GenericClientAsyncReaderWriter
     
    typedef std::pair
    +< grpc::string_ref,
    +grpc::string_ref
    AuthProperty
     
    typedef std::string string
     
    typedef SneakyCallOpSet
    +< CallOpSendInitialMetadata,
    +CallOpServerSendStatus
    UnimplementedAsyncResponseOp
     
    @@ -345,68 +387,97 @@ Enumerations

    Enumerations

    - - + + + + + + + + + + + + + + + + + + + - - - - + + + + - - + + + + - - + + + + + - - - - - - - - - - - + + - - + + + + + + + + + + + + + + + + + +

    Functions

    std::shared_ptr< ChannelInterfaceCreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
     
    std::shared_ptr< ChannelCreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds)
     Create a new Channel pointing to target. More...
     
    std::shared_ptr< ChannelCreateCustomChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
     Create a new custom Channel pointing to target. More...
     
    void FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
     
    grpc_metadata * FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
     
    template<class InputMessage , class OutputMessage >
    Status BlockingUnaryCall (Channel *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
     
    Status SerializeProto (const grpc::protobuf::Message &msg, grpc_byte_buffer **buffer)
     
    Status DeserializeProto (grpc_byte_buffer *buffer, grpc::protobuf::Message *msg, int max_message_size)
     
    std::shared_ptr< CredentialsGoogleDefaultCredentials ()
     Builds credentials with reasonable defaults. More...
     
    std::shared_ptr< CredentialsSslCredentials (const SslCredentialsOptions &options)
     Builds SSL Credentials given SSL specific options. More...
     
    std::shared_ptr< CredentialsComputeEngineCredentials ()
     
    std::shared_ptr< CredentialsServiceAccountCredentials (const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
     
    std::shared_ptr< CredentialsGoogleComputeEngineCredentials ()
     Builds credentials for use when running in GCE. More...
     
    std::shared_ptr< CredentialsServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds)
     Builds Service Account JWT Access credentials. More...
     
    std::shared_ptr< CredentialsRefreshTokenCredentials (const grpc::string &json_refresh_token)
     
    std::shared_ptr< CredentialsGoogleRefreshTokenCredentials (const grpc::string &json_refresh_token)
     Builds refresh token credentials. More...
     
    std::shared_ptr< CredentialsAccessTokenCredentials (const grpc::string &access_token)
     Builds access token credentials. More...
     
    std::shared_ptr< CredentialsIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     
    std::shared_ptr< CredentialsGoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     Builds IAM credentials. More...
     
    std::shared_ptr< CredentialsCompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
     Combines two credentials objects into a composite credentials. More...
     
    std::shared_ptr< CredentialsInsecureCredentials ()
     Credentials for an unencrypted, unauthenticated channel. More...
     
    void FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
     
    grpc_metadata * FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
     
    template<class InputMessage , class OutputMessage >
    Status BlockingUnaryCall (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
     
    Status SerializeProto (const grpc::protobuf::Message &msg, grpc_byte_buffer **buffer)
     
    Status DeserializeProto (grpc_byte_buffer *buffer, grpc::protobuf::Message *msg, int max_message_size)
     
    std::shared_ptr
    < ServerCredentials
    SslServerCredentials (const SslServerCredentialsOptions &options)
     Builds SSL ServerCredentials given SSL specific options. More...
     
    std::shared_ptr
    < ServerCredentials
    InsecureServerCredentials ()
     Builds insecure server credentials. More...
     
    ThreadPoolInterfaceCreateDefaultThreadPool ()
     
    bool operator== (string_ref x, string_ref y)
     
    bool operator!= (string_ref x, string_ref y)
     
    bool operator< (string_ref x, string_ref y)
     
    bool operator> (string_ref x, string_ref y)
     
    bool operator<= (string_ref x, string_ref y)
     
    bool operator>= (string_ref x, string_ref y)
     
    std::ostream & operator<< (std::ostream &stream, const string_ref &string)
     
    void Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to)
     
    void TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
     
    std::chrono::system_clock::time_point Timespec2Timepoint (gpr_timespec t)
     
    std::shared_ptr< ChannelCreateChannelInternal (const grpc::string &host, grpc_channel *c_channel)
     
    std::shared_ptr< const
    AuthContext
    CreateAuthContext (grpc_call *call)
     
    ThreadPoolInterfaceCreateDefaultThreadPool ()
     
    void Timepoint2Timespec (const system_clock::time_point &from, gpr_timespec *to)
     
    void TimepointHR2Timespec (const high_resolution_clock::time_point &from, gpr_timespec *to)
     

    Typedef Documentation

    - +
    @@ -447,6 +518,18 @@ Functions
    +
    +
    + +

    Enumeration Type Documentation

    @@ -461,40 +544,71 @@ Functions
    Enumerator
    OK  +

    Not an error; returned on success.

    CANCELLED  +

    The operation was cancelled (typically by the caller).

    UNKNOWN  +

    Unknown error.

    +

    An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error.

    INVALID_ARGUMENT  +

    Client specified an invalid argument.

    +

    Note that this differs from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).

    DEADLINE_EXCEEDED  +

    Deadline expired before operation could complete.

    +

    For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire.

    NOT_FOUND  +

    Some requested entity (e.g., file or directory) was not found.

    ALREADY_EXISTS  +

    Some entity that we attempted to create (e.g., file or directory) already exists.

    PERMISSION_DENIED  +

    The caller does not have permission to execute the specified operation.

    +

    PERMISSION_DENIED must not be used for rejections caused by exhausting some resource (use RESOURCE_EXHAUSTED instead for those errors). PERMISSION_DENIED must not be used if the caller can not be identified (use UNAUTHENTICATED instead for those errors).

    UNAUTHENTICATED  +

    The request does not have valid authentication credentials for the operation.

    RESOURCE_EXHAUSTED  +

    Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

    FAILED_PRECONDITION  +

    Operation was rejected because the system is not in a state required for the operation's execution.

    +

    For example, directory to be deleted may be non-empty, an rmdir operation is applied to a non-directory, etc.

    +

    A litmus test that may help a service implementor in deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE: (a) Use UNAVAILABLE if the client can retry just the failing call. (b) Use ABORTED if the client should retry at a higher-level (e.g., restarting a read-modify-write sequence). (c) Use FAILED_PRECONDITION if the client should not retry until the system state has been explicitly fixed. E.g., if an "rmdir" fails because the directory is non-empty, FAILED_PRECONDITION should be returned since the client should not retry unless they have first fixed up the directory by deleting files from it. (d) Use FAILED_PRECONDITION if the client performs conditional REST Get/Update/Delete on a resource and the resource on the server does not match the condition. E.g., conflicting read-modify-write on the same resource.

    ABORTED  +

    The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.

    +

    See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE.

    OUT_OF_RANGE  +

    Operation was attempted past the valid range.

    +

    E.g., seeking or reading past end of file.

    +

    Unlike INVALID_ARGUMENT, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate INVALID_ARGUMENT if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from an offset past the current file size.

    +

    There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done.

    UNIMPLEMENTED  +

    Operation is not implemented or not supported/enabled in this service.

    INTERNAL  +

    Internal errors.

    +

    Means some invariants expected by underlying System has been broken. If you see one of these errors, Something is very broken.

    UNAVAILABLE  +

    The service is currently unavailable.

    +

    This is a most likely a transient condition and may be corrected by retrying with a backoff.

    +

    See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE.

    DATA_LOSS  +

    Unrecoverable data loss or corruption.

    DO_NOT_USE  +

    Force users to include a default branch:

    @@ -515,9 +629,13 @@ Functions
    +

    Builds access token credentials.

    +

    access_token is an oauth2 access token that was fetched using an out of band mechanism.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    - +
    @@ -526,7 +644,7 @@ template<class InputMessage , class OutputMessage >
    Status grpc::BlockingUnaryCall ( - ChannelInterface *  + Channel *  channel, @@ -587,16 +705,19 @@ template<class InputMessage , class OutputMessage >
    +

    Combines two credentials objects into a composite credentials.

    +
    - +
    - + - + +
    std::shared_ptr< Credentials > grpc::ComputeEngineCredentials std::shared_ptr< const AuthContext > grpc::CreateAuthContext ()grpc_call * call)
    @@ -604,28 +725,74 @@ template<class InputMessage , class OutputMessage >
    - +
    - + - - + + + + + + + + + + + + + + +
    std::shared_ptr< const AuthContext > grpc::CreateAuthContext std::shared_ptr< Channel > grpc::CreateChannel (grpc_call * call)const grpc::stringtarget,
    const std::shared_ptr< Credentials > & creds 
    )
    +
    + +

    Create a new Channel pointing to target.

    +
    Parameters
    + + + + +
    targetThe URI of the endpoint to connect to.
    credsCredentials to use for the created channel. If it does not hold an object or is invalid, a lame channel is returned.
    argsOptions for channel creation.
    +
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + +
    std::shared_ptr< Channel > grpc::CreateChannelInternal (const grpc::stringhost,
    grpc_channel * c_channel 
    )
    - +
    - + @@ -650,6 +817,17 @@ template<class InputMessage , class OutputMessage >
    std::shared_ptr< ChannelInterface > grpc::CreateChannel std::shared_ptr< Channel > grpc::CreateCustomChannel ( const grpc::string target,
    +

    Create a new custom Channel pointing to target.

    +
    Warning
    For advanced use and testing ONLY. Override default channel arguments only if necessary.
    +
    Parameters
    + + + + +
    targetThe URI of the endpoint to connect to.
    credsCredentials to use for the created channel. If it does not hold an object or is invalid, a lame channel is returned.
    argsOptions for channel creation.
    +
    +
    +
    @@ -715,7 +893,7 @@ template<class InputMessage , class OutputMessage > - +
    @@ -728,7 +906,7 @@ template<class InputMessage , class OutputMessage > - + @@ -739,6 +917,24 @@ template<class InputMessage , class OutputMessage >
    std::multimap< grpc::string, grpc::string > * std::multimap< grpc::string_ref, grpc::string_ref > *  metadata 
    +
    +
    + +
    +
    + + + + + + + +
    std::shared_ptr< Credentials > grpc::GoogleComputeEngineCredentials ()
    +
    + +

    Builds credentials for use when running in GCE.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    @@ -754,14 +950,17 @@ template<class InputMessage , class OutputMessage >
    +

    Builds credentials with reasonable defaults.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    - +
    - + @@ -780,6 +979,29 @@ template<class InputMessage , class OutputMessage >
    std::shared_ptr< Credentials > grpc::IAMCredentials std::shared_ptr< Credentials > grpc::GoogleIAMCredentials ( const grpc::string authorization_token,
    +

    Builds IAM credentials.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    + +
    +
    + +
    +
    + + + + + + + + +
    std::shared_ptr< Credentials > grpc::GoogleRefreshTokenCredentials (const grpc::stringjson_refresh_token)
    +
    + +

    Builds refresh token credentials.

    +

    json_refresh_token is the JSON string containing the refresh token along with a client_id and client_secret.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    @@ -795,6 +1017,8 @@ template<class InputMessage , class OutputMessage >
    +

    Credentials for an unencrypted, unauthenticated channel.

    +
    @@ -810,39 +1034,51 @@ template<class InputMessage , class OutputMessage >
    +

    Builds insecure server credentials.

    +
    - +
    - + - - + + + + + + + + + + + +
    std::shared_ptr< Credentials > grpc::RefreshTokenCredentials bool grpc::operator!= (const grpc::stringjson_refresh_token)string_ref x,
    string_ref y 
    )
    - +
    - + - - + + - - + + @@ -854,27 +1090,151 @@ template<class InputMessage , class OutputMessage > - +
    Status grpc::SerializeProto bool grpc::operator< (const grpc::protobuf::Messagemsg, string_ref x,
    grpc_byte_buffer ** buffer string_ref y 
    - + - - + + - - + + + + + + + + +
    std::shared_ptr< Credentials > grpc::ServiceAccountCredentials std::ostream & grpc::operator<< (const grpc::stringjson_key, std::ostream & stream,
    const grpc::stringscope, const string_ref & string 
    )
    +
    + +
    +
    + +
    +
    + + + + + + - - + + + + + + + + +
    bool grpc::operator<= (string_ref x,
    long token_lifetime_seconds string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator== (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator> (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator>= (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + @@ -910,6 +1270,9 @@ template<class InputMessage , class OutputMessage >
    Status grpc::SerializeProto (const grpc::protobuf::Messagemsg,
    grpc_byte_buffer ** buffer 
    +

    Builds Service Account JWT Access credentials.

    +

    json_key is the JSON key string containing the client's private key. token_lifetime_seconds is the lifetime in seconds of each Json Web Token (JWT) created with this credentials. It should not exceed grpc_max_auth_token_lifetime or will be cropped to this value.

    +
    @@ -926,6 +1289,8 @@ template<class InputMessage , class OutputMessage >
    +

    Builds SSL Credentials given SSL specific options.

    +
    @@ -942,6 +1307,8 @@ template<class InputMessage , class OutputMessage >
    +

    Builds SSL ServerCredentials given SSL specific options.

    +
    @@ -1067,7 +1434,7 @@ template<class InputMessage , class OutputMessage > diff --git a/doc/ref/c++.internal/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html b/doc/ref/c++.internal/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html index 109015b2a90..e9dcad09d92 100644 --- a/doc/ref/c++.internal/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html +++ b/doc/ref/c++.internal/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -102,7 +102,7 @@ Data Structures diff --git a/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf.html b/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf.html index 997ddce9d02..188a5ccc9e7 100644 --- a/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf.html +++ b/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -133,7 +133,7 @@ Typedefs diff --git a/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf_1_1io.html b/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf_1_1io.html index eac3b5ce49a..d3d883b4d74 100644 --- a/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf_1_1io.html +++ b/doc/ref/c++.internal/html/namespacegrpc_1_1protobuf_1_1io.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -144,7 +144,7 @@ Typedefs diff --git a/doc/ref/c++.internal/html/namespacegrpc_1_1testing.html b/doc/ref/c++.internal/html/namespacegrpc_1_1testing.html index 12c82cb3f13..5bc332360c9 100644 --- a/doc/ref/c++.internal/html/namespacegrpc_1_1testing.html +++ b/doc/ref/c++.internal/html/namespacegrpc_1_1testing.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/namespacemembers.html b/doc/ref/c++.internal/html/namespacemembers.html index d638470f665..41df10a637f 100644 --- a/doc/ref/c++.internal/html/namespacemembers.html +++ b/doc/ref/c++.internal/html/namespacemembers.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -123,14 +123,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc
  • AuthProperty -: grpc +: grpc
  • - b -

    @@ -145,14 +145,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • CompositeCredentials() : grpc
  • -
  • ComputeEngineCredentials() -: grpc -
  • CreateAuthContext() : grpc
  • CreateChannel() -: grpc +: grpc +
  • +
  • CreateChannelInternal() +: grpc +
  • +
  • CreateCustomChannel() +: grpc
  • CreateDefaultThreadPool() : grpc @@ -184,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc
  • FillMetadataMap() -: grpc +: grpc
  • @@ -196,16 +199,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • GenericServerAsyncReaderWriter : grpc
  • +
  • GoogleComputeEngineCredentials() +: grpc +
  • GoogleDefaultCredentials() : grpc
  • +
  • GoogleIAMCredentials() +: grpc +
  • +
  • GoogleRefreshTokenCredentials() +: grpc +
  • - i -

    @@ -128,65 +128,72 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    37 #include <memory>
    38 #include <vector>
    39 
    -
    40 #include <grpc++/config.h>
    -
    41 
    -
    42 struct grpc_server;
    -
    43 
    -
    44 namespace grpc {
    -
    45 class Server;
    -
    46 
    -
    47 // grpc_server_credentials wrapper class.
    - -
    49  public:
    -
    50  virtual ~ServerCredentials();
    -
    51 
    -
    52  private:
    -
    53  friend class ::grpc::Server;
    -
    54 
    -
    55  virtual int AddPortToServer(const grpc::string& addr,
    -
    56  grpc_server* server) = 0;
    -
    57 };
    -
    58 
    -
    59 // Options to create ServerCredentials with SSL
    - - -
    62 
    -
    63  struct PemKeyCertPair {
    - - -
    66  };
    - -
    68  std::vector<PemKeyCertPair> pem_key_cert_pairs;
    - -
    70 };
    -
    71 
    -
    72 // Builds SSL ServerCredentials given SSL specific options
    -
    73 std::shared_ptr<ServerCredentials> SslServerCredentials(
    -
    74  const SslServerCredentialsOptions& options);
    -
    75 
    -
    76 std::shared_ptr<ServerCredentials> InsecureServerCredentials();
    -
    77 
    -
    78 } // namespace grpc
    -
    79 
    -
    80 #endif // GRPCXX_SERVER_CREDENTIALS_H
    -
    grpc::string cert_chain
    Definition: server_credentials.h:65
    + +
    41 #include <grpc++/support/config.h>
    +
    42 
    +
    43 struct grpc_server;
    +
    44 
    +
    45 namespace grpc {
    +
    46 class Server;
    +
    47 
    +
    48 // Wrapper around \a grpc_server_credentials, a way to authenticate a server.
    + +
    50  public:
    +
    51  virtual ~ServerCredentials();
    +
    52 
    +
    53  // This method is not thread-safe and has to be called before the server is
    +
    54  // started. The last call to this function wins.
    +
    55  virtual void SetAuthMetadataProcessor(
    +
    56  const std::shared_ptr<AuthMetadataProcessor>& processor) = 0;
    +
    57 
    +
    58  private:
    +
    59  friend class ::grpc::Server;
    +
    60 
    +
    65  // TODO(dgq): the "port" part seems to be a misnomer.
    +
    66  virtual int AddPortToServer(const grpc::string& addr,
    +
    67  grpc_server* server) = 0;
    +
    68 };
    +
    69 
    + + +
    73 
    +
    74  struct PemKeyCertPair {
    + + +
    77  };
    + +
    79  std::vector<PemKeyCertPair> pem_key_cert_pairs;
    + +
    81 };
    +
    82 
    +
    84 std::shared_ptr<ServerCredentials> SslServerCredentials(
    +
    85  const SslServerCredentialsOptions& options);
    +
    86 
    +
    88 std::shared_ptr<ServerCredentials> InsecureServerCredentials();
    +
    89 
    +
    90 } // namespace grpc
    +
    91 
    +
    92 #endif // GRPCXX_SERVER_CREDENTIALS_H
    +
    grpc::string cert_chain
    Definition: server_credentials.h:76
    +
    std::string string
    Definition: config.h:112
    -
    Definition: server_credentials.h:63
    +
    Definition: server_credentials.h:74
    virtual ~ServerCredentials()
    Definition: server_credentials.cc:38
    -
    bool force_client_auth
    Definition: server_credentials.h:69
    -
    std::shared_ptr< ServerCredentials > InsecureServerCredentials()
    Definition: insecure_server_credentials.cc:49
    -
    std::shared_ptr< ServerCredentials > SslServerCredentials(const SslServerCredentialsOptions &options)
    Definition: secure_server_credentials.cc:43
    -
    Definition: server_credentials.h:48
    -
    std::vector< PemKeyCertPair > pem_key_cert_pairs
    Definition: server_credentials.h:68
    -
    grpc::string pem_root_certs
    Definition: server_credentials.h:67
    -
    Definition: server_credentials.h:60
    -
    grpc::string private_key
    Definition: server_credentials.h:64
    -
    SslServerCredentialsOptions()
    Definition: server_credentials.h:61
    +
    bool force_client_auth
    Definition: server_credentials.h:80
    +
    std::shared_ptr< ServerCredentials > InsecureServerCredentials()
    Builds insecure server credentials.
    Definition: insecure_server_credentials.cc:55
    +
    std::shared_ptr< ServerCredentials > SslServerCredentials(const SslServerCredentialsOptions &options)
    Builds SSL ServerCredentials given SSL specific options.
    Definition: secure_server_credentials.cc:122
    +
    Definition: server_credentials.h:49
    +
    std::vector< PemKeyCertPair > pem_key_cert_pairs
    Definition: server_credentials.h:79
    +
    grpc::string pem_root_certs
    Definition: server_credentials.h:78
    +
    virtual void SetAuthMetadataProcessor(const std::shared_ptr< AuthMetadataProcessor > &processor)=0
    +
    Options to create ServerCredentials with SSL.
    Definition: server_credentials.h:71
    +
    grpc::string private_key
    Definition: server_credentials.h:75
    +
    SslServerCredentialsOptions()
    Definition: server_credentials.h:72
    diff --git a/doc/ref/c++.internal/html/service__type_8h.html b/doc/ref/c++.internal/html/service__type_8h.html index 1e14b8d047c..d4fadf1b02e 100644 --- a/doc/ref/c++.internal/html/service__type_8h.html +++ b/doc/ref/c++.internal/html/service__type_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,10 +92,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    service_type.h File Reference
    -
    #include <grpc++/config.h>
    -#include <grpc++/impl/serialization_traits.h>
    +

    Go to the source code of this file.

    @@ -116,7 +116,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/service__type_8h_source.html b/doc/ref/c++.internal/html/service__type_8h_source.html index 9dc674c8489..804b0308adf 100644 --- a/doc/ref/c++.internal/html/service__type_8h_source.html +++ b/doc/ref/c++.internal/html/service__type_8h_source.html @@ -23,7 +23,7 @@ @@ -125,10 +125,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_SERVICE_TYPE_H
    35 #define GRPCXX_IMPL_SERVICE_TYPE_H
    36 
    -
    37 #include <grpc++/config.h>
    - -
    39 #include <grpc++/server.h>
    -
    40 #include <grpc++/status.h>
    + +
    38 #include <grpc++/server.h>
    +
    39 #include <grpc++/support/config.h>
    +
    40 #include <grpc++/support/status.h>
    41 
    42 namespace grpc {
    43 
    @@ -221,25 +221,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    void RequestClientStreaming(int index, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
    Definition: service_type.h:87
    Definition: service_type.h:51
    -
    Definition: rpc_service_method.h:227
    +
    Definition: rpc_service_method.h:248
    -
    Definition: server.h:61
    -
    Definition: call.h:565
    +
    Models a gRPC server.
    Definition: server.h:63
    +
    Definition: call.h:560
    void RequestServerStreaming(int index, ServerContext *context, Message *request, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
    Definition: service_type.h:96
    -
    Definition: server_context.h:86
    +
    Definition: server_context.h:89
    AsynchronousService(const char **method_names, size_t method_count)
    Definition: service_type.h:70
    -
    Definition: completion_queue.h:87
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    virtual RpcService * service()=0
    void RequestBidiStreaming(int index, ServerContext *context, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
    Definition: service_type.h:105
    virtual ~ServerAsyncStreamingInterface()
    Definition: service_type.h:59
    -
    Definition: completion_queue.h:162
    +
    A specific type of completion queue used by the processing of notifications by servers.
    Definition: completion_queue.h:204
    void RequestAsyncUnary(int index, ServerContext *context, Message *request, ServerAsyncStreamingInterface *stream, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
    Definition: service_type.h:80
    ::google::protobuf::Message Message
    Definition: config_protobuf.h:60
    diff --git a/doc/ref/c++.internal/html/slice_8cc.html b/doc/ref/c++.internal/html/slice_8cc.html index 5b2c27a1ed7..f9f8bf67632 100644 --- a/doc/ref/c++.internal/html/slice_8cc.html +++ b/doc/ref/c++.internal/html/slice_8cc.html @@ -23,7 +23,7 @@ @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    slice.cc File Reference
    -
    #include <grpc++/slice.h>
    +
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -101,7 +101,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/slice_8h.html b/doc/ref/c++.internal/html/slice_8h.html index 297bd5a24ff..6ccf3381252 100644 --- a/doc/ref/c++.internal/html/slice_8h.html +++ b/doc/ref/c++.internal/html/slice_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/slice.h File Reference +GRPC C++: include/grpc++/support/slice.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,13 +93,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include <grpc/support/slice.h>
    -#include <grpc++/config.h>
    +#include <grpc++/support/config.h>

    Go to the source code of this file.

    Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    +

    Data Structures

    class  grpc::Slice
     A wrapper around grpc_slice. More...
     
    diff --git a/doc/ref/c++.internal/html/slice_8h_source.html b/doc/ref/c++.internal/html/slice_8h_source.html index 8693b938f09..2f978966558 100644 --- a/doc/ref/c++.internal/html/slice_8h_source.html +++ b/doc/ref/c++.internal/html/slice_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/slice.h Source File +GRPC C++: include/grpc++/support/slice.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,65 +122,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_SLICE_H
    -
    35 #define GRPCXX_SLICE_H
    +
    34 #ifndef GRPCXX_SUPPORT_SLICE_H
    +
    35 #define GRPCXX_SUPPORT_SLICE_H
    36 
    37 #include <grpc/support/slice.h>
    -
    38 #include <grpc++/config.h>
    +
    38 #include <grpc++/support/config.h>
    39 
    40 namespace grpc {
    41 
    - -
    43  public:
    -
    44  // construct empty slice
    -
    45  Slice();
    -
    46  // destructor - drops one ref
    -
    47  ~Slice();
    -
    48  // construct slice from grpc slice, adding a ref
    -
    49  enum AddRef { ADD_REF };
    -
    50  Slice(gpr_slice slice, AddRef);
    -
    51  // construct slice from grpc slice, stealing a ref
    -
    52  enum StealRef { STEAL_REF };
    -
    53  Slice(gpr_slice slice, StealRef);
    -
    54  // copy constructor - adds a ref
    -
    55  Slice(const Slice& other);
    -
    56  // assignment - ref count is unchanged
    -
    57  Slice& operator=(Slice other) {
    -
    58  std::swap(slice_, other.slice_);
    -
    59  return *this;
    -
    60  }
    + +
    48  public:
    +
    50  Slice();
    +
    51  // Destructor - drops one reference.
    +
    52  ~Slice();
    +
    53 
    +
    54  enum AddRef { ADD_REF };
    +
    56  Slice(gpr_slice slice, AddRef);
    +
    57 
    +
    58  enum StealRef { STEAL_REF };
    +
    60  Slice(gpr_slice slice, StealRef);
    61 
    -
    62  size_t size() const { return GPR_SLICE_LENGTH(slice_); }
    -
    63  const gpr_uint8* begin() const { return GPR_SLICE_START_PTR(slice_); }
    -
    64  const gpr_uint8* end() const { return GPR_SLICE_END_PTR(slice_); }
    -
    65 
    -
    66  private:
    -
    67  friend class ByteBuffer;
    -
    68 
    -
    69  gpr_slice slice_;
    -
    70 };
    -
    71 
    -
    72 } // namespace grpc
    +
    63  Slice(const Slice& other);
    +
    64 
    +
    66  Slice& operator=(Slice other) {
    +
    67  std::swap(slice_, other.slice_);
    +
    68  return *this;
    +
    69  }
    +
    70 
    +
    72  size_t size() const { return GPR_SLICE_LENGTH(slice_); }
    73 
    -
    74 #endif // GRPCXX_SLICE_H
    +
    75  const gpr_uint8* begin() const { return GPR_SLICE_START_PTR(slice_); }
    +
    76 
    +
    78  const gpr_uint8* end() const { return GPR_SLICE_END_PTR(slice_); }
    +
    79 
    +
    80  private:
    +
    81  friend class ByteBuffer;
    +
    82 
    +
    83  gpr_slice slice_;
    +
    84 };
    +
    85 
    +
    86 } // namespace grpc
    +
    87 
    +
    88 #endif // GRPCXX_SUPPORT_SLICE_H
    ~Slice()
    Definition: slice.cc:40
    -
    const gpr_uint8 * end() const
    Definition: slice.h:64
    -
    StealRef
    Definition: slice.h:52
    -
    Definition: slice.h:42
    +
    const gpr_uint8 * end() const
    Raw pointer to the end (one byte past the last element) of the slice.
    Definition: slice.h:78
    +
    StealRef
    Definition: slice.h:58
    +
    A wrapper around grpc_slice.
    Definition: slice.h:47
    -
    const gpr_uint8 * begin() const
    Definition: slice.h:63
    +
    const gpr_uint8 * begin() const
    Raw pointer to the beginning (first element) of the slice.
    Definition: slice.h:75
    #define GRPC_FINAL
    Definition: config.h:71
    -
    Definition: slice.h:49
    -
    Definition: slice.h:52
    -
    Slice()
    Definition: slice.cc:38
    -
    size_t size() const
    Definition: slice.h:62
    -
    Slice & operator=(Slice other)
    Definition: slice.h:57
    -
    AddRef
    Definition: slice.h:49
    -
    Definition: byte_buffer.h:49
    +
    Definition: slice.h:54
    +
    Definition: slice.h:58
    +
    Slice()
    Construct an empty slice.
    Definition: slice.cc:38
    +
    size_t size() const
    Byte size.
    Definition: slice.h:72
    +
    Slice & operator=(Slice other)
    Assignment, reference count is unchanged.
    Definition: slice.h:66
    +
    AddRef
    Definition: slice.h:54
    +
    A sequence of bytes.
    Definition: byte_buffer.h:50
    diff --git a/doc/ref/c++.internal/html/status_8cc.html b/doc/ref/c++.internal/html/status_8cc.html index 3bbf40416f5..59a8186f1e9 100644 --- a/doc/ref/c++.internal/html/status_8cc.html +++ b/doc/ref/c++.internal/html/status_8cc.html @@ -23,7 +23,7 @@ @@ -91,7 +91,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    status.cc File Reference
    -

    @@ -110,7 +111,7 @@ Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -101,7 +101,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/status_8h.html b/doc/ref/c++.internal/html/status_8h.html index 269e5f7a5a8..a0ff93bc80a 100644 --- a/doc/ref/c++.internal/html/status_8h.html +++ b/doc/ref/c++.internal/html/status_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/status.h File Reference +GRPC C++: include/grpc++/support/status.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -92,14 +92,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    status.h File Reference

    Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    +

    Data Structures

    class  grpc::Status
     Did it work? If it didn't, why? More...
     
    diff --git a/doc/ref/c++.internal/html/status_8h_source.html b/doc/ref/c++.internal/html/status_8h_source.html index 23212a53be8..88eaf8b181b 100644 --- a/doc/ref/c++.internal/html/status_8h_source.html +++ b/doc/ref/c++.internal/html/status_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/status.h Source File +GRPC C++: include/grpc++/support/status.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,54 +122,56 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_STATUS_H
    -
    35 #define GRPCXX_STATUS_H
    +
    34 #ifndef GRPCXX_SUPPORT_STATUS_H
    +
    35 #define GRPCXX_SUPPORT_STATUS_H
    36 
    - -
    38 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    +
    39 
    40 namespace grpc {
    41 
    -
    42 class Status {
    -
    43  public:
    -
    44  Status() : code_(StatusCode::OK) {}
    -
    45  Status(StatusCode code, const grpc::string& details)
    -
    46  : code_(code), details_(details) {}
    -
    47 
    -
    48  // Pre-defined special status objects.
    -
    49  static const Status& OK;
    -
    50  static const Status& CANCELLED;
    -
    51 
    -
    52  StatusCode error_code() const { return code_; }
    -
    53  grpc::string error_message() const { return details_; }
    +
    45 class Status {
    +
    46  public:
    +
    48  Status() : code_(StatusCode::OK) {}
    +
    49 
    +
    51  // referred to as "error_message").
    +
    52  Status(StatusCode code, const grpc::string& details)
    +
    53  : code_(code), details_(details) {}
    54 
    -
    55  bool ok() const { return code_ == StatusCode::OK; }
    -
    56 
    -
    57  private:
    -
    58  StatusCode code_;
    -
    59  grpc::string details_;
    -
    60 };
    -
    61 
    -
    62 } // namespace grpc
    -
    63 
    -
    64 #endif // GRPCXX_STATUS_H
    +
    55  // Pre-defined special status objects.
    +
    57  static const Status& OK;
    +
    59  static const Status& CANCELLED;
    +
    60 
    +
    62  StatusCode error_code() const { return code_; }
    +
    64  grpc::string error_message() const { return details_; }
    +
    65 
    +
    67  bool ok() const { return code_ == StatusCode::OK; }
    +
    68 
    +
    69  private:
    +
    70  StatusCode code_;
    +
    71  grpc::string details_;
    +
    72 };
    +
    73 
    +
    74 } // namespace grpc
    +
    75 
    +
    76 #endif // GRPCXX_SUPPORT_STATUS_H
    -
    grpc::string error_message() const
    Definition: status.h:53
    -
    static const Status & OK
    Definition: status.h:49
    +
    grpc::string error_message() const
    Return the instance's error message.
    Definition: status.h:64
    +
    static const Status & OK
    An OK pre-defined instance.
    Definition: status.h:57
    std::string string
    Definition: config.h:112
    -
    static const Status & CANCELLED
    Definition: status.h:50
    -
    Definition: status_code_enum.h:41
    +
    static const Status & CANCELLED
    A CANCELLED pre-defined instance.
    Definition: status.h:59
    +
    Not an error; returned on success.
    Definition: status_code_enum.h:41
    StatusCode
    Definition: status_code_enum.h:39
    -
    Status()
    Definition: status.h:44
    -
    Status(StatusCode code, const grpc::string &details)
    Definition: status.h:45
    -
    StatusCode error_code() const
    Definition: status.h:52
    -
    bool ok() const
    Definition: status.h:55
    -
    Definition: status.h:42
    +
    Status()
    Construct an OK instance.
    Definition: status.h:48
    +
    Status(StatusCode code, const grpc::string &details)
    Construct an instance with associated code and details (also.
    Definition: status.h:52
    +
    StatusCode error_code() const
    Return the instance's error code.
    Definition: status.h:62
    +
    bool ok() const
    Is the status OK?
    Definition: status.h:67
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    diff --git a/doc/ref/c++.internal/html/status__code__enum_8h.html b/doc/ref/c++.internal/html/status__code__enum_8h.html index 14d82d39ad3..8e60887775d 100644 --- a/doc/ref/c++.internal/html/status__code__enum_8h.html +++ b/doc/ref/c++.internal/html/status__code__enum_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/status_code_enum.h File Reference +GRPC C++: include/grpc++/support/status_code_enum.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -132,7 +132,7 @@ Enumerations
    diff --git a/doc/ref/c++.internal/html/status__code__enum_8h_source.html b/doc/ref/c++.internal/html/status__code__enum_8h_source.html index 7e08b3868d1..9babea5eea7 100644 --- a/doc/ref/c++.internal/html/status__code__enum_8h_source.html +++ b/doc/ref/c++.internal/html/status__code__enum_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/status_code_enum.h Source File +GRPC C++: include/grpc++/support/status_code_enum.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,155 +122,75 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_STATUS_CODE_ENUM_H
    -
    35 #define GRPCXX_STATUS_CODE_ENUM_H
    +
    34 #ifndef GRPCXX_SUPPORT_STATUS_CODE_ENUM_H
    +
    35 #define GRPCXX_SUPPORT_STATUS_CODE_ENUM_H
    36 
    37 namespace grpc {
    38 
    39 enum StatusCode {
    -
    40  /* Not an error; returned on success */
    41  OK = 0,
    42 
    -
    43  /* The operation was cancelled (typically by the caller). */
    44  CANCELLED = 1,
    45 
    -
    46  /* Unknown error. An example of where this error may be returned is
    -
    47  if a Status value received from another address space belongs to
    -
    48  an error-space that is not known in this address space. Also
    -
    49  errors raised by APIs that do not return enough error information
    -
    50  may be converted to this error. */
    -
    51  UNKNOWN = 2,
    -
    52 
    -
    53  /* Client specified an invalid argument. Note that this differs
    -
    54  from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments
    -
    55  that are problematic regardless of the state of the system
    -
    56  (e.g., a malformed file name). */
    - -
    58 
    -
    59  /* Deadline expired before operation could complete. For operations
    -
    60  that change the state of the system, this error may be returned
    -
    61  even if the operation has completed successfully. For example, a
    -
    62  successful response from a server could have been delayed long
    -
    63  enough for the deadline to expire. */
    - -
    65 
    -
    66  /* Some requested entity (e.g., file or directory) was not found. */
    -
    67  NOT_FOUND = 5,
    -
    68 
    -
    69  /* Some entity that we attempted to create (e.g., file or directory)
    -
    70  already exists. */
    - -
    72 
    -
    73  /* The caller does not have permission to execute the specified
    -
    74  operation. PERMISSION_DENIED must not be used for rejections
    -
    75  caused by exhausting some resource (use RESOURCE_EXHAUSTED
    -
    76  instead for those errors). PERMISSION_DENIED must not be
    -
    77  used if the caller can not be identified (use UNAUTHENTICATED
    -
    78  instead for those errors). */
    - -
    80 
    -
    81  /* The request does not have valid authentication credentials for the
    -
    82  operation. */
    - -
    84 
    -
    85  /* Some resource has been exhausted, perhaps a per-user quota, or
    -
    86  perhaps the entire file system is out of space. */
    - -
    88 
    -
    89  /* Operation was rejected because the system is not in a state
    -
    90  required for the operation's execution. For example, directory
    -
    91  to be deleted may be non-empty, an rmdir operation is applied to
    -
    92  a non-directory, etc.
    -
    93 
    -
    94  A litmus test that may help a service implementor in deciding
    -
    95  between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE:
    -
    96  (a) Use UNAVAILABLE if the client can retry just the failing call.
    -
    97  (b) Use ABORTED if the client should retry at a higher-level
    -
    98  (e.g., restarting a read-modify-write sequence).
    -
    99  (c) Use FAILED_PRECONDITION if the client should not retry until
    -
    100  the system state has been explicitly fixed. E.g., if an "rmdir"
    -
    101  fails because the directory is non-empty, FAILED_PRECONDITION
    -
    102  should be returned since the client should not retry unless
    -
    103  they have first fixed up the directory by deleting files from it.
    -
    104  (d) Use FAILED_PRECONDITION if the client performs conditional
    -
    105  REST Get/Update/Delete on a resource and the resource on the
    -
    106  server does not match the condition. E.g., conflicting
    -
    107  read-modify-write on the same resource. */
    - -
    109 
    -
    110  /* The operation was aborted, typically due to a concurrency issue
    -
    111  like sequencer check failures, transaction aborts, etc.
    -
    112 
    -
    113  See litmus test above for deciding between FAILED_PRECONDITION,
    -
    114  ABORTED, and UNAVAILABLE. */
    -
    115  ABORTED = 10,
    -
    116 
    -
    117  /* Operation was attempted past the valid range. E.g., seeking or
    -
    118  reading past end of file.
    -
    119 
    -
    120  Unlike INVALID_ARGUMENT, this error indicates a problem that may
    -
    121  be fixed if the system state changes. For example, a 32-bit file
    -
    122  system will generate INVALID_ARGUMENT if asked to read at an
    -
    123  offset that is not in the range [0,2^32-1], but it will generate
    -
    124  OUT_OF_RANGE if asked to read from an offset past the current
    -
    125  file size.
    -
    126 
    -
    127  There is a fair bit of overlap between FAILED_PRECONDITION and
    -
    128  OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific
    -
    129  error) when it applies so that callers who are iterating through
    -
    130  a space can easily look for an OUT_OF_RANGE error to detect when
    -
    131  they are done. */
    - -
    133 
    -
    134  /* Operation is not implemented or not supported/enabled in this service. */
    - -
    136 
    -
    137  /* Internal errors. Means some invariants expected by underlying
    -
    138  system has been broken. If you see one of these errors,
    -
    139  something is very broken. */
    -
    140  INTERNAL = 13,
    -
    141 
    -
    142  /* The service is currently unavailable. This is a most likely a
    -
    143  transient condition and may be corrected by retrying with
    -
    144  a backoff.
    -
    145 
    -
    146  See litmus test above for deciding between FAILED_PRECONDITION,
    -
    147  ABORTED, and UNAVAILABLE. */
    - +
    50  UNKNOWN = 2,
    +
    51 
    + +
    57 
    + +
    64 
    +
    66  NOT_FOUND = 5,
    +
    67 
    + +
    71 
    + +
    78 
    + +
    82 
    + +
    86 
    + +
    106 
    +
    112  ABORTED = 10,
    +
    113 
    + +
    128 
    + +
    131 
    +
    134  INTERNAL = 13,
    +
    135 
    + +
    142 
    +
    144  DATA_LOSS = 15,
    +
    145 
    + +
    148 };
    149 
    -
    150  /* Unrecoverable data loss or corruption. */
    -
    151  DATA_LOSS = 15,
    -
    152 
    -
    153  /* Force users to include a default branch: */
    - -
    155 };
    -
    156 
    -
    157 } // namespace grpc
    -
    158 
    -
    159 #endif // GRPCXX_STATUS_CODE_ENUM_H
    -
    Definition: status_code_enum.h:79
    -
    Definition: status_code_enum.h:148
    -
    Definition: status_code_enum.h:71
    -
    Definition: status_code_enum.h:108
    -
    Definition: status_code_enum.h:151
    -
    Definition: status_code_enum.h:41
    +
    150 } // namespace grpc
    +
    151 
    +
    152 #endif // GRPCXX_SUPPORT_STATUS_CODE_ENUM_H
    +
    The caller does not have permission to execute the specified operation.
    Definition: status_code_enum.h:77
    +
    The service is currently unavailable.
    Definition: status_code_enum.h:141
    +
    Some entity that we attempted to create (e.g., file or directory) already exists. ...
    Definition: status_code_enum.h:70
    +
    Operation was rejected because the system is not in a state required for the operation's execution...
    Definition: status_code_enum.h:105
    +
    Unrecoverable data loss or corruption.
    Definition: status_code_enum.h:144
    +
    Not an error; returned on success.
    Definition: status_code_enum.h:41
    StatusCode
    Definition: status_code_enum.h:39
    -
    Definition: status_code_enum.h:154
    -
    Definition: status_code_enum.h:115
    -
    Definition: status_code_enum.h:44
    -
    Definition: status_code_enum.h:64
    -
    Definition: status_code_enum.h:57
    -
    Definition: status_code_enum.h:135
    -
    Definition: status_code_enum.h:87
    -
    Definition: status_code_enum.h:67
    -
    Definition: status_code_enum.h:51
    -
    Definition: status_code_enum.h:132
    -
    Definition: status_code_enum.h:140
    -
    Definition: status_code_enum.h:83
    +
    Force users to include a default branch:
    Definition: status_code_enum.h:147
    +
    The operation was aborted, typically due to a concurrency issue like sequencer check failures...
    Definition: status_code_enum.h:112
    +
    The operation was cancelled (typically by the caller).
    Definition: status_code_enum.h:44
    +
    Deadline expired before operation could complete.
    Definition: status_code_enum.h:63
    +
    Client specified an invalid argument.
    Definition: status_code_enum.h:56
    +
    Operation is not implemented or not supported/enabled in this service.
    Definition: status_code_enum.h:130
    +
    Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out ...
    Definition: status_code_enum.h:85
    +
    Some requested entity (e.g., file or directory) was not found.
    Definition: status_code_enum.h:66
    +
    Unknown error.
    Definition: status_code_enum.h:50
    +
    Operation was attempted past the valid range.
    Definition: status_code_enum.h:127
    +
    Internal errors.
    Definition: status_code_enum.h:134
    +
    The request does not have valid authentication credentials for the operation.
    Definition: status_code_enum.h:81
    diff --git a/doc/ref/c++.internal/html/stream_8h_source.html b/doc/ref/c++.internal/html/stream_8h_source.html deleted file mode 100644 index eaafe0f3184..00000000000 --- a/doc/ref/c++.internal/html/stream_8h_source.html +++ /dev/null @@ -1,994 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/stream.h Source File - - - - - - - - - -
    -
    -

    @@ -110,7 +111,7 @@ Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    -
    -
    stream.h
    -
    -
    -Go to the documentation of this file.
    1 /*
    -
    2  *
    -
    3  * Copyright 2015, Google Inc.
    -
    4  * All rights reserved.
    -
    5  *
    -
    6  * Redistribution and use in source and binary forms, with or without
    -
    7  * modification, are permitted provided that the following conditions are
    -
    8  * met:
    -
    9  *
    -
    10  * * Redistributions of source code must retain the above copyright
    -
    11  * notice, this list of conditions and the following disclaimer.
    -
    12  * * Redistributions in binary form must reproduce the above
    -
    13  * copyright notice, this list of conditions and the following disclaimer
    -
    14  * in the documentation and/or other materials provided with the
    -
    15  * distribution.
    -
    16  * * Neither the name of Google Inc. nor the names of its
    -
    17  * contributors may be used to endorse or promote products derived from
    -
    18  * this software without specific prior written permission.
    -
    19  *
    -
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    -
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    -
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    -
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    -
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    -
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    -
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    -
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    -
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    -
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    -
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    -
    31  *
    -
    32  */
    -
    33 
    -
    34 #ifndef GRPCXX_STREAM_H
    -
    35 #define GRPCXX_STREAM_H
    -
    36 
    - -
    38 #include <grpc++/client_context.h>
    - -
    40 #include <grpc++/server_context.h>
    -
    41 #include <grpc++/impl/call.h>
    - -
    43 #include <grpc++/status.h>
    -
    44 #include <grpc/support/log.h>
    -
    45 
    -
    46 namespace grpc {
    -
    47 
    -
    48 // Common interface for all client side streaming.
    - -
    50  public:
    - -
    52 
    -
    53  // Wait until the stream finishes, and return the final status. When the
    -
    54  // client side declares it has no more message to send, either implicitly or
    -
    55  // by calling WritesDone, it needs to make sure there is no more message to
    -
    56  // be received from the server, either implicitly or by getting a false from
    -
    57  // a Read(). Otherwise, this implicitly cancels the stream.
    -
    58  virtual Status Finish() = 0;
    -
    59 };
    -
    60 
    -
    61 // An interface that yields a sequence of R messages.
    -
    62 template <class R>
    - -
    64  public:
    -
    65  virtual ~ReaderInterface() {}
    -
    66 
    -
    67  // Blocking read a message and parse to msg. Returns true on success.
    -
    68  // The method returns false when there will be no more incoming messages,
    -
    69  // either because the other side has called WritesDone or the stream has
    -
    70  // failed (or been cancelled).
    -
    71  virtual bool Read(R* msg) = 0;
    -
    72 };
    -
    73 
    -
    74 // An interface that can be fed a sequence of W messages.
    -
    75 template <class W>
    - -
    77  public:
    -
    78  virtual ~WriterInterface() {}
    -
    79 
    -
    80  // Blocking write msg to the stream. Returns true on success.
    -
    81  // Returns false when the stream has been closed.
    -
    82  virtual bool Write(const W& msg, const WriteOptions& options) = 0;
    -
    83 
    -
    84  inline bool Write(const W& msg) {
    -
    85  return Write(msg, WriteOptions());
    -
    86  }
    -
    87 };
    -
    88 
    -
    89 template <class R>
    - -
    91  public ReaderInterface<R> {
    -
    92  public:
    -
    93  virtual void WaitForInitialMetadata() = 0;
    -
    94 };
    -
    95 
    -
    96 template <class R>
    - -
    98  public:
    -
    99  // Blocking create a stream and write the first request out.
    -
    100  template <class W>
    -
    101  ClientReader(ChannelInterface* channel, const RpcMethod& method,
    -
    102  ClientContext* context, const W& request)
    -
    103  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    - - -
    106  ops.SendInitialMetadata(context->send_initial_metadata_);
    -
    107  // TODO(ctiller): don't assert
    -
    108  GPR_ASSERT(ops.SendMessage(request).ok());
    -
    109  ops.ClientSendClose();
    -
    110  call_.PerformOps(&ops);
    -
    111  cq_.Pluck(&ops);
    -
    112  }
    -
    113 
    -
    114  // Blocking wait for initial metadata from server. The received metadata
    -
    115  // can only be accessed after this call returns. Should only be called before
    -
    116  // the first read. Calling this method is optional, and if it is not called
    -
    117  // the metadata will be available in ClientContext after the first read.
    - -
    119  GPR_ASSERT(!context_->initial_metadata_received_);
    -
    120 
    - -
    122  ops.RecvInitialMetadata(context_);
    -
    123  call_.PerformOps(&ops);
    -
    124  cq_.Pluck(&ops); // status ignored
    -
    125  }
    -
    126 
    -
    127  bool Read(R* msg) GRPC_OVERRIDE {
    - -
    129  if (!context_->initial_metadata_received_) {
    -
    130  ops.RecvInitialMetadata(context_);
    -
    131  }
    -
    132  ops.RecvMessage(msg);
    -
    133  call_.PerformOps(&ops);
    -
    134  return cq_.Pluck(&ops) && ops.got_message;
    -
    135  }
    -
    136 
    - - -
    139  Status status;
    -
    140  ops.ClientRecvStatus(context_, &status);
    -
    141  call_.PerformOps(&ops);
    -
    142  GPR_ASSERT(cq_.Pluck(&ops));
    -
    143  return status;
    -
    144  }
    -
    145 
    -
    146  private:
    -
    147  ClientContext* context_;
    -
    148  CompletionQueue cq_;
    -
    149  Call call_;
    -
    150 };
    -
    151 
    -
    152 template <class W>
    - -
    154  public WriterInterface<W> {
    -
    155  public:
    -
    156  virtual bool WritesDone() = 0;
    -
    157 };
    -
    158 
    -
    159 template <class W>
    -
    160 class ClientWriter : public ClientWriterInterface<W> {
    -
    161  public:
    -
    162  // Blocking create a stream.
    -
    163  template <class R>
    -
    164  ClientWriter(ChannelInterface* channel, const RpcMethod& method,
    -
    165  ClientContext* context, R* response)
    -
    166  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    -
    167  finish_ops_.RecvMessage(response);
    -
    168 
    - -
    170  ops.SendInitialMetadata(context->send_initial_metadata_);
    -
    171  call_.PerformOps(&ops);
    -
    172  cq_.Pluck(&ops);
    -
    173  }
    -
    174 
    - -
    176  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    - -
    178  if (!ops.SendMessage(msg, options).ok()) {
    -
    179  return false;
    -
    180  }
    -
    181  call_.PerformOps(&ops);
    -
    182  return cq_.Pluck(&ops);
    -
    183  }
    -
    184 
    - - -
    187  ops.ClientSendClose();
    -
    188  call_.PerformOps(&ops);
    -
    189  return cq_.Pluck(&ops);
    -
    190  }
    -
    191 
    -
    192  // Read the final response and wait for the final status.
    - -
    194  Status status;
    -
    195  finish_ops_.ClientRecvStatus(context_, &status);
    -
    196  call_.PerformOps(&finish_ops_);
    -
    197  GPR_ASSERT(cq_.Pluck(&finish_ops_));
    -
    198  return status;
    -
    199  }
    -
    200 
    -
    201  private:
    -
    202  ClientContext* context_;
    - -
    204  CompletionQueue cq_;
    -
    205  Call call_;
    -
    206 };
    -
    207 
    -
    208 // Client-side interface for bi-directional streaming.
    -
    209 template <class W, class R>
    - -
    211  public WriterInterface<W>,
    -
    212  public ReaderInterface<R> {
    -
    213  public:
    -
    214  virtual void WaitForInitialMetadata() = 0;
    -
    215  virtual bool WritesDone() = 0;
    -
    216 };
    -
    217 
    -
    218 template <class W, class R>
    - -
    220  public:
    -
    221  // Blocking create a stream.
    - -
    223  ClientContext* context)
    -
    224  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    - -
    226  ops.SendInitialMetadata(context->send_initial_metadata_);
    -
    227  call_.PerformOps(&ops);
    -
    228  cq_.Pluck(&ops);
    -
    229  }
    -
    230 
    -
    231  // Blocking wait for initial metadata from server. The received metadata
    -
    232  // can only be accessed after this call returns. Should only be called before
    -
    233  // the first read. Calling this method is optional, and if it is not called
    -
    234  // the metadata will be available in ClientContext after the first read.
    - -
    236  GPR_ASSERT(!context_->initial_metadata_received_);
    -
    237 
    - -
    239  ops.RecvInitialMetadata(context_);
    -
    240  call_.PerformOps(&ops);
    -
    241  cq_.Pluck(&ops); // status ignored
    -
    242  }
    -
    243 
    -
    244  bool Read(R* msg) GRPC_OVERRIDE {
    - -
    246  if (!context_->initial_metadata_received_) {
    -
    247  ops.RecvInitialMetadata(context_);
    -
    248  }
    -
    249  ops.RecvMessage(msg);
    -
    250  call_.PerformOps(&ops);
    -
    251  return cq_.Pluck(&ops) && ops.got_message;
    -
    252  }
    -
    253 
    - -
    255  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    - -
    257  if (!ops.SendMessage(msg, options).ok()) return false;
    -
    258  call_.PerformOps(&ops);
    -
    259  return cq_.Pluck(&ops);
    -
    260  }
    -
    261 
    - - -
    264  ops.ClientSendClose();
    -
    265  call_.PerformOps(&ops);
    -
    266  return cq_.Pluck(&ops);
    -
    267  }
    -
    268 
    - - -
    271  Status status;
    -
    272  ops.ClientRecvStatus(context_, &status);
    -
    273  call_.PerformOps(&ops);
    -
    274  GPR_ASSERT(cq_.Pluck(&ops));
    -
    275  return status;
    -
    276  }
    -
    277 
    -
    278  private:
    -
    279  ClientContext* context_;
    -
    280  CompletionQueue cq_;
    -
    281  Call call_;
    -
    282 };
    -
    283 
    -
    284 template <class R>
    -
    285 class ServerReader GRPC_FINAL : public ReaderInterface<R> {
    -
    286  public:
    -
    287  ServerReader(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    -
    288 
    - -
    290  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    291 
    - -
    293  ops.SendInitialMetadata(ctx_->initial_metadata_);
    -
    294  ctx_->sent_initial_metadata_ = true;
    -
    295  call_->PerformOps(&ops);
    -
    296  call_->cq()->Pluck(&ops);
    -
    297  }
    -
    298 
    -
    299  bool Read(R* msg) GRPC_OVERRIDE {
    - -
    301  ops.RecvMessage(msg);
    -
    302  call_->PerformOps(&ops);
    -
    303  return call_->cq()->Pluck(&ops) && ops.got_message;
    -
    304  }
    -
    305 
    -
    306  private:
    -
    307  Call* const call_;
    -
    308  ServerContext* const ctx_;
    -
    309 };
    -
    310 
    -
    311 template <class W>
    -
    312 class ServerWriter GRPC_FINAL : public WriterInterface<W> {
    -
    313  public:
    -
    314  ServerWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    -
    315 
    - -
    317  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    318 
    - -
    320  ops.SendInitialMetadata(ctx_->initial_metadata_);
    -
    321  ctx_->sent_initial_metadata_ = true;
    -
    322  call_->PerformOps(&ops);
    -
    323  call_->cq()->Pluck(&ops);
    -
    324  }
    -
    325 
    - -
    327  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    - -
    329  if (!ops.SendMessage(msg, options).ok()) {
    -
    330  return false;
    -
    331  }
    -
    332  if (!ctx_->sent_initial_metadata_) {
    -
    333  ops.SendInitialMetadata(ctx_->initial_metadata_);
    -
    334  ctx_->sent_initial_metadata_ = true;
    -
    335  }
    -
    336  call_->PerformOps(&ops);
    -
    337  return call_->cq()->Pluck(&ops);
    -
    338  }
    -
    339 
    -
    340  private:
    -
    341  Call* const call_;
    -
    342  ServerContext* const ctx_;
    -
    343 };
    -
    344 
    -
    345 // Server-side interface for bi-directional streaming.
    -
    346 template <class W, class R>
    -
    347 class ServerReaderWriter GRPC_FINAL : public WriterInterface<W>,
    -
    348  public ReaderInterface<R> {
    -
    349  public:
    -
    350  ServerReaderWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    -
    351 
    - -
    353  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    354 
    - -
    356  ops.SendInitialMetadata(ctx_->initial_metadata_);
    -
    357  ctx_->sent_initial_metadata_ = true;
    -
    358  call_->PerformOps(&ops);
    -
    359  call_->cq()->Pluck(&ops);
    -
    360  }
    -
    361 
    -
    362  bool Read(R* msg) GRPC_OVERRIDE {
    - -
    364  ops.RecvMessage(msg);
    -
    365  call_->PerformOps(&ops);
    -
    366  return call_->cq()->Pluck(&ops) && ops.got_message;
    -
    367  }
    -
    368 
    - -
    370  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    - -
    372  if (!ops.SendMessage(msg, options).ok()) {
    -
    373  return false;
    -
    374  }
    -
    375  if (!ctx_->sent_initial_metadata_) {
    -
    376  ops.SendInitialMetadata(ctx_->initial_metadata_);
    -
    377  ctx_->sent_initial_metadata_ = true;
    -
    378  }
    -
    379  call_->PerformOps(&ops);
    -
    380  return call_->cq()->Pluck(&ops);
    -
    381  }
    -
    382 
    -
    383  private:
    -
    384  Call* const call_;
    -
    385  ServerContext* const ctx_;
    -
    386 };
    -
    387 
    -
    388 // Async interfaces
    -
    389 // Common interface for all client side streaming.
    - -
    391  public:
    - -
    393 
    -
    394  virtual void ReadInitialMetadata(void* tag) = 0;
    -
    395 
    -
    396  virtual void Finish(Status* status, void* tag) = 0;
    -
    397 };
    -
    398 
    -
    399 // An interface that yields a sequence of R messages.
    -
    400 template <class R>
    - -
    402  public:
    - -
    404 
    -
    405  virtual void Read(R* msg, void* tag) = 0;
    -
    406 };
    -
    407 
    -
    408 // An interface that can be fed a sequence of W messages.
    -
    409 template <class W>
    - -
    411  public:
    - -
    413 
    -
    414  virtual void Write(const W& msg, void* tag) = 0;
    -
    415 };
    -
    416 
    -
    417 template <class R>
    - -
    419  public AsyncReaderInterface<R> {};
    -
    420 
    -
    421 template <class R>
    - -
    423  public:
    -
    424  // Create a stream and write the first request out.
    -
    425  template <class W>
    - -
    427  const RpcMethod& method, ClientContext* context,
    -
    428  const W& request, void* tag)
    -
    429  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    -
    430  init_ops_.set_output_tag(tag);
    -
    431  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    -
    432  // TODO(ctiller): don't assert
    -
    433  GPR_ASSERT(init_ops_.SendMessage(request).ok());
    -
    434  init_ops_.ClientSendClose();
    -
    435  call_.PerformOps(&init_ops_);
    -
    436  }
    -
    437 
    - -
    439  GPR_ASSERT(!context_->initial_metadata_received_);
    -
    440 
    -
    441  meta_ops_.set_output_tag(tag);
    -
    442  meta_ops_.RecvInitialMetadata(context_);
    -
    443  call_.PerformOps(&meta_ops_);
    -
    444  }
    -
    445 
    -
    446  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    -
    447  read_ops_.set_output_tag(tag);
    -
    448  if (!context_->initial_metadata_received_) {
    -
    449  read_ops_.RecvInitialMetadata(context_);
    -
    450  }
    -
    451  read_ops_.RecvMessage(msg);
    -
    452  call_.PerformOps(&read_ops_);
    -
    453  }
    -
    454 
    -
    455  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    -
    456  finish_ops_.set_output_tag(tag);
    -
    457  if (!context_->initial_metadata_received_) {
    -
    458  finish_ops_.RecvInitialMetadata(context_);
    -
    459  }
    -
    460  finish_ops_.ClientRecvStatus(context_, status);
    -
    461  call_.PerformOps(&finish_ops_);
    -
    462  }
    -
    463 
    -
    464  private:
    -
    465  ClientContext* context_;
    -
    466  Call call_;
    - -
    468  init_ops_;
    - - - -
    472 };
    -
    473 
    -
    474 template <class W>
    - -
    476  public AsyncWriterInterface<W> {
    -
    477  public:
    -
    478  virtual void WritesDone(void* tag) = 0;
    -
    479 };
    -
    480 
    -
    481 template <class W>
    - -
    483  public:
    -
    484  template <class R>
    - -
    486  const RpcMethod& method, ClientContext* context,
    -
    487  R* response, void* tag)
    -
    488  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    -
    489  finish_ops_.RecvMessage(response);
    -
    490 
    -
    491  init_ops_.set_output_tag(tag);
    -
    492  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    -
    493  call_.PerformOps(&init_ops_);
    -
    494  }
    -
    495 
    - -
    497  GPR_ASSERT(!context_->initial_metadata_received_);
    -
    498 
    -
    499  meta_ops_.set_output_tag(tag);
    -
    500  meta_ops_.RecvInitialMetadata(context_);
    -
    501  call_.PerformOps(&meta_ops_);
    -
    502  }
    -
    503 
    -
    504  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    -
    505  write_ops_.set_output_tag(tag);
    -
    506  // TODO(ctiller): don't assert
    -
    507  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    -
    508  call_.PerformOps(&write_ops_);
    -
    509  }
    -
    510 
    -
    511  void WritesDone(void* tag) GRPC_OVERRIDE {
    -
    512  writes_done_ops_.set_output_tag(tag);
    -
    513  writes_done_ops_.ClientSendClose();
    -
    514  call_.PerformOps(&writes_done_ops_);
    -
    515  }
    -
    516 
    -
    517  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    -
    518  finish_ops_.set_output_tag(tag);
    -
    519  if (!context_->initial_metadata_received_) {
    -
    520  finish_ops_.RecvInitialMetadata(context_);
    -
    521  }
    -
    522  finish_ops_.ClientRecvStatus(context_, status);
    -
    523  call_.PerformOps(&finish_ops_);
    -
    524  }
    -
    525 
    -
    526  private:
    -
    527  ClientContext* context_;
    -
    528  Call call_;
    - - -
    531  CallOpSet<CallOpSendMessage> write_ops_;
    -
    532  CallOpSet<CallOpClientSendClose> writes_done_ops_;
    - -
    534  CallOpClientRecvStatus> finish_ops_;
    -
    535 };
    -
    536 
    -
    537 // Client-side interface for bi-directional streaming.
    -
    538 template <class W, class R>
    - -
    540  public AsyncWriterInterface<W>,
    -
    541  public AsyncReaderInterface<R> {
    -
    542  public:
    -
    543  virtual void WritesDone(void* tag) = 0;
    -
    544 };
    -
    545 
    -
    546 template <class W, class R>
    - -
    548  : public ClientAsyncReaderWriterInterface<W, R> {
    -
    549  public:
    - -
    551  const RpcMethod& method, ClientContext* context,
    -
    552  void* tag)
    -
    553  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    -
    554  init_ops_.set_output_tag(tag);
    -
    555  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    -
    556  call_.PerformOps(&init_ops_);
    -
    557  }
    -
    558 
    - -
    560  GPR_ASSERT(!context_->initial_metadata_received_);
    -
    561 
    -
    562  meta_ops_.set_output_tag(tag);
    -
    563  meta_ops_.RecvInitialMetadata(context_);
    -
    564  call_.PerformOps(&meta_ops_);
    -
    565  }
    -
    566 
    -
    567  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    -
    568  read_ops_.set_output_tag(tag);
    -
    569  if (!context_->initial_metadata_received_) {
    -
    570  read_ops_.RecvInitialMetadata(context_);
    -
    571  }
    -
    572  read_ops_.RecvMessage(msg);
    -
    573  call_.PerformOps(&read_ops_);
    -
    574  }
    -
    575 
    -
    576  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    -
    577  write_ops_.set_output_tag(tag);
    -
    578  // TODO(ctiller): don't assert
    -
    579  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    -
    580  call_.PerformOps(&write_ops_);
    -
    581  }
    -
    582 
    -
    583  void WritesDone(void* tag) GRPC_OVERRIDE {
    -
    584  writes_done_ops_.set_output_tag(tag);
    -
    585  writes_done_ops_.ClientSendClose();
    -
    586  call_.PerformOps(&writes_done_ops_);
    -
    587  }
    -
    588 
    -
    589  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    -
    590  finish_ops_.set_output_tag(tag);
    -
    591  if (!context_->initial_metadata_received_) {
    -
    592  finish_ops_.RecvInitialMetadata(context_);
    -
    593  }
    -
    594  finish_ops_.ClientRecvStatus(context_, status);
    -
    595  call_.PerformOps(&finish_ops_);
    -
    596  }
    -
    597 
    -
    598  private:
    -
    599  ClientContext* context_;
    -
    600  Call call_;
    - - - -
    604  CallOpSet<CallOpSendMessage> write_ops_;
    -
    605  CallOpSet<CallOpClientSendClose> writes_done_ops_;
    - -
    607 };
    -
    608 
    -
    609 template <class W, class R>
    -
    610 class ServerAsyncReader GRPC_FINAL : public ServerAsyncStreamingInterface,
    -
    611  public AsyncReaderInterface<R> {
    -
    612  public:
    - -
    614  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    -
    615 
    - -
    617  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    618 
    -
    619  meta_ops_.set_output_tag(tag);
    -
    620  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    621  ctx_->sent_initial_metadata_ = true;
    -
    622  call_.PerformOps(&meta_ops_);
    -
    623  }
    -
    624 
    -
    625  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    -
    626  read_ops_.set_output_tag(tag);
    -
    627  read_ops_.RecvMessage(msg);
    -
    628  call_.PerformOps(&read_ops_);
    -
    629  }
    -
    630 
    -
    631  void Finish(const W& msg, const Status& status, void* tag) {
    -
    632  finish_ops_.set_output_tag(tag);
    -
    633  if (!ctx_->sent_initial_metadata_) {
    -
    634  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    635  ctx_->sent_initial_metadata_ = true;
    -
    636  }
    -
    637  // The response is dropped if the status is not OK.
    -
    638  if (status.ok()) {
    -
    639  finish_ops_.ServerSendStatus(
    -
    640  ctx_->trailing_metadata_,
    -
    641  finish_ops_.SendMessage(msg));
    -
    642  } else {
    -
    643  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    -
    644  }
    -
    645  call_.PerformOps(&finish_ops_);
    -
    646  }
    -
    647 
    -
    648  void FinishWithError(const Status& status, void* tag) {
    -
    649  GPR_ASSERT(!status.ok());
    -
    650  finish_ops_.set_output_tag(tag);
    -
    651  if (!ctx_->sent_initial_metadata_) {
    -
    652  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    653  ctx_->sent_initial_metadata_ = true;
    -
    654  }
    -
    655  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    -
    656  call_.PerformOps(&finish_ops_);
    -
    657  }
    -
    658 
    -
    659  private:
    -
    660  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    -
    661 
    -
    662  Call call_;
    -
    663  ServerContext* ctx_;
    -
    664  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
    -
    665  CallOpSet<CallOpRecvMessage<R>> read_ops_;
    -
    666  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage,
    -
    667  CallOpServerSendStatus> finish_ops_;
    -
    668 };
    -
    669 
    -
    670 template <class W>
    -
    671 class ServerAsyncWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
    -
    672  public AsyncWriterInterface<W> {
    -
    673  public:
    - -
    675  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    -
    676 
    - -
    678  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    679 
    -
    680  meta_ops_.set_output_tag(tag);
    -
    681  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    682  ctx_->sent_initial_metadata_ = true;
    -
    683  call_.PerformOps(&meta_ops_);
    -
    684  }
    -
    685 
    -
    686  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    -
    687  write_ops_.set_output_tag(tag);
    -
    688  if (!ctx_->sent_initial_metadata_) {
    -
    689  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    690  ctx_->sent_initial_metadata_ = true;
    -
    691  }
    -
    692  // TODO(ctiller): don't assert
    -
    693  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    -
    694  call_.PerformOps(&write_ops_);
    -
    695  }
    -
    696 
    -
    697  void Finish(const Status& status, void* tag) {
    -
    698  finish_ops_.set_output_tag(tag);
    -
    699  if (!ctx_->sent_initial_metadata_) {
    -
    700  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    701  ctx_->sent_initial_metadata_ = true;
    -
    702  }
    -
    703  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    -
    704  call_.PerformOps(&finish_ops_);
    -
    705  }
    -
    706 
    -
    707  private:
    -
    708  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    -
    709 
    -
    710  Call call_;
    -
    711  ServerContext* ctx_;
    -
    712  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
    -
    713  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> write_ops_;
    -
    714  CallOpSet<CallOpSendInitialMetadata, CallOpServerSendStatus> finish_ops_;
    -
    715 };
    -
    716 
    -
    717 // Server-side interface for bi-directional streaming.
    -
    718 template <class W, class R>
    -
    719 class ServerAsyncReaderWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
    -
    720  public AsyncWriterInterface<W>,
    -
    721  public AsyncReaderInterface<R> {
    -
    722  public:
    - -
    724  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    -
    725 
    - -
    727  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    -
    728 
    -
    729  meta_ops_.set_output_tag(tag);
    -
    730  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    731  ctx_->sent_initial_metadata_ = true;
    -
    732  call_.PerformOps(&meta_ops_);
    -
    733  }
    -
    734 
    -
    735  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    -
    736  read_ops_.set_output_tag(tag);
    -
    737  read_ops_.RecvMessage(msg);
    -
    738  call_.PerformOps(&read_ops_);
    -
    739  }
    -
    740 
    -
    741  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    -
    742  write_ops_.set_output_tag(tag);
    -
    743  if (!ctx_->sent_initial_metadata_) {
    -
    744  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    745  ctx_->sent_initial_metadata_ = true;
    -
    746  }
    -
    747  // TODO(ctiller): don't assert
    -
    748  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    -
    749  call_.PerformOps(&write_ops_);
    -
    750  }
    -
    751 
    -
    752  void Finish(const Status& status, void* tag) {
    -
    753  finish_ops_.set_output_tag(tag);
    -
    754  if (!ctx_->sent_initial_metadata_) {
    -
    755  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    -
    756  ctx_->sent_initial_metadata_ = true;
    -
    757  }
    -
    758  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    -
    759  call_.PerformOps(&finish_ops_);
    -
    760  }
    -
    761 
    -
    762  private:
    -
    763  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    -
    764 
    -
    765  Call call_;
    -
    766  ServerContext* ctx_;
    -
    767  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
    -
    768  CallOpSet<CallOpRecvMessage<R>> read_ops_;
    -
    769  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> write_ops_;
    -
    770  CallOpSet<CallOpSendInitialMetadata, CallOpServerSendStatus> finish_ops_;
    -
    771 };
    -
    772 
    -
    773 } // namespace grpc
    -
    774 
    -
    775 #endif // GRPCXX_STREAM_H
    -
    Definition: stream.h:390
    -
    Definition: client_context.h:70
    -
    Definition: client_context.h:60
    -
    bool Read(R *msg) GRPC_OVERRIDE
    Definition: stream.h:244
    -
    Definition: stream.h:153
    -
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:504
    -
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:735
    -
    void WritesDone(void *tag) GRPC_OVERRIDE
    Definition: stream.h:511
    -
    virtual void WaitForInitialMetadata()=0
    - -
    CompletionQueue * cq()
    Definition: call.h:575
    -
    void SendInitialMetadata()
    Definition: stream.h:352
    -
    Definition: stream.h:90
    -
    void SendInitialMetadata()
    Definition: stream.h:316
    -
    ServerReaderWriter(Call *call, ServerContext *ctx)
    Definition: stream.h:350
    -
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:677
    -
    Definition: stream.h:63
    -
    void SendInitialMetadata()
    Definition: stream.h:289
    -
    virtual void WritesDone(void *tag)=0
    -
    Definition: call.h:431
    -
    virtual void Write(const W &msg, void *tag)=0
    -
    virtual ~ReaderInterface()
    Definition: stream.h:65
    -
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:686
    - -
    #define GRPC_FINAL
    Definition: config.h:71
    -
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:576
    -
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:625
    -
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:726
    -
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Definition: stream.h:327
    -
    Status Finish() GRPC_OVERRIDE
    Definition: stream.h:137
    -
    virtual void WritesDone(void *tag)=0
    -
    Definition: client_context.h:74
    -
    Status Finish() GRPC_OVERRIDE
    Definition: stream.h:269
    -
    void FinishWithError(const Status &status, void *tag)
    Definition: stream.h:648
    -
    ClientAsyncWriter(ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, R *response, void *tag)
    Definition: stream.h:485
    -
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:741
    -
    Definition: call.h:190
    -
    ServerReader(Call *call, ServerContext *ctx)
    Definition: stream.h:287
    -
    bool WritesDone() GRPC_OVERRIDE
    Definition: stream.h:185
    -
    virtual ~AsyncReaderInterface()
    Definition: stream.h:403
    -
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Definition: stream.h:176
    -
    Definition: call.h:341
    -
    virtual ~ClientStreamingInterface()
    Definition: stream.h:51
    -
    Definition: stream.h:418
    -
    ClientReader(ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const W &request)
    Definition: stream.h:101
    -
    bool Read(R *msg) GRPC_OVERRIDE
    Definition: stream.h:362
    -
    void WritesDone(void *tag) GRPC_OVERRIDE
    Definition: stream.h:583
    -
    Status Finish() GRPC_OVERRIDE
    Definition: stream.h:193
    -
    Definition: call.h:565
    - -
    bool Read(R *msg) GRPC_OVERRIDE
    Definition: stream.h:127
    -
    virtual bool WritesDone()=0
    -
    Definition: channel_interface.h:52
    -
    ServerAsyncWriter(ServerContext *ctx)
    Definition: stream.h:674
    -
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Definition: stream.h:589
    -
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:496
    -
    Definition: stream.h:410
    - -
    Definition: client_context.h:68
    -
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:506
    -
    void ClientSendClose()
    Definition: call.h:345
    -
    Definition: server_context.h:86
    -
    void Finish(const W &msg, const Status &status, void *tag)
    Definition: stream.h:631
    -
    Per-message write options.
    Definition: call.h:64
    -
    virtual void WaitForInitialMetadata()=0
    - -
    bool Write(const W &msg)
    Definition: stream.h:84
    -
    Definition: completion_queue.h:87
    -
    virtual ~ClientAsyncStreamingInterface()
    Definition: stream.h:392
    -
    ClientAsyncReaderWriter(ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, void *tag)
    Definition: stream.h:550
    -
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Definition: stream.h:517
    -
    void Finish(const Status &status, void *tag)
    Definition: stream.h:697
    - -
    virtual void ReadInitialMetadata(void *tag)=0
    -
    Definition: rpc_method.h:39
    - - -
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Definition: stream.h:370
    -
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Definition: stream.h:455
    -
    void PerformOps(CallOpSetInterface *ops)
    Definition: call.cc:85
    -
    Definition: stream.h:76
    -
    bool ok() const
    Definition: status.h:55
    - -
    ClientReaderWriter(ChannelInterface *channel, const RpcMethod &method, ClientContext *context)
    Definition: stream.h:222
    -
    Definition: stream.h:210
    -
    Definition: status.h:42
    -
    virtual bool Read(R *msg)=0
    -
    Definition: stream.h:49
    -
    virtual void Finish(Status *status, void *tag)=0
    -
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:616
    -
    ServerWriter(Call *call, ServerContext *ctx)
    Definition: stream.h:314
    -
    Definition: call.h:159
    -
    void WaitForInitialMetadata()
    Definition: stream.h:235
    -
    bool Read(R *msg) GRPC_OVERRIDE
    Definition: stream.h:299
    -
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:446
    -
    virtual bool Write(const W &msg, const WriteOptions &options)=0
    -
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Definition: stream.h:567
    -
    Definition: client_context.h:64
    -
    ServerAsyncReaderWriter(ServerContext *ctx)
    Definition: stream.h:723
    -
    Definition: client_context.h:66
    -
    virtual ~AsyncWriterInterface()
    Definition: stream.h:412
    -
    void Finish(const Status &status, void *tag)
    Definition: stream.h:752
    -
    void WaitForInitialMetadata()
    Definition: stream.h:118
    -
    #define GRPC_OVERRIDE
    Definition: config.h:77
    -
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:559
    -
    Definition: client_context.h:62
    -
    Definition: call.h:402
    -
    ClientAsyncReader(ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
    Definition: stream.h:426
    -
    ClientWriter(ChannelInterface *channel, const RpcMethod &method, ClientContext *context, R *response)
    Definition: stream.h:164
    -
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Definition: stream.h:255
    -
    virtual void Read(R *msg, void *tag)=0
    -
    virtual ~WriterInterface()
    Definition: stream.h:78
    -
    Definition: call.h:298
    - -
    ServerAsyncReader(ServerContext *ctx)
    Definition: stream.h:613
    -
    Definition: stream.h:401
    -
    bool WritesDone() GRPC_OVERRIDE
    Definition: stream.h:262
    -
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: stream.h:438
    -
    Definition: stream.h:475
    -
    - - - - diff --git a/doc/ref/c++/html/thread__pool__interface_8h.html b/doc/ref/c++.internal/html/string__ref_8cc.html similarity index 61% rename from doc/ref/c++/html/thread__pool__interface_8h.html rename to doc/ref/c++.internal/html/string__ref_8cc.html index 307f5c7c1f3..ae44ba86adb 100644 --- a/doc/ref/c++/html/thread__pool__interface_8h.html +++ b/doc/ref/c++.internal/html/string__ref_8cc.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/thread_pool_interface.h File Reference +GRPC C++: src/cpp/util/string_ref.cc File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,27 +81,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    thread_pool_interface.h File Reference
    +
    string_ref.cc File Reference
    -
    #include <functional>
    -
    -

    Go to the source code of this file.

    - - - - -

    -Data Structures

    class  grpc::ThreadPoolInterface
     
    +
    #include <grpc++/support/string_ref.h>
    +#include <string.h>
    +#include <algorithm>
    +#include <iostream>
    +
    @@ -109,13 +104,25 @@ Namespaces

    Namespaces

     grpc
    - - + + + + + + + + + + + + + +

    Functions

    ThreadPoolInterface * grpc::CreateDefaultThreadPool ()
     
    bool grpc::operator== (string_ref x, string_ref y)
     
    bool grpc::operator!= (string_ref x, string_ref y)
     
    bool grpc::operator< (string_ref x, string_ref y)
     
    bool grpc::operator<= (string_ref x, string_ref y)
     
    bool grpc::operator> (string_ref x, string_ref y)
     
    bool grpc::operator>= (string_ref x, string_ref y)
     
    std::ostream & grpc::operator<< (std::ostream &stream, const string_ref &string)
     
    diff --git a/doc/ref/c++.internal/html/auth__property__iterator_8h.html b/doc/ref/c++.internal/html/string__ref_8h.html similarity index 63% rename from doc/ref/c++.internal/html/auth__property__iterator_8h.html rename to doc/ref/c++.internal/html/string__ref_8h.html index b26963d4778..3cf735c78ef 100644 --- a/doc/ref/c++.internal/html/auth__property__iterator_8h.html +++ b/doc/ref/c++.internal/html/string__ref_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_property_iterator.h File Reference +GRPC C++: include/grpc++/support/string_ref.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,27 +81,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +Functions
    -
    auth_property_iterator.h File Reference
    +
    string_ref.h File Reference
    #include <iterator>
    -#include <vector>
    -#include <grpc++/config.h>
    +#include <iosfwd>
    +#include <grpc++/support/config.h>
    -

    Go to the source code of this file.

    +

    Go to the source code of this file.

    - + +

    Data Structures

    class  grpc::AuthPropertyIterator
    class  grpc::string_ref
     This class is a non owning reference to a string. More...
     

    @@ -109,16 +110,27 @@ Namespaces

     grpc
     
    - - - + + + + + + + + + + + + + + +

    -Typedefs

    typedef std::pair
    -< grpc::string, grpc::string
    grpc::AuthProperty
     

    +Functions

    bool grpc::operator== (string_ref x, string_ref y)
     
    bool grpc::operator!= (string_ref x, string_ref y)
     
    bool grpc::operator< (string_ref x, string_ref y)
     
    bool grpc::operator> (string_ref x, string_ref y)
     
    bool grpc::operator<= (string_ref x, string_ref y)
     
    bool grpc::operator>= (string_ref x, string_ref y)
     
    std::ostream & grpc::operator<< (std::ostream &stream, const string_ref &string)
     
    diff --git a/doc/ref/c++.internal/html/string__ref_8h_source.html b/doc/ref/c++.internal/html/string__ref_8h_source.html new file mode 100644 index 00000000000..fd75191ea8a --- /dev/null +++ b/doc/ref/c++.internal/html/string__ref_8h_source.html @@ -0,0 +1,251 @@ + + + + + + +GRPC C++: include/grpc++/support/string_ref.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    string_ref.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_STRING_REF_H
    +
    35 #define GRPCXX_SUPPORT_STRING_REF_H
    +
    36 
    +
    37 #include <iterator>
    +
    38 #include <iosfwd>
    +
    39 
    +
    40 #include <grpc++/support/config.h>
    +
    41 
    +
    42 namespace grpc {
    +
    43 
    +
    52 class string_ref {
    +
    53  public:
    +
    54  // types
    +
    55  typedef const char* const_iterator;
    +
    56  typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
    +
    57 
    +
    58  // constants
    +
    59  const static size_t npos = size_t(-1);
    +
    60 
    +
    61  // construct/copy.
    +
    62  string_ref() : data_(nullptr), length_(0) {}
    +
    63  string_ref(const string_ref& other)
    +
    64  : data_(other.data_), length_(other.length_) {}
    +
    65  string_ref& operator=(const string_ref& rhs);
    +
    66  string_ref(const char* s);
    +
    67  string_ref(const char* s, size_t l) : data_(s), length_(l) {}
    +
    68  string_ref(const grpc::string& s) : data_(s.data()), length_(s.length()) {}
    +
    69 
    +
    70  // iterators
    +
    71  const_iterator begin() const { return data_; }
    +
    72  const_iterator end() const { return data_ + length_; }
    +
    73  const_iterator cbegin() const { return data_; }
    +
    74  const_iterator cend() const { return data_ + length_; }
    + +
    76  return const_reverse_iterator(end());
    +
    77  }
    + +
    79  return const_reverse_iterator(begin());
    +
    80  }
    + +
    82  return const_reverse_iterator(end());
    +
    83  }
    + +
    85  return const_reverse_iterator(begin());
    +
    86  }
    +
    87 
    +
    88  // capacity
    +
    89  size_t size() const { return length_; }
    +
    90  size_t length() const { return length_; }
    +
    91  size_t max_size() const { return length_; }
    +
    92  bool empty() const { return length_ == 0; }
    +
    93 
    +
    94  // element access
    +
    95  const char* data() const { return data_; }
    +
    96 
    +
    97  // string operations
    +
    98  int compare(string_ref x) const;
    +
    99  bool starts_with(string_ref x) const;
    +
    100  bool ends_with(string_ref x) const;
    +
    101  size_t find(string_ref s) const;
    +
    102  size_t find(char c) const;
    +
    103 
    +
    104  string_ref substr(size_t pos, size_t n = npos) const;
    +
    105 
    +
    106  private:
    +
    107  const char* data_;
    +
    108  size_t length_;
    +
    109 };
    +
    110 
    +
    111 // Comparison operators
    +
    112 bool operator==(string_ref x, string_ref y);
    +
    113 bool operator!=(string_ref x, string_ref y);
    +
    114 bool operator<(string_ref x, string_ref y);
    +
    115 bool operator>(string_ref x, string_ref y);
    +
    116 bool operator<=(string_ref x, string_ref y);
    +
    117 bool operator>=(string_ref x, string_ref y);
    +
    118 
    +
    119 std::ostream& operator<<(std::ostream& stream, const string_ref& string);
    +
    120 
    +
    121 } // namespace grpc
    +
    122 
    +
    123 #endif // GRPCXX_SUPPORT_STRING_REF_H
    +
    size_t max_size() const
    Definition: string_ref.h:91
    +
    const_iterator cend() const
    Definition: string_ref.h:74
    +
    const_reverse_iterator crend() const
    Definition: string_ref.h:84
    +
    const_iterator cbegin() const
    Definition: string_ref.h:73
    +
    std::string string
    Definition: config.h:112
    +
    string_ref & operator=(const string_ref &rhs)
    Definition: string_ref.cc:45
    +
    size_t size() const
    Definition: string_ref.h:89
    +
    string_ref(const string_ref &other)
    Definition: string_ref.h:63
    +
    size_t find(string_ref s) const
    Definition: string_ref.cc:78
    +
    const_reverse_iterator crbegin() const
    Definition: string_ref.h:81
    +
    const char * const_iterator
    Definition: string_ref.h:55
    +
    const_reverse_iterator rbegin() const
    Definition: string_ref.h:75
    + +
    string_ref(const char *s, size_t l)
    Definition: string_ref.h:67
    +
    string_ref(const grpc::string &s)
    Definition: string_ref.h:68
    +
    const char * data() const
    Definition: string_ref.h:95
    +
    const_iterator end() const
    Definition: string_ref.h:72
    +
    string_ref()
    Definition: string_ref.h:62
    +
    bool operator<(string_ref x, string_ref y)
    Definition: string_ref.cc:96
    +
    static const size_t npos
    Definition: string_ref.h:59
    +
    bool operator<=(string_ref x, string_ref y)
    Definition: string_ref.cc:100
    +
    bool operator>(string_ref x, string_ref y)
    Definition: string_ref.cc:104
    +
    const_reverse_iterator rend() const
    Definition: string_ref.h:78
    +
    This class is a non owning reference to a string.
    Definition: string_ref.h:52
    +
    bool starts_with(string_ref x) const
    Definition: string_ref.cc:69
    +
    bool empty() const
    Definition: string_ref.h:92
    +
    bool operator==(string_ref x, string_ref y)
    Definition: string_ref.cc:88
    +
    bool ends_with(string_ref x) const
    Definition: string_ref.cc:73
    +
    std::reverse_iterator< const_iterator > const_reverse_iterator
    Definition: string_ref.h:56
    +
    const_iterator begin() const
    Definition: string_ref.h:71
    +
    bool operator!=(string_ref x, string_ref y)
    Definition: string_ref.cc:92
    +
    string_ref substr(size_t pos, size_t n=npos) const
    Definition: string_ref.cc:53
    +
    bool operator>=(string_ref x, string_ref y)
    Definition: string_ref.cc:108
    +
    std::ostream & operator<<(std::ostream &stream, const string_ref &string)
    Definition: string_ref.cc:112
    +
    int compare(string_ref x) const
    Definition: string_ref.cc:59
    +
    size_t length() const
    Definition: string_ref.h:90
    +
    + + + + diff --git a/doc/ref/c++.internal/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html b/doc/ref/c++.internal/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html index 9c02cb3b2b6..78c25692b28 100644 --- a/doc/ref/c++.internal/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html +++ b/doc/ref/c++.internal/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -215,7 +215,7 @@ Data Fields diff --git a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_credentials_options.html b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_credentials_options.html index 2a6e8bacafa..720c870534b 100644 --- a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_credentials_options.html +++ b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_credentials_options.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,18 +94,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    Options used to build SslCredentials. + More...

    +

    #include <credentials.h>

    + + +

    Data Fields

    grpc::string pem_root_certs
     The buffer containing the PEM encoding of the server root certificates. More...
     
    grpc::string pem_private_key
     The buffer containing the PEM encoding of the client's private key. More...
     
    grpc::string pem_cert_chain
     The buffer containing the PEM encoding of the client's certificate chain. More...
     
    -

    Field Documentation

    +

    Detailed Description

    +

    Options used to build SslCredentials.

    +

    Field Documentation

    @@ -116,6 +124,9 @@ Data Fields
    +

    The buffer containing the PEM encoding of the client's certificate chain.

    +

    This parameter can be empty if the client does not have a certificate chain.

    +
    @@ -128,6 +139,9 @@ Data Fields
    +

    The buffer containing the PEM encoding of the client's private key.

    +

    This parameter can be empty if the client does not have a private key.

    +
    @@ -140,15 +154,18 @@ Data Fields
    +

    The buffer containing the PEM encoding of the server root certificates.

    +

    If this parameter is empty, the default roots will be used. The default roots can be overridden using the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable pointing to a file on the file system containing the roots.

    +

    The documentation for this struct was generated from the following file: diff --git a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options.html b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options.html index beee9920529..a9b3778e81a 100644 --- a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options.html +++ b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -96,6 +96,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    Options to create ServerCredentials with SSL. + More...

    +

    #include <server_credentials.h>

    @@ -117,7 +120,9 @@ Data Fields

    bool force_client_auth
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    Options to create ServerCredentials with SSL.

    +

    Constructor & Destructor Documentation

    @@ -179,12 +184,12 @@ Data Fields

    The documentation for this struct was generated from the following file:
    diff --git a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html index 11c5daa23cf..96fb4c92b70 100644 --- a/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html +++ b/doc/ref/c++.internal/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -129,12 +129,12 @@ Data Fields
    The documentation for this struct was generated from the following file: diff --git a/doc/ref/c++/html/channel__interface_8h.html b/doc/ref/c++.internal/html/stub__options_8h.html similarity index 89% rename from doc/ref/c++/html/channel__interface_8h.html rename to doc/ref/c++.internal/html/stub__options_8h.html index 87110d00afb..bf8ba964703 100644 --- a/doc/ref/c++/html/channel__interface_8h.html +++ b/doc/ref/c++.internal/html/stub__options_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_interface.h File Reference +GRPC C++: include/grpc++/support/stub_options.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -89,18 +89,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
    -
    channel_interface.h File Reference
    +
    stub_options.h File Reference
    -
    #include <memory>
    -#include <grpc++/status.h>
    -#include <grpc++/impl/call.h>
    -
    -

    Go to the source code of this file.

    + +

    Go to the source code of this file.

    - +

    Data Structures

    class  grpc::ChannelInterface
    class  grpc::StubOptions
     
    diff --git a/doc/ref/core.internal/html/httpcli__security__connector_8h_source.html b/doc/ref/c++.internal/html/stub__options_8h_source.html similarity index 68% rename from doc/ref/core.internal/html/httpcli__security__connector_8h_source.html rename to doc/ref/c++.internal/html/stub__options_8h_source.html index c97470c72de..5f2a037ac00 100644 --- a/doc/ref/core.internal/html/httpcli__security__connector_8h_source.html +++ b/doc/ref/c++.internal/html/stub__options_8h_source.html @@ -4,7 +4,7 @@ -GRPC Core: src/core/httpcli/httpcli_security_connector.h Source File +GRPC C++: include/grpc++/support/stub_options.h Source File @@ -22,8 +22,8 @@ @@ -38,6 +38,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    @@ -80,15 +81,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    httpcli_security_connector.h
    +
    stub_options.h
    -Go to the documentation of this file.
    1 /*
    +Go to the documentation of this file.
    1 /*
    2  *
    3  * Copyright 2015, Google Inc.
    4  * All rights reserved.
    @@ -121,24 +122,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONNECTOR_H
    -
    35 #define GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONNECTOR_H
    +
    34 #ifndef GRPCXX_SUPPORT_STUB_OPTIONS_H
    +
    35 #define GRPCXX_SUPPORT_STUB_OPTIONS_H
    36 
    - +
    37 namespace grpc {
    38 
    - -
    40  const unsigned char *pem_root_certs, size_t pem_root_certs_size,
    -
    41  const char *secure_peer_name, grpc_channel_security_connector **sc);
    +
    39 class StubOptions {};
    +
    40 
    +
    41 } // namespace grpc
    42 
    -
    43 #endif /* GRPC_INTERNAL_CORE_HTTPCLI_HTTPCLI_SECURITY_CONNECTOR_H */
    -
    grpc_security_status grpc_httpcli_ssl_channel_security_connector_create(const unsigned char *pem_root_certs, size_t pem_root_certs_size, const char *secure_peer_name, grpc_channel_security_connector **sc)
    Definition: httpcli_security_connector.c:99
    - -
    Definition: security_connector.h:135
    -
    grpc_security_status
    Definition: security_connector.h:43
    +
    43 #endif // GRPCXX_SUPPORT_STUB_OPTIONS_H
    +
    Definition: stub_options.h:39
    diff --git a/doc/ref/c++.internal/html/sync_8h.html b/doc/ref/c++.internal/html/sync_8h.html index 9b832de5fa7..be011af5c99 100644 --- a/doc/ref/c++.internal/html/sync_8h.html +++ b/doc/ref/c++.internal/html/sync_8h.html @@ -23,7 +23,7 @@
    @@ -89,14 +89,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    sync.h File Reference
    - diff --git a/doc/ref/c++.internal/html/sync_8h_source.html b/doc/ref/c++.internal/html/sync_8h_source.html index 54a43937721..13e52dc71c1 100644 --- a/doc/ref/c++.internal/html/sync_8h_source.html +++ b/doc/ref/c++.internal/html/sync_8h_source.html @@ -23,7 +23,7 @@
    @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_SYNC_H
    35 #define GRPCXX_IMPL_SYNC_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 #ifdef GRPC_CXX0X_NO_THREAD
    @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/sync__cxx11_8h.html b/doc/ref/c++.internal/html/sync__cxx11_8h.html index 187f053029a..16a02c257ce 100644 --- a/doc/ref/c++.internal/html/sync__cxx11_8h.html +++ b/doc/ref/c++.internal/html/sync__cxx11_8h.html @@ -23,7 +23,7 @@ @@ -104,7 +104,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/sync__cxx11_8h_source.html b/doc/ref/c++.internal/html/sync__cxx11_8h_source.html index 80b4ce7915f..c735ff6517b 100644 --- a/doc/ref/c++.internal/html/sync__cxx11_8h_source.html +++ b/doc/ref/c++.internal/html/sync__cxx11_8h_source.html @@ -23,7 +23,7 @@ @@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/sync__no__cxx11_8h.html b/doc/ref/c++.internal/html/sync__no__cxx11_8h.html index 4d940f7a5fb..bcae5ba7a27 100644 --- a/doc/ref/c++.internal/html/sync__no__cxx11_8h.html +++ b/doc/ref/c++.internal/html/sync__no__cxx11_8h.html @@ -23,7 +23,7 @@ @@ -117,7 +117,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/sync__no__cxx11_8h_source.html b/doc/ref/c++.internal/html/sync__no__cxx11_8h_source.html index ad7bbce584b..3061977ddb6 100644 --- a/doc/ref/c++.internal/html/sync__no__cxx11_8h_source.html +++ b/doc/ref/c++.internal/html/sync__no__cxx11_8h_source.html @@ -23,7 +23,7 @@ @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    38 
    39 namespace grpc {
    40 
    -
    41 template<class mutex>
    +
    41 template <class mutex>
    42 class lock_guard;
    43 class condition_variable;
    44 
    @@ -137,81 +137,85 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    46  public:
    47  mutex() { gpr_mu_init(&mu_); }
    48  ~mutex() { gpr_mu_destroy(&mu_); }
    -
    49  private:
    -
    50  ::gpr_mu mu_;
    -
    51  template <class mutex>
    -
    52  friend class lock_guard;
    -
    53  friend class condition_variable;
    -
    54 };
    -
    55 
    -
    56 template <class mutex>
    -
    57 class lock_guard {
    -
    58  public:
    -
    59  lock_guard(mutex &mu) : mu_(mu), locked(true) { gpr_mu_lock(&mu.mu_); }
    - -
    61  protected:
    -
    62  void lock_internal() {
    -
    63  if (!locked) gpr_mu_lock(&mu_.mu_);
    -
    64  locked = true;
    -
    65  }
    -
    66  void unlock_internal() {
    -
    67  if (locked) gpr_mu_unlock(&mu_.mu_);
    -
    68  locked = false;
    -
    69  }
    -
    70  private:
    -
    71  mutex &mu_;
    -
    72  bool locked;
    -
    73  friend class condition_variable;
    -
    74 };
    -
    75 
    -
    76 template <class mutex>
    -
    77 class unique_lock : public lock_guard<mutex> {
    -
    78  public:
    - -
    80  void lock() { this->lock_internal(); }
    -
    81  void unlock() { this->unlock_internal(); }
    -
    82 };
    -
    83 
    - -
    85  public:
    -
    86  condition_variable() { gpr_cv_init(&cv_); }
    -
    87  ~condition_variable() { gpr_cv_destroy(&cv_); }
    -
    88  void wait(lock_guard<mutex> &mu) {
    -
    89  mu.locked = false;
    -
    90  gpr_cv_wait(&cv_, &mu.mu_.mu_, gpr_inf_future(GPR_CLOCK_REALTIME));
    -
    91  mu.locked = true;
    -
    92  }
    -
    93  void notify_one() { gpr_cv_signal(&cv_); }
    -
    94  void notify_all() { gpr_cv_broadcast(&cv_); }
    -
    95  private:
    -
    96  gpr_cv cv_;
    -
    97 };
    +
    49 
    +
    50  private:
    +
    51  ::gpr_mu mu_;
    +
    52  template <class mutex>
    +
    53  friend class lock_guard;
    +
    54  friend class condition_variable;
    +
    55 };
    +
    56 
    +
    57 template <class mutex>
    +
    58 class lock_guard {
    +
    59  public:
    +
    60  lock_guard(mutex &mu) : mu_(mu), locked(true) { gpr_mu_lock(&mu.mu_); }
    + +
    62 
    +
    63  protected:
    +
    64  void lock_internal() {
    +
    65  if (!locked) gpr_mu_lock(&mu_.mu_);
    +
    66  locked = true;
    +
    67  }
    +
    68  void unlock_internal() {
    +
    69  if (locked) gpr_mu_unlock(&mu_.mu_);
    +
    70  locked = false;
    +
    71  }
    +
    72 
    +
    73  private:
    +
    74  mutex &mu_;
    +
    75  bool locked;
    +
    76  friend class condition_variable;
    +
    77 };
    +
    78 
    +
    79 template <class mutex>
    +
    80 class unique_lock : public lock_guard<mutex> {
    +
    81  public:
    + +
    83  void lock() { this->lock_internal(); }
    +
    84  void unlock() { this->unlock_internal(); }
    +
    85 };
    +
    86 
    + +
    88  public:
    +
    89  condition_variable() { gpr_cv_init(&cv_); }
    +
    90  ~condition_variable() { gpr_cv_destroy(&cv_); }
    +
    91  void wait(lock_guard<mutex> &mu) {
    +
    92  mu.locked = false;
    +
    93  gpr_cv_wait(&cv_, &mu.mu_.mu_, gpr_inf_future(GPR_CLOCK_REALTIME));
    +
    94  mu.locked = true;
    +
    95  }
    +
    96  void notify_one() { gpr_cv_signal(&cv_); }
    +
    97  void notify_all() { gpr_cv_broadcast(&cv_); }
    98 
    -
    99 } // namespace grpc
    -
    100 
    -
    101 #endif // GRPCXX_IMPL_SYNC_NO_CXX11_H
    +
    99  private:
    +
    100  gpr_cv cv_;
    +
    101 };
    +
    102 
    +
    103 } // namespace grpc
    +
    104 
    +
    105 #endif // GRPCXX_IMPL_SYNC_NO_CXX11_H
    Definition: sync_no_cxx11.h:45
    -
    void unlock_internal()
    Definition: sync_no_cxx11.h:66
    -
    void lock_internal()
    Definition: sync_no_cxx11.h:62
    -
    Definition: sync_no_cxx11.h:84
    -
    ~condition_variable()
    Definition: sync_no_cxx11.h:87
    -
    ~lock_guard()
    Definition: sync_no_cxx11.h:60
    -
    void notify_all()
    Definition: sync_no_cxx11.h:94
    +
    void unlock_internal()
    Definition: sync_no_cxx11.h:68
    +
    void lock_internal()
    Definition: sync_no_cxx11.h:64
    +
    Definition: sync_no_cxx11.h:87
    +
    ~condition_variable()
    Definition: sync_no_cxx11.h:90
    +
    ~lock_guard()
    Definition: sync_no_cxx11.h:61
    +
    void notify_all()
    Definition: sync_no_cxx11.h:97
    mutex()
    Definition: sync_no_cxx11.h:47
    -
    void notify_one()
    Definition: sync_no_cxx11.h:93
    -
    void unlock()
    Definition: sync_no_cxx11.h:81
    -
    lock_guard(mutex &mu)
    Definition: sync_no_cxx11.h:59
    -
    void lock()
    Definition: sync_no_cxx11.h:80
    +
    void notify_one()
    Definition: sync_no_cxx11.h:96
    +
    void unlock()
    Definition: sync_no_cxx11.h:84
    +
    lock_guard(mutex &mu)
    Definition: sync_no_cxx11.h:60
    +
    void lock()
    Definition: sync_no_cxx11.h:83
    ~mutex()
    Definition: sync_no_cxx11.h:48
    Definition: sync_no_cxx11.h:42
    -
    condition_variable()
    Definition: sync_no_cxx11.h:86
    -
    Definition: sync_no_cxx11.h:77
    -
    unique_lock(mutex &mu)
    Definition: sync_no_cxx11.h:79
    -
    void wait(lock_guard< mutex > &mu)
    Definition: sync_no_cxx11.h:88
    +
    condition_variable()
    Definition: sync_no_cxx11.h:89
    +
    Definition: sync_no_cxx11.h:80
    +
    unique_lock(mutex &mu)
    Definition: sync_no_cxx11.h:82
    +
    void wait(lock_guard< mutex > &mu)
    Definition: sync_no_cxx11.h:91
    diff --git a/doc/ref/c++.internal/html/sync__stream_8h.html b/doc/ref/c++.internal/html/sync__stream_8h.html new file mode 100644 index 00000000000..fcc80e8d860 --- /dev/null +++ b/doc/ref/c++.internal/html/sync__stream_8h.html @@ -0,0 +1,153 @@ + + + + + + +GRPC C++: include/grpc++/support/sync_stream.h File Reference + + + + + + + + + +
    +
    +

    @@ -111,7 +108,7 @@ Namespaces

    -
    GRPC Core -  0.10.0.0 +
    GRPC C++ +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + +
    + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    + + +
    + +
    + + + +
    + +
    +
    sync_stream.h File Reference
    +
    +
    +
    #include <grpc/support/log.h>
    +#include <grpc++/channel.h>
    +#include <grpc++/client_context.h>
    +#include <grpc++/completion_queue.h>
    +#include <grpc++/impl/call.h>
    +#include <grpc++/impl/service_type.h>
    +#include <grpc++/server_context.h>
    +#include <grpc++/support/status.h>
    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Data Structures

    class  grpc::ClientStreamingInterface
     Common interface for all synchronous client side streaming. More...
     
    class  grpc::ReaderInterface< R >
     An interface that yields a sequence of messages of type R. More...
     
    class  grpc::WriterInterface< W >
     An interface that can be fed a sequence of messages of type W. More...
     
    class  grpc::ClientReaderInterface< R >
     Client-side interface for streaming reads of message of type R. More...
     
    class  grpc::ClientReader< R >
     
    class  grpc::ClientWriterInterface< W >
     Client-side interface for streaming writes of message of type W. More...
     
    class  grpc::ClientWriter< W >
     
    class  grpc::ClientReaderWriterInterface< W, R >
     Client-side interface for bi-directional streaming. More...
     
    class  grpc::ClientReaderWriter< R, W >
     
    class  grpc::ServerReader< R >
     
    class  grpc::ServerWriter< W >
     
    class  grpc::ServerReaderWriter< R, W >
     Server-side interface for bi-directional streaming. More...
     
    + + + +

    +Namespaces

     grpc
     
    +
    + + + + diff --git a/doc/ref/c++.internal/html/sync__stream_8h_source.html b/doc/ref/c++.internal/html/sync__stream_8h_source.html new file mode 100644 index 00000000000..51a2dab0fa5 --- /dev/null +++ b/doc/ref/c++.internal/html/sync__stream_8h_source.html @@ -0,0 +1,529 @@ + + + + + + +GRPC C++: include/grpc++/support/sync_stream.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    sync_stream.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    35 #define GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    36 
    +
    37 #include <grpc/support/log.h>
    +
    38 #include <grpc++/channel.h>
    +
    39 #include <grpc++/client_context.h>
    + +
    41 #include <grpc++/impl/call.h>
    + +
    43 #include <grpc++/server_context.h>
    +
    44 #include <grpc++/support/status.h>
    +
    45 
    +
    46 namespace grpc {
    +
    47 
    + +
    50  public:
    + +
    52 
    +
    63  virtual Status Finish() = 0;
    +
    64 };
    +
    65 
    +
    67 template <class R>
    + +
    69  public:
    +
    70  virtual ~ReaderInterface() {}
    +
    71 
    +
    79  virtual bool Read(R* msg) = 0;
    +
    80 };
    +
    81 
    +
    83 template <class W>
    + +
    85  public:
    +
    86  virtual ~WriterInterface() {}
    +
    87 
    +
    94  virtual bool Write(const W& msg, const WriteOptions& options) = 0;
    +
    95 
    +
    101  inline bool Write(const W& msg) { return Write(msg, WriteOptions()); }
    +
    102 };
    +
    103 
    +
    105 template <class R>
    + +
    107  public ReaderInterface<R> {
    +
    108  public:
    +
    113  virtual void WaitForInitialMetadata() = 0;
    +
    114 };
    +
    115 
    +
    116 template <class R>
    + +
    118  public:
    +
    120  template <class W>
    +
    121  ClientReader(Channel* channel, const RpcMethod& method,
    +
    122  ClientContext* context, const W& request)
    +
    123  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    + + +
    126  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    127  // TODO(ctiller): don't assert
    +
    128  GPR_ASSERT(ops.SendMessage(request).ok());
    +
    129  ops.ClientSendClose();
    +
    130  call_.PerformOps(&ops);
    +
    131  cq_.Pluck(&ops);
    +
    132  }
    +
    133 
    + +
    135  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    136 
    + +
    138  ops.RecvInitialMetadata(context_);
    +
    139  call_.PerformOps(&ops);
    +
    140  cq_.Pluck(&ops);
    +
    141  }
    +
    142 
    +
    143  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    145  if (!context_->initial_metadata_received_) {
    +
    146  ops.RecvInitialMetadata(context_);
    +
    147  }
    +
    148  ops.RecvMessage(msg);
    +
    149  call_.PerformOps(&ops);
    +
    150  return cq_.Pluck(&ops) && ops.got_message;
    +
    151  }
    +
    152 
    + + +
    155  Status status;
    +
    156  ops.ClientRecvStatus(context_, &status);
    +
    157  call_.PerformOps(&ops);
    +
    158  GPR_ASSERT(cq_.Pluck(&ops));
    +
    159  return status;
    +
    160  }
    +
    161 
    +
    162  private:
    +
    163  ClientContext* context_;
    +
    164  CompletionQueue cq_;
    +
    165  Call call_;
    +
    166 };
    +
    167 
    +
    169 template <class W>
    + +
    171  public WriterInterface<W> {
    +
    172  public:
    +
    177  virtual bool WritesDone() = 0;
    +
    178 };
    +
    179 
    +
    180 template <class W>
    +
    181 class ClientWriter : public ClientWriterInterface<W> {
    +
    182  public:
    +
    184  template <class R>
    +
    185  ClientWriter(Channel* channel, const RpcMethod& method,
    +
    186  ClientContext* context, R* response)
    +
    187  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    +
    188  finish_ops_.RecvMessage(response);
    +
    189 
    + +
    191  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    192  call_.PerformOps(&ops);
    +
    193  cq_.Pluck(&ops);
    +
    194  }
    +
    195 
    + +
    197  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    199  if (!ops.SendMessage(msg, options).ok()) {
    +
    200  return false;
    +
    201  }
    +
    202  call_.PerformOps(&ops);
    +
    203  return cq_.Pluck(&ops);
    +
    204  }
    +
    205 
    + + +
    208  ops.ClientSendClose();
    +
    209  call_.PerformOps(&ops);
    +
    210  return cq_.Pluck(&ops);
    +
    211  }
    +
    212 
    + +
    215  Status status;
    +
    216  finish_ops_.ClientRecvStatus(context_, &status);
    +
    217  call_.PerformOps(&finish_ops_);
    +
    218  GPR_ASSERT(cq_.Pluck(&finish_ops_));
    +
    219  return status;
    +
    220  }
    +
    221 
    +
    222  private:
    +
    223  ClientContext* context_;
    + +
    225  CompletionQueue cq_;
    +
    226  Call call_;
    +
    227 };
    +
    228 
    +
    230 template <class W, class R>
    + +
    232  public WriterInterface<W>,
    +
    233  public ReaderInterface<R> {
    +
    234  public:
    +
    239  virtual void WaitForInitialMetadata() = 0;
    +
    240 
    +
    244  virtual bool WritesDone() = 0;
    +
    245 };
    +
    246 
    +
    247 template <class W, class R>
    + +
    249  public:
    +
    251  ClientReaderWriter(Channel* channel, const RpcMethod& method,
    +
    252  ClientContext* context)
    +
    253  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    + +
    255  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    256  call_.PerformOps(&ops);
    +
    257  cq_.Pluck(&ops);
    +
    258  }
    +
    259 
    + +
    261  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    262 
    + +
    264  ops.RecvInitialMetadata(context_);
    +
    265  call_.PerformOps(&ops);
    +
    266  cq_.Pluck(&ops); // status ignored
    +
    267  }
    +
    268 
    +
    269  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    271  if (!context_->initial_metadata_received_) {
    +
    272  ops.RecvInitialMetadata(context_);
    +
    273  }
    +
    274  ops.RecvMessage(msg);
    +
    275  call_.PerformOps(&ops);
    +
    276  return cq_.Pluck(&ops) && ops.got_message;
    +
    277  }
    +
    278 
    + +
    280  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    282  if (!ops.SendMessage(msg, options).ok()) return false;
    +
    283  call_.PerformOps(&ops);
    +
    284  return cq_.Pluck(&ops);
    +
    285  }
    +
    286 
    + + +
    289  ops.ClientSendClose();
    +
    290  call_.PerformOps(&ops);
    +
    291  return cq_.Pluck(&ops);
    +
    292  }
    +
    293 
    + + +
    296  Status status;
    +
    297  ops.ClientRecvStatus(context_, &status);
    +
    298  call_.PerformOps(&ops);
    +
    299  GPR_ASSERT(cq_.Pluck(&ops));
    +
    300  return status;
    +
    301  }
    +
    302 
    +
    303  private:
    +
    304  ClientContext* context_;
    +
    305  CompletionQueue cq_;
    +
    306  Call call_;
    +
    307 };
    +
    308 
    +
    309 template <class R>
    +
    310 class ServerReader GRPC_FINAL : public ReaderInterface<R> {
    +
    311  public:
    +
    312  ServerReader(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    313 
    + +
    315  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    316 
    + +
    318  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    319  ctx_->sent_initial_metadata_ = true;
    +
    320  call_->PerformOps(&ops);
    +
    321  call_->cq()->Pluck(&ops);
    +
    322  }
    +
    323 
    +
    324  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    326  ops.RecvMessage(msg);
    +
    327  call_->PerformOps(&ops);
    +
    328  return call_->cq()->Pluck(&ops) && ops.got_message;
    +
    329  }
    +
    330 
    +
    331  private:
    +
    332  Call* const call_;
    +
    333  ServerContext* const ctx_;
    +
    334 };
    +
    335 
    +
    336 template <class W>
    +
    337 class ServerWriter GRPC_FINAL : public WriterInterface<W> {
    +
    338  public:
    +
    339  ServerWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    340 
    + +
    342  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    343 
    + +
    345  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    346  ctx_->sent_initial_metadata_ = true;
    +
    347  call_->PerformOps(&ops);
    +
    348  call_->cq()->Pluck(&ops);
    +
    349  }
    +
    350 
    + +
    352  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    354  if (!ops.SendMessage(msg, options).ok()) {
    +
    355  return false;
    +
    356  }
    +
    357  if (!ctx_->sent_initial_metadata_) {
    +
    358  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    359  ctx_->sent_initial_metadata_ = true;
    +
    360  }
    +
    361  call_->PerformOps(&ops);
    +
    362  return call_->cq()->Pluck(&ops);
    +
    363  }
    +
    364 
    +
    365  private:
    +
    366  Call* const call_;
    +
    367  ServerContext* const ctx_;
    +
    368 };
    +
    369 
    +
    371 template <class W, class R>
    +
    372 class ServerReaderWriter GRPC_FINAL : public WriterInterface<W>,
    +
    373  public ReaderInterface<R> {
    +
    374  public:
    +
    375  ServerReaderWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    376 
    + +
    378  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    379 
    + +
    381  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    382  ctx_->sent_initial_metadata_ = true;
    +
    383  call_->PerformOps(&ops);
    +
    384  call_->cq()->Pluck(&ops);
    +
    385  }
    +
    386 
    +
    387  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    389  ops.RecvMessage(msg);
    +
    390  call_->PerformOps(&ops);
    +
    391  return call_->cq()->Pluck(&ops) && ops.got_message;
    +
    392  }
    +
    393 
    + +
    395  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    397  if (!ops.SendMessage(msg, options).ok()) {
    +
    398  return false;
    +
    399  }
    +
    400  if (!ctx_->sent_initial_metadata_) {
    +
    401  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    402  ctx_->sent_initial_metadata_ = true;
    +
    403  }
    +
    404  call_->PerformOps(&ops);
    +
    405  return call_->cq()->Pluck(&ops);
    +
    406  }
    +
    407 
    +
    408  private:
    +
    409  Call* const call_;
    +
    410  ServerContext* const ctx_;
    +
    411 };
    +
    412 
    +
    413 } // namespace grpc
    +
    414 
    +
    415 #endif // GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    Definition: channel.h:54
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:269
    +
    Client-side interface for streaming writes of message of type W.
    Definition: sync_stream.h:170
    +
    ClientReaderWriter(Channel *channel, const RpcMethod &method, ClientContext *context)
    Blocking create a stream.
    Definition: sync_stream.h:251
    +
    virtual void WaitForInitialMetadata()=0
    Blocking wait for initial metadata from server.
    + +
    CompletionQueue * cq()
    Definition: call.h:570
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:377
    +
    Client-side interface for streaming reads of message of type R.
    Definition: sync_stream.h:106
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:341
    +
    ServerReaderWriter(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:375
    +
    An interface that yields a sequence of messages of type R.
    Definition: sync_stream.h:68
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:314
    +
    virtual ~ReaderInterface()
    Definition: sync_stream.h:70
    +
    #define GRPC_FINAL
    Definition: config.h:71
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:352
    +
    Status Finish() GRPC_OVERRIDE
    Wait until the stream finishes, and return the final status.
    Definition: sync_stream.h:153
    +
    Definition: client_context.h:149
    +
    Status Finish() GRPC_OVERRIDE
    Wait until the stream finishes, and return the final status.
    Definition: sync_stream.h:294
    +
    Definition: call.h:179
    +
    ServerReader(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:312
    + +
    bool WritesDone() GRPC_OVERRIDE
    Half close writing from the client.
    Definition: sync_stream.h:206
    +
    ClientWriter(Channel *channel, const RpcMethod &method, ClientContext *context, R *response)
    Blocking create a stream.
    Definition: sync_stream.h:185
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:197
    +
    Definition: call.h:333
    +
    virtual ~ClientStreamingInterface()
    Definition: sync_stream.h:51
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:387
    +
    Status Finish() GRPC_OVERRIDE
    Read the final response and wait for the final status.
    Definition: sync_stream.h:214
    +
    Definition: call.h:560
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:143
    +
    virtual bool WritesDone()=0
    Half close writing from the client.
    + +
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:502
    +
    void ClientSendClose()
    Definition: call.h:337
    +
    Definition: server_context.h:89
    +
    Per-message write options.
    Definition: call.h:64
    +
    virtual void WaitForInitialMetadata()=0
    Blocking wait for initial metadata from server.
    +
    virtual bool WritesDone()=0
    Block until writes are completed.
    +
    bool Write(const W &msg)
    Blocking write msg to the stream with default options.
    Definition: sync_stream.h:101
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    + +
    Definition: rpc_method.h:43
    +
    virtual Status Finish()=0
    Wait until the stream finishes, and return the final status.
    + +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:395
    +
    void PerformOps(CallOpSetInterface *ops)
    Definition: call.cc:85
    +
    An interface that can be fed a sequence of messages of type W.
    Definition: sync_stream.h:84
    + +
    Client-side interface for bi-directional streaming.
    Definition: sync_stream.h:231
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    virtual bool Read(R *msg)=0
    Blocking read a message and parse to msg.
    +
    Common interface for all synchronous client side streaming.
    Definition: sync_stream.h:49
    +
    ClientReader(Channel *channel, const RpcMethod &method, ClientContext *context, const W &request)
    Blocking create a stream and write the first request out.
    Definition: sync_stream.h:121
    +
    ServerWriter(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:339
    +
    Definition: call.h:147
    +
    void WaitForInitialMetadata()
    Blocking wait for initial metadata from server.
    Definition: sync_stream.h:260
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:324
    +
    virtual bool Write(const W &msg, const WriteOptions &options)=0
    Blocking write msg to the stream with options.
    +
    Definition: channel.h:58
    +
    void WaitForInitialMetadata()
    Blocking wait for initial metadata from server.
    Definition: sync_stream.h:134
    +
    #define GRPC_OVERRIDE
    Definition: config.h:77
    +
    Definition: channel.h:56
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:280
    +
    virtual ~WriterInterface()
    Definition: sync_stream.h:86
    + +
    bool WritesDone() GRPC_OVERRIDE
    Block until writes are completed.
    Definition: sync_stream.h:287
    +
    Channels represent a connection to an endpoint. Created by CreateChannel.
    Definition: channel.h:69
    +
    + + + + diff --git a/doc/ref/c++.internal/html/thd_8h.html b/doc/ref/c++.internal/html/thd_8h.html index 2daadbf14b3..47c1e337af5 100644 --- a/doc/ref/c++.internal/html/thd_8h.html +++ b/doc/ref/c++.internal/html/thd_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -89,14 +89,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    thd.h File Reference
    - diff --git a/doc/ref/c++.internal/html/thd_8h_source.html b/doc/ref/c++.internal/html/thd_8h_source.html index 1a4fa2552c2..b0991443344 100644 --- a/doc/ref/c++.internal/html/thd_8h_source.html +++ b/doc/ref/c++.internal/html/thd_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_THD_H
    35 #define GRPCXX_IMPL_THD_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 #ifdef GRPC_CXX0X_NO_THREAD
    @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++.internal/html/thd__cxx11_8h.html b/doc/ref/c++.internal/html/thd__cxx11_8h.html index 1914b1c1be4..6f90b44a54b 100644 --- a/doc/ref/c++.internal/html/thd__cxx11_8h.html +++ b/doc/ref/c++.internal/html/thd__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -103,7 +103,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/thd__cxx11_8h_source.html b/doc/ref/c++.internal/html/thd__cxx11_8h_source.html index d822428b385..5ebcaccb9cf 100644 --- a/doc/ref/c++.internal/html/thd__cxx11_8h_source.html +++ b/doc/ref/c++.internal/html/thd__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++.internal/html/thd__no__cxx11_8h.html b/doc/ref/c++.internal/html/thd__no__cxx11_8h.html index c1bedd61cba..113b03b0f48 100644 --- a/doc/ref/c++.internal/html/thd__no__cxx11_8h.html +++ b/doc/ref/c++.internal/html/thd__no__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -109,7 +109,7 @@ Namespaces diff --git a/doc/ref/c++.internal/html/thd__no__cxx11_8h_source.html b/doc/ref/c++.internal/html/thd__no__cxx11_8h_source.html index 7d86f50d72c..e54c54ade04 100644 --- a/doc/ref/c++.internal/html/thd__no__cxx11_8h_source.html +++ b/doc/ref/c++.internal/html/thd__no__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -131,65 +131,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    40 
    41 class thread {
    42  public:
    -
    43  template<class T> thread(void (T::*fptr)(), T *obj) {
    -
    44  func_ = new thread_function<T>(fptr, obj);
    -
    45  joined_ = false;
    -
    46  start();
    -
    47  }
    -
    48  ~thread() {
    -
    49  if (!joined_) std::terminate();
    -
    50  delete func_;
    -
    51  }
    -
    52  void join() {
    -
    53  gpr_thd_join(thd_);
    -
    54  joined_ = true;
    -
    55  }
    -
    56  private:
    -
    57  void start() {
    -
    58  gpr_thd_options options = gpr_thd_options_default();
    -
    59  gpr_thd_options_set_joinable(&options);
    -
    60  gpr_thd_new(&thd_, thread_func, (void *) func_, &options);
    -
    61  }
    -
    62  static void thread_func(void *arg) {
    -
    63  thread_function_base *func = (thread_function_base *) arg;
    -
    64  func->call();
    -
    65  }
    -
    66  class thread_function_base {
    -
    67  public:
    -
    68  virtual ~thread_function_base() { }
    -
    69  virtual void call() = 0;
    -
    70  };
    -
    71  template<class T>
    -
    72  class thread_function : public thread_function_base {
    -
    73  public:
    -
    74  thread_function(void (T::*fptr)(), T *obj)
    -
    75  : fptr_(fptr)
    -
    76  , obj_(obj) { }
    +
    43  template <class T>
    +
    44  thread(void (T::*fptr)(), T *obj) {
    +
    45  func_ = new thread_function<T>(fptr, obj);
    +
    46  joined_ = false;
    +
    47  start();
    +
    48  }
    +
    49  ~thread() {
    +
    50  if (!joined_) std::terminate();
    +
    51  delete func_;
    +
    52  }
    +
    53  void join() {
    +
    54  gpr_thd_join(thd_);
    +
    55  joined_ = true;
    +
    56  }
    +
    57 
    +
    58  private:
    +
    59  void start() {
    +
    60  gpr_thd_options options = gpr_thd_options_default();
    +
    61  gpr_thd_options_set_joinable(&options);
    +
    62  gpr_thd_new(&thd_, thread_func, (void *)func_, &options);
    +
    63  }
    +
    64  static void thread_func(void *arg) {
    +
    65  thread_function_base *func = (thread_function_base *)arg;
    +
    66  func->call();
    +
    67  }
    +
    68  class thread_function_base {
    +
    69  public:
    +
    70  virtual ~thread_function_base() {}
    +
    71  virtual void call() = 0;
    +
    72  };
    +
    73  template <class T>
    +
    74  class thread_function : public thread_function_base {
    +
    75  public:
    +
    76  thread_function(void (T::*fptr)(), T *obj) : fptr_(fptr), obj_(obj) {}
    77  virtual void call() { (obj_->*fptr_)(); }
    -
    78  private:
    -
    79  void (T::*fptr_)();
    -
    80  T *obj_;
    -
    81  };
    -
    82  thread_function_base *func_;
    -
    83  gpr_thd_id thd_;
    -
    84  bool joined_;
    -
    85 
    -
    86  // Disallow copy and assign.
    -
    87  thread(const thread&);
    -
    88  void operator=(const thread&);
    -
    89 };
    -
    90 
    -
    91 } // namespace grpc
    -
    92 
    -
    93 #endif // GRPCXX_IMPL_THD_NO_CXX11_H
    -
    thread(void(T::*fptr)(), T *obj)
    Definition: thd_no_cxx11.h:43
    -
    void join()
    Definition: thd_no_cxx11.h:52
    +
    78 
    +
    79  private:
    +
    80  void (T::*fptr_)();
    +
    81  T *obj_;
    +
    82  };
    +
    83  thread_function_base *func_;
    +
    84  gpr_thd_id thd_;
    +
    85  bool joined_;
    +
    86 
    +
    87  // Disallow copy and assign.
    +
    88  thread(const thread &);
    +
    89  void operator=(const thread &);
    +
    90 };
    +
    91 
    +
    92 } // namespace grpc
    +
    93 
    +
    94 #endif // GRPCXX_IMPL_THD_NO_CXX11_H
    +
    thread(void(T::*fptr)(), T *obj)
    Definition: thd_no_cxx11.h:44
    +
    void join()
    Definition: thd_no_cxx11.h:53
    Definition: thd_no_cxx11.h:41
    -
    ~thread()
    Definition: thd_no_cxx11.h:48
    +
    ~thread()
    Definition: thd_no_cxx11.h:49
    diff --git a/doc/ref/c++.internal/html/thread__pool__interface_8h.html b/doc/ref/c++.internal/html/thread__pool__interface_8h.html index 641c095d366..5c43e118fa5 100644 --- a/doc/ref/c++.internal/html/thread__pool__interface_8h.html +++ b/doc/ref/c++.internal/html/thread__pool__interface_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/thread_pool_interface.h File Reference +GRPC C++: src/cpp/server/thread_pool_interface.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -115,7 +115,7 @@ Functions
    diff --git a/doc/ref/c++.internal/html/thread__pool__interface_8h_source.html b/doc/ref/c++.internal/html/thread__pool__interface_8h_source.html index af24d8d5b46..8c78841b416 100644 --- a/doc/ref/c++.internal/html/thread__pool__interface_8h_source.html +++ b/doc/ref/c++.internal/html/thread__pool__interface_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/thread_pool_interface.h Source File +GRPC C++: src/cpp/server/thread_pool_interface.h Source File @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,8 +122,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_THREAD_POOL_INTERFACE_H
    -
    35 #define GRPCXX_THREAD_POOL_INTERFACE_H
    +
    34 #ifndef GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
    +
    35 #define GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
    36 
    37 #include <functional>
    38 
    @@ -142,15 +142,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    51 
    52 } // namespace grpc
    53 
    -
    54 #endif // GRPCXX_THREAD_POOL_INTERFACE_H
    +
    54 #endif // GRPC_INTERNAL_CPP_THREAD_POOL_INTERFACE_H
    virtual void Add(const std::function< void()> &callback)=0
    -
    ThreadPoolInterface * CreateDefaultThreadPool()
    Definition: create_default_thread_pool.cc:41
    +
    ThreadPoolInterface * CreateDefaultThreadPool()
    Definition: create_default_thread_pool.cc:42
    Definition: thread_pool_interface.h:42
    virtual ~ThreadPoolInterface()
    Definition: thread_pool_interface.h:44
    diff --git a/doc/ref/c++.internal/html/time_8cc.html b/doc/ref/c++.internal/html/time_8cc.html index 90f2b79beee..f1a8ea818e0 100644 --- a/doc/ref/c++.internal/html/time_8cc.html +++ b/doc/ref/c++.internal/html/time_8cc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,9 +92,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    time.cc File Reference
    -
    #include <grpc++/config.h>
    +
    #include <grpc++/support/config.h>
    #include <grpc/support/time.h>
    -#include <grpc++/time.h>
    +#include <grpc++/support/time.h>
    @@ -113,7 +113,7 @@ Functions diff --git a/doc/ref/c++.internal/html/time_8h.html b/doc/ref/c++.internal/html/time_8h.html index 96aebecb83b..1c2cc1ffc34 100644 --- a/doc/ref/c++.internal/html/time_8h.html +++ b/doc/ref/c++.internal/html/time_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/time.h File Reference +GRPC C++: include/grpc++/support/time.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    time.h File Reference
    -
    #include <grpc++/config.h>
    +
    #include <grpc++/support/config.h>
    #include <chrono>
    #include <grpc/support/time.h>
    @@ -125,7 +125,7 @@ Functions
    diff --git a/doc/ref/c++.internal/html/time_8h_source.html b/doc/ref/c++.internal/html/time_8h_source.html index 383553a7c64..0fa292004dc 100644 --- a/doc/ref/c++.internal/html/time_8h_source.html +++ b/doc/ref/c++.internal/html/time_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/time.h Source File +GRPC C++: include/grpc++/support/time.h Source File @@ -23,7 +23,7 @@
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,10 +122,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_TIME_H
    -
    35 #define GRPCXX_TIME_H
    +
    34 #ifndef GRPCXX_SUPPORT_TIME_H
    +
    35 #define GRPCXX_SUPPORT_TIME_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 namespace grpc {
    40 
    @@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    107 
    108 #endif // !GRPC_CXX0X_NO_CHRONO
    109 
    -
    110 #endif // GRPCXX_TIME_H
    +
    110 #endif // GRPCXX_SUPPORT_TIME_H
    void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
    gpr_timespec raw_time()
    Definition: time.h:56
    @@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++/html/annotated.html b/doc/ref/c++/html/annotated.html index 96de425ef4c..4c13386e2a2 100644 --- a/doc/ref/c++/html/annotated.html +++ b/doc/ref/c++/html/annotated.html @@ -23,7 +23,7 @@ @@ -96,104 +96,105 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
     oNprotobuf
     |\Nio
     oNtesting
     oCGenericServerContext
     oCAsyncGenericService
     oCClientAsyncResponseReaderInterface
     oCClientAsyncResponseReader
     oCServerAsyncResponseWriter
     oCAuthContext
     oCAuthPropertyIterator
     oCByteBuffer
     oCSerializationTraits< ByteBuffer, void >
     oCChannelArguments
     oCChannelInterface
     oCClientReader
     oCClientWriter
     oCClientReaderWriter
     oCClientAsyncReader
     oCClientAsyncWriter
     oCClientAsyncReaderWriter
     oCClientContext
     oCServerReader
     oCServerWriter
     oCServerReaderWriter
     oCRpcMethodHandler
     oCClientStreamingHandler
     oCServerStreamingHandler
     oCBidiStreamingHandler
     oCCompletionQueueTag
     oCCompletionQueue
     oCServerCompletionQueue
     oCCredentials
     oCSslCredentialsOptions
     oCDynamicThreadPool
     oCFixedSizeThreadPool
     oCGenericStub
     oCWriteOptionsPer-message write options
     oCCallNoOpDefault argument for CallOpSet
     oCCallOpSendInitialMetadata
     oCCallOpSendMessage
     oCCallOpRecvMessage
     oCCallOpGenericRecvMessage
     oCCallOpClientSendClose
     oCCallOpServerSendStatus
     oCCallOpRecvInitialMetadata
     oCCallOpClientRecvStatus
     oCCallOpSetInterfaceAn abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API
     oCCallOpSetPrimary implementaiton of CallOpSetInterface
     oCSneakyCallOpSetA CallOpSet that does not post completions to the completion queue
     oCCallHook
     oCCall
     oCGrpcLibrary
     oCInternalStub
     oCSerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
     oCRpcMethod
     oCMethodHandler
     |\CHandlerParameter
     oCRpcServiceMethod
     oCRpcService
     oCSerializationTraitsDefines how to serialize and deserialize some type
     oCSynchronousService
     oCServerAsyncStreamingInterface
     oCAsynchronousService
     oClock_guard
     oCmutex
     oCunique_lock
     oCcondition_variable
     oCthread
     oCServer
     oCServerBuilder
     oCServerAsyncReader
     oCServerAsyncWriter
     oCServerAsyncReaderWriter
     oCServerContext
     oCServerCredentials
     oCSslServerCredentialsOptions
     |\CPemKeyCertPair
     oCSlice
     oCStatus
     oCClientStreamingInterface
     oCReaderInterface
     oCWriterInterface
     oCClientReaderInterface
     oCClientWriterInterface
     oCClientReaderWriterInterface
     oCClientAsyncStreamingInterface
     oCAsyncReaderInterface
     oCAsyncWriterInterface
     oCClientAsyncReaderInterface
     oCClientAsyncWriterInterface
     oCClientAsyncReaderWriterInterface
     oCThreadPoolInterface
     oCTimePoint
     oCTimePoint< gpr_timespec >
     \CTimePoint< std::chrono::system_clock::time_point >
     oCClientReader
     oCClientWriter
     oCClientReaderWriter
     oCClientAsyncReader
     oCClientAsyncWriter
     oCClientAsyncReaderWriter
     oCClientAsyncResponseReader
     oCChannelChannels represent a connection to an endpoint. Created by CreateChannel
     oCPropagationOptionsOptions for ClientContext::FromServerContext specifying which traits from the ServerContext to propagate (copy) from it into a new ClientContext
     oCClientContext
     oCServerReader
     oCServerWriter
     oCServerReaderWriterServer-side interface for bi-directional streaming
     oCRpcMethodHandler
     oCClientStreamingHandler
     oCServerStreamingHandler
     oCBidiStreamingHandler
     oCCompletionQueueA thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h)
     oCCompletionQueueTagAn interface allowing implementors to process and filter event tags
     oCServerCompletionQueueA specific type of completion queue used by the processing of notifications by servers
     oCGenericServerContext
     oCAsyncGenericService
     oCGenericStub
     oCWriteOptionsPer-message write options
     oCCallNoOpDefault argument for CallOpSet
     oCCallOpSendInitialMetadata
     oCCallOpSendMessage
     oCCallOpRecvMessage
     oCCallOpGenericRecvMessage
     oCCallOpClientSendClose
     oCCallOpServerSendStatus
     oCCallOpRecvInitialMetadata
     oCCallOpClientRecvStatus
     oCCallOpSetInterfaceAn abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API
     oCCallOpSetPrimary implementaiton of CallOpSetInterface
     oCSneakyCallOpSetA CallOpSet that does not post completions to the completion queue
     oCCallHook
     oCCall
     oCGrpcLibrary
     oCSerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
     oCRpcMethod
     oCMethodHandler
     |\CHandlerParameter
     oCUnknownMethodHandler
     oCRpcServiceMethod
     oCRpcService
     oCSerializationTraitsDefines how to serialize and deserialize some type
     oCSynchronousService
     oCServerAsyncStreamingInterface
     oCAsynchronousService
     oClock_guard
     oCmutex
     oCunique_lock
     oCcondition_variable
     oCthread
     oCAuthPropertyIterator
     oCAuthContextClass encapsulating the Authentication Information
     oCAuthMetadataProcessor
     oCCredentialsA credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call
     oCSslCredentialsOptionsOptions used to build SslCredentials
     oCServerCredentials
     oCSslServerCredentialsOptionsOptions to create ServerCredentials with SSL
     |\CPemKeyCertPair
     oCServerModels a gRPC server
     oCServerBuilderA builder class for the creation and startup of grpc::Server instances
     oCServerAsyncReader
     oCServerAsyncWriter
     oCServerAsyncResponseWriter
     oCServerAsyncReaderWriterServer-side interface for asynchronous bi-directional streaming
     oCServerContext
     oCClientAsyncStreamingInterfaceCommon interface for all client side asynchronous streaming
     oCAsyncReaderInterfaceAn interface that yields a sequence of messages of type R
     oCAsyncWriterInterfaceAn interface that can be fed a sequence of messages of type W
     oCClientAsyncReaderInterface
     oCClientAsyncWriterInterfaceCommon interface for client side asynchronous writing
     oCClientAsyncReaderWriterInterfaceClient-side interface for asynchronous bi-directional streaming
     oCClientAsyncResponseReaderInterface
     oCByteBufferA sequence of bytes
     oCSerializationTraits< ByteBuffer, void >
     oCChannelArgumentsOptions for channel creation
     oCSliceA wrapper around grpc_slice
     oCStatusDid it work? If it didn't, why?
     oCstring_refThis class is a non owning reference to a string
     oCStubOptions
     oCClientStreamingInterfaceCommon interface for all synchronous client side streaming
     oCReaderInterfaceAn interface that yields a sequence of messages of type R
     oCWriterInterfaceAn interface that can be fed a sequence of messages of type W
     oCClientReaderInterfaceClient-side interface for streaming reads of message of type R
     oCClientWriterInterfaceClient-side interface for streaming writes of message of type W
     oCClientReaderWriterInterfaceClient-side interface for bi-directional streaming
     oCTimePoint
     oCTimePoint< gpr_timespec >
     \CTimePoint< std::chrono::system_clock::time_point >
    diff --git a/doc/ref/c++/html/async__generic__service_8h.html b/doc/ref/c++/html/async__generic__service_8h.html index c7c33071786..c2b94f9ba03 100644 --- a/doc/ref/c++/html/async__generic__service_8h.html +++ b/doc/ref/c++/html/async__generic__service_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_generic_service.h File Reference +GRPC C++: include/grpc++/generic/async_generic_service.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    async_generic_service.h File Reference
    -
    #include <grpc++/byte_buffer.h>
    -#include <grpc++/stream.h>
    +

    Go to the source code of this file.

    @@ -120,7 +120,7 @@ ServerAsyncReaderWriter
    diff --git a/doc/ref/c++/html/async__generic__service_8h_source.html b/doc/ref/c++/html/async__generic__service_8h_source.html index dcc16307ffc..ab5817a40ea 100644 --- a/doc/ref/c++/html/async__generic__service_8h_source.html +++ b/doc/ref/c++/html/async__generic__service_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_generic_service.h Source File +GRPC C++: include/grpc++/generic/async_generic_service.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,17 +122,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_ASYNC_GENERIC_SERVICE_H
    -
    35 #define GRPCXX_ASYNC_GENERIC_SERVICE_H
    +
    34 #ifndef GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
    +
    35 #define GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
    36 
    -
    37 #include <grpc++/byte_buffer.h>
    -
    38 #include <grpc++/stream.h>
    + +
    39 
    40 struct grpc_server;
    41 
    -
    42 namespace grpc {
    +
    42 namespace grpc {
    43 
    - +
    44 typedef ServerAsyncReaderWriter<ByteBuffer, ByteBuffer>
    46 
    @@ -166,27 +166,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    75 
    76 } // namespace grpc
    77 
    -
    78 #endif // GRPCXX_ASYNC_GENERIC_SERVICE_H
    +
    78 #endif // GRPCXX_GENERIC_ASYNC_GENERIC_SERVICE_H
    std::string string
    Definition: config.h:112
    -
    Definition: server_context.h:60
    +
    Server-side interface for asynchronous bi-directional streaming.
    Definition: server_context.h:62
    AsyncGenericService(const grpc::string &methods)
    Definition: async_generic_service.h:64
    #define GRPC_FINAL
    Definition: config.h:71
    Definition: async_generic_service.h:59
    void RequestCall(GenericServerContext *ctx, GenericServerAsyncReaderWriter *reader_writer, CompletionQueue *call_cq, ServerCompletionQueue *notification_cq, void *tag)
    - -
    Definition: server.h:61
    + +
    Models a gRPC server.
    Definition: server.h:63
    ServerAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericServerAsyncReaderWriter
    Definition: async_generic_service.h:45
    -
    Definition: server_context.h:86
    +
    Definition: server_context.h:89
    Definition: async_generic_service.h:47
    -
    Definition: completion_queue.h:87
    -
    Definition: completion_queue.h:162
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    +
    A specific type of completion queue used by the processing of notifications by servers.
    Definition: completion_queue.h:204
    const grpc::string & host() const
    Definition: async_generic_service.h:50
    const grpc::string & method() const
    Definition: async_generic_service.h:49
    diff --git a/doc/ref/c++.internal/html/stream_8h.html b/doc/ref/c++/html/async__stream_8h.html similarity index 70% rename from doc/ref/c++.internal/html/stream_8h.html rename to doc/ref/c++/html/async__stream_8h.html index 4c171440a50..e7866a628f4 100644 --- a/doc/ref/c++.internal/html/stream_8h.html +++ b/doc/ref/c++/html/async__stream_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/stream.h File Reference +GRPC C++: include/grpc++/support/async_stream.h File Reference @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -89,61 +89,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
    -
    stream.h File Reference
    +
    async_stream.h File Reference
    -
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -152,6 +133,7 @@ Data Structures +

    Data Structures

    class  grpc::ClientStreamingInterface
     
    class  grpc::ReaderInterface< R >
     
    class  grpc::WriterInterface< W >
     
    class  grpc::ClientReaderInterface< R >
     
    class  grpc::ClientReader< R >
     
    class  grpc::ClientWriterInterface< W >
     
    class  grpc::ClientWriter< W >
     
    class  grpc::ClientReaderWriterInterface< W, R >
     
    class  grpc::ClientReaderWriter< R, W >
     
    class  grpc::ServerReader< R >
     
    class  grpc::ServerWriter< W >
     
    class  grpc::ServerReaderWriter< R, W >
     
    class  grpc::ClientAsyncStreamingInterface
     Common interface for all client side asynchronous streaming. More...
     
    class  grpc::AsyncReaderInterface< R >
     An interface that yields a sequence of messages of type R. More...
     
    class  grpc::AsyncWriterInterface< W >
     An interface that can be fed a sequence of messages of type W. More...
     
    class  grpc::ClientAsyncReaderInterface< R >
     
    class  grpc::ClientAsyncReader< R >
     
    class  grpc::ClientAsyncWriterInterface< W >
     Common interface for client side asynchronous writing. More...
     
    class  grpc::ClientAsyncWriter< W >
     
    class  grpc::ClientAsyncReaderWriterInterface< W, R >
     Client-side interface for asynchronous bi-directional streaming. More...
     
    class  grpc::ClientAsyncReaderWriter< R, W >
     
    class  grpc::ServerAsyncWriter< W >
     
    class  grpc::ServerAsyncReaderWriter< R, W >
     Server-side interface for asynchronous bi-directional streaming. More...
     
    diff --git a/doc/ref/c++/html/async__stream_8h_source.html b/doc/ref/c++/html/async__stream_8h_source.html new file mode 100644 index 00000000000..77da0c071f3 --- /dev/null +++ b/doc/ref/c++/html/async__stream_8h_source.html @@ -0,0 +1,598 @@ + + + + + + +GRPC C++: include/grpc++/support/async_stream.h Source File + + + + + + + + + +
    +
    +

    @@ -162,7 +144,7 @@ Namespaces

    + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    async_stream.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_ASYNC_STREAM_H
    +
    35 #define GRPCXX_SUPPORT_ASYNC_STREAM_H
    +
    36 
    +
    37 #include <grpc/support/log.h>
    +
    38 #include <grpc++/channel.h>
    +
    39 #include <grpc++/client_context.h>
    + +
    41 #include <grpc++/impl/call.h>
    + +
    43 #include <grpc++/server_context.h>
    +
    44 #include <grpc++/support/status.h>
    +
    45 
    +
    46 namespace grpc {
    +
    47 
    + +
    50  public:
    + +
    52 
    +
    57  virtual void ReadInitialMetadata(void* tag) = 0;
    +
    58 
    +
    63  virtual void Finish(Status* status, void* tag) = 0;
    +
    64 };
    +
    65 
    +
    67 template <class R>
    + +
    69  public:
    +
    70  virtual ~AsyncReaderInterface() {}
    +
    71 
    +
    77  virtual void Read(R* msg, void* tag) = 0;
    +
    78 };
    +
    79 
    +
    81 template <class W>
    + +
    83  public:
    +
    84  virtual ~AsyncWriterInterface() {}
    +
    85 
    +
    90  virtual void Write(const W& msg, void* tag) = 0;
    +
    91 };
    +
    92 
    +
    93 template <class R>
    + +
    95  public AsyncReaderInterface<R> {};
    +
    96 
    +
    97 template <class R>
    + +
    99  public:
    +
    101  template <class W>
    + +
    103  const RpcMethod& method, ClientContext* context,
    +
    104  const W& request, void* tag)
    +
    105  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    +
    106  init_ops_.set_output_tag(tag);
    +
    107  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    +
    108  // TODO(ctiller): don't assert
    +
    109  GPR_ASSERT(init_ops_.SendMessage(request).ok());
    +
    110  init_ops_.ClientSendClose();
    +
    111  call_.PerformOps(&init_ops_);
    +
    112  }
    +
    113 
    + +
    115  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    116 
    +
    117  meta_ops_.set_output_tag(tag);
    +
    118  meta_ops_.RecvInitialMetadata(context_);
    +
    119  call_.PerformOps(&meta_ops_);
    +
    120  }
    +
    121 
    +
    122  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    +
    123  read_ops_.set_output_tag(tag);
    +
    124  if (!context_->initial_metadata_received_) {
    +
    125  read_ops_.RecvInitialMetadata(context_);
    +
    126  }
    +
    127  read_ops_.RecvMessage(msg);
    +
    128  call_.PerformOps(&read_ops_);
    +
    129  }
    +
    130 
    +
    131  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    +
    132  finish_ops_.set_output_tag(tag);
    +
    133  if (!context_->initial_metadata_received_) {
    +
    134  finish_ops_.RecvInitialMetadata(context_);
    +
    135  }
    +
    136  finish_ops_.ClientRecvStatus(context_, status);
    +
    137  call_.PerformOps(&finish_ops_);
    +
    138  }
    +
    139 
    +
    140  private:
    +
    141  ClientContext* context_;
    +
    142  Call call_;
    + +
    144  init_ops_;
    + + + +
    148 };
    +
    149 
    +
    151 template <class W>
    + +
    153  public AsyncWriterInterface<W> {
    +
    154  public:
    +
    158  virtual void WritesDone(void* tag) = 0;
    +
    159 };
    +
    160 
    +
    161 template <class W>
    + +
    163  public:
    +
    164  template <class R>
    + +
    166  const RpcMethod& method, ClientContext* context,
    +
    167  R* response, void* tag)
    +
    168  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    +
    169  finish_ops_.RecvMessage(response);
    +
    170 
    +
    171  init_ops_.set_output_tag(tag);
    +
    172  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    +
    173  call_.PerformOps(&init_ops_);
    +
    174  }
    +
    175 
    + +
    177  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    178 
    +
    179  meta_ops_.set_output_tag(tag);
    +
    180  meta_ops_.RecvInitialMetadata(context_);
    +
    181  call_.PerformOps(&meta_ops_);
    +
    182  }
    +
    183 
    +
    184  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    +
    185  write_ops_.set_output_tag(tag);
    +
    186  // TODO(ctiller): don't assert
    +
    187  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    +
    188  call_.PerformOps(&write_ops_);
    +
    189  }
    +
    190 
    +
    191  void WritesDone(void* tag) GRPC_OVERRIDE {
    +
    192  writes_done_ops_.set_output_tag(tag);
    +
    193  writes_done_ops_.ClientSendClose();
    +
    194  call_.PerformOps(&writes_done_ops_);
    +
    195  }
    +
    196 
    +
    197  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    +
    198  finish_ops_.set_output_tag(tag);
    +
    199  if (!context_->initial_metadata_received_) {
    +
    200  finish_ops_.RecvInitialMetadata(context_);
    +
    201  }
    +
    202  finish_ops_.ClientRecvStatus(context_, status);
    +
    203  call_.PerformOps(&finish_ops_);
    +
    204  }
    +
    205 
    +
    206  private:
    +
    207  ClientContext* context_;
    +
    208  Call call_;
    + + +
    211  CallOpSet<CallOpSendMessage> write_ops_;
    +
    212  CallOpSet<CallOpClientSendClose> writes_done_ops_;
    + +
    214  CallOpClientRecvStatus> finish_ops_;
    +
    215 };
    +
    216 
    +
    218 template <class W, class R>
    + +
    220  public AsyncWriterInterface<W>,
    +
    221  public AsyncReaderInterface<R> {
    +
    222  public:
    +
    226  virtual void WritesDone(void* tag) = 0;
    +
    227 };
    +
    228 
    +
    229 template <class W, class R>
    + +
    231  : public ClientAsyncReaderWriterInterface<W, R> {
    +
    232  public:
    + +
    234  const RpcMethod& method, ClientContext* context,
    +
    235  void* tag)
    +
    236  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    +
    237  init_ops_.set_output_tag(tag);
    +
    238  init_ops_.SendInitialMetadata(context->send_initial_metadata_);
    +
    239  call_.PerformOps(&init_ops_);
    +
    240  }
    +
    241 
    + +
    243  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    244 
    +
    245  meta_ops_.set_output_tag(tag);
    +
    246  meta_ops_.RecvInitialMetadata(context_);
    +
    247  call_.PerformOps(&meta_ops_);
    +
    248  }
    +
    249 
    +
    250  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    +
    251  read_ops_.set_output_tag(tag);
    +
    252  if (!context_->initial_metadata_received_) {
    +
    253  read_ops_.RecvInitialMetadata(context_);
    +
    254  }
    +
    255  read_ops_.RecvMessage(msg);
    +
    256  call_.PerformOps(&read_ops_);
    +
    257  }
    +
    258 
    +
    259  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    +
    260  write_ops_.set_output_tag(tag);
    +
    261  // TODO(ctiller): don't assert
    +
    262  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    +
    263  call_.PerformOps(&write_ops_);
    +
    264  }
    +
    265 
    +
    266  void WritesDone(void* tag) GRPC_OVERRIDE {
    +
    267  writes_done_ops_.set_output_tag(tag);
    +
    268  writes_done_ops_.ClientSendClose();
    +
    269  call_.PerformOps(&writes_done_ops_);
    +
    270  }
    +
    271 
    +
    272  void Finish(Status* status, void* tag) GRPC_OVERRIDE {
    +
    273  finish_ops_.set_output_tag(tag);
    +
    274  if (!context_->initial_metadata_received_) {
    +
    275  finish_ops_.RecvInitialMetadata(context_);
    +
    276  }
    +
    277  finish_ops_.ClientRecvStatus(context_, status);
    +
    278  call_.PerformOps(&finish_ops_);
    +
    279  }
    +
    280 
    +
    281  private:
    +
    282  ClientContext* context_;
    +
    283  Call call_;
    + + + +
    287  CallOpSet<CallOpSendMessage> write_ops_;
    +
    288  CallOpSet<CallOpClientSendClose> writes_done_ops_;
    + +
    290 };
    +
    291 
    +
    292 template <class W, class R>
    +
    293 class ServerAsyncReader GRPC_FINAL : public ServerAsyncStreamingInterface,
    +
    294  public AsyncReaderInterface<R> {
    +
    295  public:
    + +
    297  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    +
    298 
    + +
    300  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    301 
    +
    302  meta_ops_.set_output_tag(tag);
    +
    303  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    304  ctx_->sent_initial_metadata_ = true;
    +
    305  call_.PerformOps(&meta_ops_);
    +
    306  }
    +
    307 
    +
    308  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    +
    309  read_ops_.set_output_tag(tag);
    +
    310  read_ops_.RecvMessage(msg);
    +
    311  call_.PerformOps(&read_ops_);
    +
    312  }
    +
    313 
    +
    314  void Finish(const W& msg, const Status& status, void* tag) {
    +
    315  finish_ops_.set_output_tag(tag);
    +
    316  if (!ctx_->sent_initial_metadata_) {
    +
    317  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    318  ctx_->sent_initial_metadata_ = true;
    +
    319  }
    +
    320  // The response is dropped if the status is not OK.
    +
    321  if (status.ok()) {
    +
    322  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_,
    +
    323  finish_ops_.SendMessage(msg));
    +
    324  } else {
    +
    325  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    +
    326  }
    +
    327  call_.PerformOps(&finish_ops_);
    +
    328  }
    +
    329 
    +
    330  void FinishWithError(const Status& status, void* tag) {
    +
    331  GPR_ASSERT(!status.ok());
    +
    332  finish_ops_.set_output_tag(tag);
    +
    333  if (!ctx_->sent_initial_metadata_) {
    +
    334  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    335  ctx_->sent_initial_metadata_ = true;
    +
    336  }
    +
    337  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    +
    338  call_.PerformOps(&finish_ops_);
    +
    339  }
    +
    340 
    +
    341  private:
    +
    342  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    +
    343 
    +
    344  Call call_;
    +
    345  ServerContext* ctx_;
    +
    346  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
    +
    347  CallOpSet<CallOpRecvMessage<R>> read_ops_;
    +
    348  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage,
    +
    349  CallOpServerSendStatus> finish_ops_;
    +
    350 };
    +
    351 
    +
    352 template <class W>
    +
    353 class ServerAsyncWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
    +
    354  public AsyncWriterInterface<W> {
    +
    355  public:
    + +
    357  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    +
    358 
    + +
    360  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    361 
    +
    362  meta_ops_.set_output_tag(tag);
    +
    363  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    364  ctx_->sent_initial_metadata_ = true;
    +
    365  call_.PerformOps(&meta_ops_);
    +
    366  }
    +
    367 
    +
    368  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    +
    369  write_ops_.set_output_tag(tag);
    +
    370  if (!ctx_->sent_initial_metadata_) {
    +
    371  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    372  ctx_->sent_initial_metadata_ = true;
    +
    373  }
    +
    374  // TODO(ctiller): don't assert
    +
    375  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    +
    376  call_.PerformOps(&write_ops_);
    +
    377  }
    +
    378 
    +
    379  void Finish(const Status& status, void* tag) {
    +
    380  finish_ops_.set_output_tag(tag);
    +
    381  if (!ctx_->sent_initial_metadata_) {
    +
    382  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    383  ctx_->sent_initial_metadata_ = true;
    +
    384  }
    +
    385  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    +
    386  call_.PerformOps(&finish_ops_);
    +
    387  }
    +
    388 
    +
    389  private:
    +
    390  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    +
    391 
    +
    392  Call call_;
    +
    393  ServerContext* ctx_;
    +
    394  CallOpSet<CallOpSendInitialMetadata> meta_ops_;
    +
    395  CallOpSet<CallOpSendInitialMetadata, CallOpSendMessage> write_ops_;
    +
    396  CallOpSet<CallOpSendInitialMetadata, CallOpServerSendStatus> finish_ops_;
    +
    397 };
    +
    398 
    +
    400 template <class W, class R>
    +
    401 class ServerAsyncReaderWriter GRPC_FINAL : public ServerAsyncStreamingInterface,
    +
    402  public AsyncWriterInterface<W>,
    +
    403  public AsyncReaderInterface<R> {
    +
    404  public:
    + +
    406  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    +
    407 
    + +
    409  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    410 
    +
    411  meta_ops_.set_output_tag(tag);
    +
    412  meta_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    413  ctx_->sent_initial_metadata_ = true;
    +
    414  call_.PerformOps(&meta_ops_);
    +
    415  }
    +
    416 
    +
    417  void Read(R* msg, void* tag) GRPC_OVERRIDE {
    +
    418  read_ops_.set_output_tag(tag);
    +
    419  read_ops_.RecvMessage(msg);
    +
    420  call_.PerformOps(&read_ops_);
    +
    421  }
    +
    422 
    +
    423  void Write(const W& msg, void* tag) GRPC_OVERRIDE {
    +
    424  write_ops_.set_output_tag(tag);
    +
    425  if (!ctx_->sent_initial_metadata_) {
    +
    426  write_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    427  ctx_->sent_initial_metadata_ = true;
    +
    428  }
    +
    429  // TODO(ctiller): don't assert
    +
    430  GPR_ASSERT(write_ops_.SendMessage(msg).ok());
    +
    431  call_.PerformOps(&write_ops_);
    +
    432  }
    +
    433 
    +
    434  void Finish(const Status& status, void* tag) {
    +
    435  finish_ops_.set_output_tag(tag);
    +
    436  if (!ctx_->sent_initial_metadata_) {
    +
    437  finish_ops_.SendInitialMetadata(ctx_->initial_metadata_);
    +
    438  ctx_->sent_initial_metadata_ = true;
    +
    439  }
    +
    440  finish_ops_.ServerSendStatus(ctx_->trailing_metadata_, status);
    +
    441  call_.PerformOps(&finish_ops_);
    +
    442  }
    +
    443 
    +
    444  private:
    +
    445  friend class ::grpc::Server;
    +
    446 
    +
    447  void BindCall(Call* call) GRPC_OVERRIDE { call_ = *call; }
    +
    448 
    +
    449  Call call_;
    +
    450  ServerContext* ctx_;
    + + + + +
    455 };
    +
    456 
    +
    457 } // namespace grpc
    +
    458 
    +
    459 #endif // GRPCXX_SUPPORT_ASYNC_STREAM_H
    +
    Common interface for all client side asynchronous streaming.
    Definition: async_stream.h:49
    +
    Definition: channel.h:64
    +
    ClientAsyncReaderWriter(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, void *tag)
    Definition: async_stream.h:233
    +
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Request the writing of msg with identifying tag tag.
    Definition: async_stream.h:184
    +
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Read a message of type R into msg.
    Definition: async_stream.h:417
    +
    void WritesDone(void *tag) GRPC_OVERRIDE
    Signal the client is done with the writes.
    Definition: async_stream.h:191
    + +
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: async_stream.h:359
    +
    virtual void WritesDone(void *tag)=0
    Signal the client is done with the writes.
    +
    Definition: call.h:426
    +
    virtual void Write(const W &msg, void *tag)=0
    Request the writing of msg with identifying tag tag.
    +
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Request the writing of msg with identifying tag tag.
    Definition: async_stream.h:368
    +
    #define GRPC_FINAL
    Definition: config.h:71
    +
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Request the writing of msg with identifying tag tag.
    Definition: async_stream.h:259
    +
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Read a message of type R into msg.
    Definition: async_stream.h:308
    +
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: async_stream.h:408
    +
    virtual void WritesDone(void *tag)=0
    Signal the client is done with the writes.
    +
    Definition: client_context.h:149
    +
    void FinishWithError(const Status &status, void *tag)
    Definition: async_stream.h:330
    +
    void Write(const W &msg, void *tag) GRPC_OVERRIDE
    Request the writing of msg with identifying tag tag.
    Definition: async_stream.h:423
    + +
    virtual ~AsyncReaderInterface()
    Definition: async_stream.h:70
    +
    Definition: async_stream.h:94
    +
    void WritesDone(void *tag) GRPC_OVERRIDE
    Signal the client is done with the writes.
    Definition: async_stream.h:266
    +
    Definition: call.h:560
    +
    Client-side interface for asynchronous bi-directional streaming.
    Definition: async_stream.h:219
    +
    ServerAsyncWriter(ServerContext *ctx)
    Definition: async_stream.h:356
    +
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Request notification completion.
    Definition: async_stream.h:272
    +
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Request notification of the reading of the initial metadata.
    Definition: async_stream.h:176
    +
    An interface that can be fed a sequence of messages of type W.
    Definition: async_stream.h:82
    + +
    Definition: channel.h:62
    +
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:502
    +
    Definition: server_context.h:89
    +
    void Finish(const W &msg, const Status &status, void *tag)
    Definition: async_stream.h:314
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    +
    virtual ~ClientAsyncStreamingInterface()
    Definition: async_stream.h:51
    +
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Request notification completion.
    Definition: async_stream.h:197
    +
    void Finish(const Status &status, void *tag)
    Definition: async_stream.h:379
    + +
    virtual void ReadInitialMetadata(void *tag)=0
    Request notification of the reading of the initial metadata.
    +
    Definition: rpc_method.h:43
    +
    ClientAsyncReader(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
    Create a stream and write the first request out.
    Definition: async_stream.h:102
    + +
    void Finish(Status *status, void *tag) GRPC_OVERRIDE
    Request notification completion.
    Definition: async_stream.h:131
    +
    void PerformOps(CallOpSetInterface *ops)
    +
    bool ok() const
    Is the status OK?
    Definition: status.h:67
    + +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    virtual void Finish(Status *status, void *tag)=0
    Request notification completion.
    +
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: async_stream.h:299
    +
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Read a message of type R into msg.
    Definition: async_stream.h:122
    +
    void Read(R *msg, void *tag) GRPC_OVERRIDE
    Read a message of type R into msg.
    Definition: async_stream.h:250
    +
    ServerAsyncReaderWriter(ServerContext *ctx)
    Definition: async_stream.h:405
    +
    Definition: channel.h:60
    +
    virtual ~AsyncWriterInterface()
    Definition: async_stream.h:84
    +
    void Finish(const Status &status, void *tag)
    Definition: async_stream.h:434
    +
    ClientAsyncWriter(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, R *response, void *tag)
    Definition: async_stream.h:165
    +
    #define GRPC_OVERRIDE
    Definition: config.h:77
    +
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Request notification of the reading of the initial metadata.
    Definition: async_stream.h:242
    +
    Definition: call.h:396
    +
    virtual void Read(R *msg, void *tag)=0
    Read a message of type R into msg.
    +
    Definition: call.h:289
    + +
    ServerAsyncReader(ServerContext *ctx)
    Definition: async_stream.h:296
    +
    An interface that yields a sequence of messages of type R.
    Definition: async_stream.h:68
    +
    Channels represent a connection to an endpoint. Created by CreateChannel.
    Definition: channel.h:69
    +
    void ReadInitialMetadata(void *tag) GRPC_OVERRIDE
    Request notification of the reading of the initial metadata.
    Definition: async_stream.h:114
    +
    Common interface for client side asynchronous writing.
    Definition: async_stream.h:152
    +
    + + + + diff --git a/doc/ref/c++/html/async__unary__call_8h.html b/doc/ref/c++/html/async__unary__call_8h.html index 892126e18eb..e76244d84eb 100644 --- a/doc/ref/c++/html/async__unary__call_8h.html +++ b/doc/ref/c++/html/async__unary__call_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_unary_call.h File Reference +GRPC C++: include/grpc++/support/async_unary_call.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -92,14 +92,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    async_unary_call.h File Reference
    -
    #include <grpc++/channel_interface.h>
    +
    #include <grpc/support/log.h>
    +#include <grpc++/channel.h>
    #include <grpc++/client_context.h>
    #include <grpc++/completion_queue.h>
    #include <grpc++/server_context.h>
    #include <grpc++/impl/call.h>
    #include <grpc++/impl/service_type.h>
    -#include <grpc++/status.h>
    -#include <grpc/support/log.h>
    +#include <grpc++/support/status.h>

    Go to the source code of this file.

    @@ -120,7 +120,7 @@ Namespaces diff --git a/doc/ref/c++/html/async__unary__call_8h_source.html b/doc/ref/c++/html/async__unary__call_8h_source.html index 64795126d96..c94bb262f3e 100644 --- a/doc/ref/c++/html/async__unary__call_8h_source.html +++ b/doc/ref/c++/html/async__unary__call_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/async_unary_call.h Source File +GRPC C++: include/grpc++/support/async_unary_call.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,17 +122,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_ASYNC_UNARY_CALL_H
    -
    35 #define GRPCXX_ASYNC_UNARY_CALL_H
    +
    34 #ifndef GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
    +
    35 #define GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
    36 
    - -
    38 #include <grpc++/client_context.h>
    - -
    40 #include <grpc++/server_context.h>
    -
    41 #include <grpc++/impl/call.h>
    - -
    43 #include <grpc++/status.h>
    -
    44 #include <grpc/support/log.h>
    +
    37 #include <grpc/support/log.h>
    +
    38 #include <grpc++/channel.h>
    +
    39 #include <grpc++/client_context.h>
    + +
    41 #include <grpc++/server_context.h>
    +
    42 #include <grpc++/impl/call.h>
    + +
    44 #include <grpc++/support/status.h>
    45 
    46 namespace grpc {
    47 
    @@ -145,11 +145,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    54 };
    55 
    56 template <class R>
    - - +
    57 class ClientAsyncResponseReader GRPC_FINAL
    +
    58  : public ClientAsyncResponseReaderInterface<R> {
    59  public:
    60  template <class W>
    - +
    62  const RpcMethod& method, ClientContext* context,
    63  const W& request)
    64  : context_(context), call_(channel->CreateCall(method, context, cq)) {
    @@ -189,8 +189,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    98 };
    99 
    100 template <class W>
    - - +
    101 class ServerAsyncResponseWriter GRPC_FINAL
    +
    102  : public ServerAsyncStreamingInterface {
    103  public:
    105  : call_(nullptr, nullptr, nullptr), ctx_(ctx) {}
    @@ -212,8 +212,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    121  }
    122  // The response is dropped if the status is not OK.
    123  if (status.ok()) {
    -
    124  finish_buf_.ServerSendStatus(
    -
    125  ctx_->trailing_metadata_, finish_buf_.SendMessage(msg));
    +
    124  finish_buf_.ServerSendStatus(ctx_->trailing_metadata_,
    +
    125  finish_buf_.SendMessage(msg));
    126  } else {
    127  finish_buf_.ServerSendStatus(ctx_->trailing_metadata_, status);
    128  }
    @@ -243,49 +243,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    152 
    153 } // namespace grpc
    154 
    -
    155 #endif // GRPCXX_ASYNC_UNARY_CALL_H
    +
    155 #endif // GRPCXX_SUPPORT_ASYNC_UNARY_CALL_H
    void FinishWithError(const Status &status, void *tag)
    Definition: async_unary_call.h:132
    virtual ~ClientAsyncResponseReaderInterface()
    Definition: async_unary_call.h:51
    virtual void Finish(R *msg, Status *status, void *tag)=0
    void Finish(const W &msg, const Status &status, void *tag)
    Definition: async_unary_call.h:116
    -
    Definition: call.h:431
    -
    Definition: service_type.h:57
    +
    Definition: call.h:426
    void SendInitialMetadata(void *tag) GRPC_OVERRIDE
    Definition: async_unary_call.h:107
    void Finish(R *msg, Status *status, void *tag)
    Definition: async_unary_call.h:80
    virtual void ReadInitialMetadata(void *tag)=0
    -
    #define GRPC_FINAL
    Definition: config.h:71
    -
    Definition: async_unary_call.h:57
    -
    Definition: client_context.h:74
    +
    Definition: client_context.h:149
    void ReadInitialMetadata(void *tag)
    Definition: async_unary_call.h:72
    -
    Definition: call.h:190
    -
    Definition: call.h:341
    +
    Definition: call.h:179
    + +
    Definition: call.h:333
    Definition: async_unary_call.h:49
    -
    Definition: call.h:565
    -
    Definition: channel_interface.h:52
    +
    ClientAsyncResponseReader(Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
    Definition: async_unary_call.h:61
    +
    Definition: call.h:560
    -
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:506
    -
    Definition: server_context.h:86
    -
    Definition: completion_queue.h:87
    -
    ClientAsyncResponseReader(ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
    Definition: async_unary_call.h:61
    +
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:502
    +
    Definition: server_context.h:89
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    ServerAsyncResponseWriter(ServerContext *ctx)
    Definition: async_unary_call.h:104
    -
    Definition: rpc_method.h:39
    +
    Definition: rpc_method.h:43
    void PerformOps(CallOpSetInterface *ops)
    -
    bool ok() const
    Definition: status.h:55
    +
    bool ok() const
    Is the status OK?
    Definition: status.h:67
    -
    Definition: status.h:42
    -
    Definition: async_unary_call.h:101
    -
    Definition: call.h:159
    -
    A CallOpSet that does not post completions to the completion queue.
    Definition: call.h:548
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    Definition: call.h:147
    +
    A CallOpSet that does not post completions to the completion queue.
    Definition: call.h:544
    #define GRPC_OVERRIDE
    Definition: config.h:77
    +
    Channels represent a connection to an endpoint. Created by CreateChannel.
    Definition: channel.h:69
    diff --git a/doc/ref/c++/html/auth__context_8h.html b/doc/ref/c++/html/auth__context_8h.html index 720da677d93..a47451578df 100644 --- a/doc/ref/c++/html/auth__context_8h.html +++ b/doc/ref/c++/html/auth__context_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_context.h File Reference +GRPC C++: include/grpc++/security/auth_context.h File Reference @@ -23,7 +23,7 @@ @@ -81,37 +81,50 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    auth_context.h File Reference
    -
    #include <vector>
    -#include <grpc++/auth_property_iterator.h>
    -#include <grpc++/config.h>
    +
    #include <iterator>
    +#include <vector>
    +#include <grpc/grpc_security.h>
    +#include <grpc++/support/config.h>
    +#include <grpc++/support/string_ref.h>

    Go to the source code of this file.

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    + + +

    Data Structures

    class  grpc::AuthPropertyIterator
     
    class  grpc::AuthContext
     Class encapsulating the Authentication Information. More...
     
    +

    Namespaces

     grpc
     
    + + +

    +Typedefs

    typedef std::pair
    +< grpc::string_ref,
    +grpc::string_ref
    grpc::AuthProperty
     
    diff --git a/doc/ref/c++/html/auth__context_8h_source.html b/doc/ref/c++/html/auth__context_8h_source.html index 42b68139046..bdf268c1161 100644 --- a/doc/ref/c++/html/auth__context_8h_source.html +++ b/doc/ref/c++/html/auth__context_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_context.h Source File +GRPC C++: include/grpc++/security/auth_context.h Source File @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,53 +122,113 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_AUTH_CONTEXT_H
    -
    35 #define GRPCXX_AUTH_CONTEXT_H
    +
    34 #ifndef GRPCXX_SUPPORT_AUTH_CONTEXT_H
    +
    35 #define GRPCXX_SUPPORT_AUTH_CONTEXT_H
    36 
    -
    37 #include <vector>
    -
    38 
    - -
    40 #include <grpc++/config.h>
    -
    41 
    -
    42 namespace grpc {
    +
    37 #include <iterator>
    +
    38 #include <vector>
    +
    39 
    +
    40 #include <grpc/grpc_security.h>
    +
    41 #include <grpc++/support/config.h>
    +
    43 
    -
    44 class AuthContext {
    -
    45  public:
    -
    46  virtual ~AuthContext() {}
    +
    44 struct grpc_auth_context;
    +
    45 struct grpc_auth_property;
    +
    46 struct grpc_auth_property_iterator;
    47 
    -
    48  // A peer identity, in general is one or more properties (in which case they
    -
    49  // have the same name).
    -
    50  virtual std::vector<grpc::string> GetPeerIdentity() const = 0;
    -
    51  virtual grpc::string GetPeerIdentityPropertyName() const = 0;
    +
    48 namespace grpc {
    +
    49 class SecureAuthContext;
    +
    50 
    +
    51 typedef std::pair<grpc::string_ref, grpc::string_ref> AuthProperty;
    52 
    -
    53  // Returns all the property values with the given name.
    -
    54  virtual std::vector<grpc::string> FindPropertyValues(
    -
    55  const grpc::string& name) const = 0;
    -
    56 
    -
    57  // Iteration over all the properties.
    -
    58  virtual AuthPropertyIterator begin() const = 0;
    -
    59  virtual AuthPropertyIterator end() const = 0;
    -
    60 };
    -
    61 
    -
    62 } // namespace grpc
    -
    63 
    -
    64 #endif // GRPCXX_AUTH_CONTEXT_H
    -
    65 
    + +
    54  : public std::iterator<std::input_iterator_tag, const AuthProperty> {
    +
    55  public:
    + + + +
    59  bool operator==(const AuthPropertyIterator& rhs) const;
    +
    60  bool operator!=(const AuthPropertyIterator& rhs) const;
    +
    61  const AuthProperty operator*();
    +
    62 
    +
    63  protected:
    + +
    65  AuthPropertyIterator(const grpc_auth_property* property,
    +
    66  const grpc_auth_property_iterator* iter);
    +
    67 
    +
    68  private:
    +
    69  friend class SecureAuthContext;
    +
    70  const grpc_auth_property* property_;
    +
    71  // The following items form a grpc_auth_property_iterator.
    +
    72  const grpc_auth_context* ctx_;
    +
    73  size_t index_;
    +
    74  const char* name_;
    +
    75 };
    +
    76 
    +
    81 class AuthContext {
    +
    82  public:
    +
    83  virtual ~AuthContext() {}
    +
    84 
    +
    86  virtual bool IsPeerAuthenticated() const = 0;
    +
    87 
    +
    92  virtual std::vector<grpc::string_ref> GetPeerIdentity() const = 0;
    +
    93  virtual grpc::string GetPeerIdentityPropertyName() const = 0;
    +
    94 
    +
    96  virtual std::vector<grpc::string_ref> FindPropertyValues(
    +
    97  const grpc::string& name) const = 0;
    +
    98 
    +
    100  virtual AuthPropertyIterator begin() const = 0;
    +
    101  virtual AuthPropertyIterator end() const = 0;
    +
    102 
    + +
    104  return GRPC_TRANSPORT_SECURITY_TYPE_PROPERTY_NAME;
    +
    105  }
    +
    106  static string ssl_transport_security_type() {
    +
    107  return GRPC_SSL_TRANSPORT_SECURITY_TYPE;
    +
    108  }
    +
    109  static string x509_cn_property_name() { return GRPC_X509_CN_PROPERTY_NAME; }
    +
    110  static string x509_san_property_name() { return GRPC_X509_SAN_PROPERTY_NAME; }
    +
    111 
    +
    112  // Mutation functions: should only be used by an AuthMetadataProcessor.
    +
    113  virtual void AddProperty(const grpc::string& key,
    +
    114  const grpc::string_ref& value) = 0;
    +
    115  virtual bool SetPeerIdentityPropertyName(const grpc::string& name) = 0;
    +
    116 };
    +
    117 
    +
    118 } // namespace grpc
    +
    119 
    +
    120 #endif // GRPCXX_SUPPORT_AUTH_CONTEXT_H
    + +
    std::pair< grpc::string_ref, grpc::string_ref > AuthProperty
    Definition: auth_context.h:49
    std::string string
    Definition: config.h:112
    - -
    Definition: auth_context.h:44
    -
    virtual std::vector< grpc::string > GetPeerIdentity() const =0
    +
    virtual bool IsPeerAuthenticated() const =0
    Returns true if the peer is authenticated.
    +
    static string ssl_transport_security_type()
    Definition: auth_context.h:106
    +
    Class encapsulating the Authentication Information.
    Definition: auth_context.h:81
    virtual AuthPropertyIterator end() const =0
    -
    virtual std::vector< grpc::string > FindPropertyValues(const grpc::string &name) const =0
    -
    virtual AuthPropertyIterator begin() const =0
    -
    virtual ~AuthContext()
    Definition: auth_context.h:46
    -
    Definition: auth_property_iterator.h:51
    +
    virtual bool SetPeerIdentityPropertyName(const grpc::string &name)=0
    + +
    virtual AuthPropertyIterator begin() const =0
    Iteration over all the properties.
    +
    static string x509_cn_property_name()
    Definition: auth_context.h:109
    +
    static string transport_security_type_property_name()
    Definition: auth_context.h:103
    +
    bool operator!=(const AuthPropertyIterator &rhs) const
    +
    const AuthProperty operator*()
    +
    virtual ~AuthContext()
    Definition: auth_context.h:83
    +
    bool operator==(const AuthPropertyIterator &rhs) const
    +
    AuthPropertyIterator & operator++()
    +
    This class is a non owning reference to a string.
    Definition: string_ref.h:52
    +
    static string x509_san_property_name()
    Definition: auth_context.h:110
    +
    virtual std::vector< grpc::string_ref > GetPeerIdentity() const =0
    A peer identity.
    +
    Definition: auth_context.h:53
    + +
    virtual std::vector< grpc::string_ref > FindPropertyValues(const grpc::string &name) const =0
    Returns all the property values with the given name.
    +
    virtual void AddProperty(const grpc::string &key, const grpc::string_ref &value)=0
    +
    friend class SecureAuthContext
    Definition: auth_context.h:69
    virtual grpc::string GetPeerIdentityPropertyName() const =0
    diff --git a/doc/ref/c++.internal/html/internal__stub_8h.html b/doc/ref/c++/html/auth__metadata__processor_8h.html similarity index 86% rename from doc/ref/c++.internal/html/internal__stub_8h.html rename to doc/ref/c++/html/auth__metadata__processor_8h.html index 35d90c8040e..39e91ee7a38 100644 --- a/doc/ref/c++.internal/html/internal__stub_8h.html +++ b/doc/ref/c++/html/auth__metadata__processor_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/impl/internal_stub.h File Reference +GRPC C++: include/grpc++/security/auth_metadata_processor.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -89,17 +89,19 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
    -
    internal_stub.h File Reference
    +
    auth_metadata_processor.h File Reference
    -
    #include <memory>
    -#include <grpc++/channel_interface.h>
    +
    #include <map>
    +#include <grpc++/security/auth_context.h>
    +#include <grpc++/support/status.h>
    +#include <grpc++/support/string_ref.h>
    -

    Go to the source code of this file.

    +

    Go to the source code of this file.

    - +

    Data Structures

    class  grpc::InternalStub
    class  grpc::AuthMetadataProcessor
     
    diff --git a/doc/ref/c++/html/auth__property__iterator_8h_source.html b/doc/ref/c++/html/auth__metadata__processor_8h_source.html similarity index 58% rename from doc/ref/c++/html/auth__property__iterator_8h_source.html rename to doc/ref/c++/html/auth__metadata__processor_8h_source.html index 14e0ce76220..b313d902516 100644 --- a/doc/ref/c++/html/auth__property__iterator_8h_source.html +++ b/doc/ref/c++/html/auth__metadata__processor_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_property_iterator.h Source File +GRPC C++: include/grpc++/security/auth_metadata_processor.h Source File @@ -23,7 +23,7 @@ @@ -81,15 +81,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    auth_property_iterator.h
    +
    auth_metadata_processor.h
    -Go to the documentation of this file.
    1 /*
    +Go to the documentation of this file.
    1 /*
    2  *
    3  * Copyright 2015, Google Inc.
    4  * All rights reserved.
    @@ -122,64 +122,62 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_AUTH_PROPERTY_ITERATOR_H
    -
    35 #define GRPCXX_AUTH_PROPERTY_ITERATOR_H
    +
    34 #ifndef GRPCXX_AUTH_METADATA_PROCESSOR_H_
    +
    35 #define GRPCXX_AUTH_METADATA_PROCESSOR_H_
    36 
    -
    37 #include <iterator>
    -
    38 #include <vector>
    -
    39 
    -
    40 #include <grpc++/config.h>
    -
    41 
    -
    42 struct grpc_auth_context;
    -
    43 struct grpc_auth_property;
    -
    44 struct grpc_auth_property_iterator;
    -
    45 
    -
    46 namespace grpc {
    -
    47 class SecureAuthContext;
    -
    48 
    -
    49 typedef std::pair<grpc::string, grpc::string> AuthProperty;
    -
    50 
    - -
    52  : public std::iterator<std::input_iterator_tag, const AuthProperty> {
    -
    53  public:
    - - - -
    57  bool operator==(const AuthPropertyIterator& rhs) const;
    -
    58  bool operator!=(const AuthPropertyIterator& rhs) const;
    -
    59  const AuthProperty operator*();
    -
    60 
    -
    61  protected:
    - -
    63  AuthPropertyIterator(const grpc_auth_property* property,
    -
    64  const grpc_auth_property_iterator* iter);
    -
    65  private:
    -
    66  friend class SecureAuthContext;
    -
    67  const grpc_auth_property* property_;
    -
    68  // The following items form a grpc_auth_property_iterator.
    -
    69  const grpc_auth_context* ctx_;
    -
    70  size_t index_;
    -
    71  const char* name_;
    -
    72 };
    -
    73 
    -
    74 } // namespace grpc
    -
    75 
    -
    76  #endif // GRPCXX_AUTH_PROPERTY_ITERATOR_H
    -
    77 
    -
    std::pair< grpc::string, grpc::string > AuthProperty
    Definition: auth_property_iterator.h:47
    - - -
    bool operator!=(const AuthPropertyIterator &rhs) const
    -
    const AuthProperty operator*()
    -
    bool operator==(const AuthPropertyIterator &rhs) const
    -
    AuthPropertyIterator & operator++()
    -
    Definition: auth_property_iterator.h:51
    - -
    friend class SecureAuthContext
    Definition: auth_property_iterator.h:66
    +
    37 #include <map>
    +
    38 
    + +
    40 #include <grpc++/support/status.h>
    + +
    42 
    +
    43 namespace grpc {
    +
    44 
    + +
    46  public:
    +
    47  typedef std::multimap<grpc::string_ref, grpc::string_ref> InputMetadata;
    +
    48  typedef std::multimap<grpc::string, grpc::string_ref> OutputMetadata;
    +
    49 
    + +
    51 
    +
    52  // If this method returns true, the Process function will be scheduled in
    +
    53  // a different thread from the one processing the call.
    +
    54  virtual bool IsBlocking() const { return true; }
    +
    55 
    +
    56  // context is read/write: it contains the properties of the channel peer and
    +
    57  // it is the job of the Process method to augment it with properties derived
    +
    58  // from the passed-in auth_metadata.
    +
    59  // consumed_auth_metadata needs to be filled with metadata that has been
    +
    60  // consumed by the processor and will be removed from the call.
    +
    61  // response_metadata is the metadata that will be sent as part of the
    +
    62  // response.
    +
    63  // If the return value is not Status::OK, the rpc call will be aborted with
    +
    64  // the error code and error message sent back to the client.
    +
    65  virtual Status Process(const InputMetadata& auth_metadata,
    +
    66  AuthContext* context,
    +
    67  OutputMetadata* consumed_auth_metadata,
    +
    68  OutputMetadata* response_metadata) = 0;
    +
    69 };
    +
    70 
    +
    71 } // namespace grpc
    +
    72 
    +
    73 #endif // GRPCXX_AUTH_METADATA_PROCESSOR_H_
    +
    74 
    + +
    virtual bool IsBlocking() const
    Definition: auth_metadata_processor.h:54
    +
    Class encapsulating the Authentication Information.
    Definition: auth_context.h:81
    +
    Definition: auth_metadata_processor.h:45
    +
    virtual ~AuthMetadataProcessor()
    Definition: auth_metadata_processor.h:50
    + + +
    virtual Status Process(const InputMetadata &auth_metadata, AuthContext *context, OutputMetadata *consumed_auth_metadata, OutputMetadata *response_metadata)=0
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    std::multimap< grpc::string, grpc::string_ref > OutputMetadata
    Definition: auth_metadata_processor.h:48
    +
    std::multimap< grpc::string_ref, grpc::string_ref > InputMetadata
    Definition: auth_metadata_processor.h:47
    diff --git a/doc/ref/c++/html/byte__buffer_8h.html b/doc/ref/c++/html/byte__buffer_8h.html index bbde3a84b82..06afcc1bb4f 100644 --- a/doc/ref/c++/html/byte__buffer_8h.html +++ b/doc/ref/c++/html/byte__buffer_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/byte_buffer.h File Reference +GRPC C++: include/grpc++/support/byte_buffer.h File Reference @@ -23,7 +23,7 @@
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -95,10 +95,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include <grpc/grpc.h>
    #include <grpc/byte_buffer.h>
    #include <grpc/support/log.h>
    -#include <grpc++/config.h>
    -#include <grpc++/slice.h>
    -#include <grpc++/status.h>
    #include <grpc++/impl/serialization_traits.h>
    +#include <grpc++/support/config.h>
    +#include <grpc++/support/slice.h>
    +#include <grpc++/support/status.h>
    #include <vector>

    Go to the source code of this file.

    @@ -106,6 +106,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    + @@ -118,7 +119,7 @@ Namespaces diff --git a/doc/ref/c++/html/byte__buffer_8h_source.html b/doc/ref/c++/html/byte__buffer_8h_source.html index d8f13b82600..99c4e395412 100644 --- a/doc/ref/c++/html/byte__buffer_8h_source.html +++ b/doc/ref/c++/html/byte__buffer_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/byte_buffer.h Source File +GRPC C++: include/grpc++/support/byte_buffer.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,98 +122,96 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_BYTE_BUFFER_H
    -
    35 #define GRPCXX_BYTE_BUFFER_H
    +
    34 #ifndef GRPCXX_SUPPORT_BYTE_BUFFER_H
    +
    35 #define GRPCXX_SUPPORT_BYTE_BUFFER_H
    36 
    37 #include <grpc/grpc.h>
    38 #include <grpc/byte_buffer.h>
    39 #include <grpc/support/log.h>
    -
    40 #include <grpc++/config.h>
    -
    41 #include <grpc++/slice.h>
    -
    42 #include <grpc++/status.h>
    - + +
    41 #include <grpc++/support/config.h>
    +
    42 #include <grpc++/support/slice.h>
    +
    43 #include <grpc++/support/status.h>
    44 
    45 #include <vector>
    46 
    47 namespace grpc {
    48 
    - -
    50  public:
    -
    51  ByteBuffer() : buffer_(nullptr) {}
    -
    52 
    -
    53  ByteBuffer(const Slice* slices, size_t nslices);
    + +
    51  public:
    +
    53  ByteBuffer() : buffer_(nullptr) {}
    54 
    - -
    56  if (buffer_) {
    -
    57  grpc_byte_buffer_destroy(buffer_);
    -
    58  }
    -
    59  }
    -
    60 
    +
    56  ByteBuffer(const Slice* slices, size_t nslices);
    +
    57 
    +
    58  ~ByteBuffer();
    +
    59 
    61  void Dump(std::vector<Slice>* slices) const;
    62 
    -
    63  void Clear();
    -
    64  size_t Length() const;
    +
    64  void Clear();
    65 
    -
    66  private:
    -
    67  friend class SerializationTraits<ByteBuffer, void>;
    +
    67  size_t Length() const;
    68 
    -
    69  ByteBuffer(const ByteBuffer&);
    -
    70  ByteBuffer& operator=(const ByteBuffer&);
    +
    69  private:
    +
    70  friend class SerializationTraits<ByteBuffer, void>;
    71 
    -
    72  // takes ownership
    -
    73  void set_buffer(grpc_byte_buffer* buf) {
    -
    74  if (buffer_) {
    -
    75  gpr_log(GPR_ERROR, "Overriding existing buffer");
    -
    76  Clear();
    -
    77  }
    -
    78  buffer_ = buf;
    -
    79  }
    -
    80 
    -
    81  grpc_byte_buffer* buffer() const { return buffer_; }
    -
    82 
    -
    83  grpc_byte_buffer* buffer_;
    -
    84 };
    -
    85 
    -
    86 template <>
    - -
    88  public:
    -
    89  static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
    -
    90  int max_message_size) {
    -
    91  dest->set_buffer(byte_buffer);
    -
    92  return Status::OK;
    -
    93  }
    -
    94  static Status Serialize(const ByteBuffer& source, grpc_byte_buffer** buffer,
    -
    95  bool* own_buffer) {
    -
    96  *buffer = source.buffer();
    -
    97  *own_buffer = false;
    -
    98  return Status::OK;
    -
    99  }
    -
    100 };
    -
    101 
    -
    102 } // namespace grpc
    -
    103 
    -
    104 #endif // GRPCXX_BYTE_BUFFER_H
    - -
    Definition: slice.h:42
    +
    72  ByteBuffer(const ByteBuffer&);
    +
    73  ByteBuffer& operator=(const ByteBuffer&);
    +
    74 
    +
    75  // takes ownership
    +
    76  void set_buffer(grpc_byte_buffer* buf) {
    +
    77  if (buffer_) {
    +
    78  gpr_log(GPR_ERROR, "Overriding existing buffer");
    +
    79  Clear();
    +
    80  }
    +
    81  buffer_ = buf;
    +
    82  }
    +
    83 
    +
    84  // For \a SerializationTraits's usage.
    +
    85  grpc_byte_buffer* buffer() const { return buffer_; }
    +
    86 
    +
    87  grpc_byte_buffer* buffer_;
    +
    88 };
    +
    89 
    +
    90 template <>
    + +
    92  public:
    +
    93  static Status Deserialize(grpc_byte_buffer* byte_buffer, ByteBuffer* dest,
    +
    94  int max_message_size) {
    +
    95  dest->set_buffer(byte_buffer);
    +
    96  return Status::OK;
    +
    97  }
    +
    98  static Status Serialize(const ByteBuffer& source, grpc_byte_buffer** buffer,
    +
    99  bool* own_buffer) {
    +
    100  *buffer = source.buffer();
    +
    101  *own_buffer = false;
    +
    102  return Status::OK;
    +
    103  }
    +
    104 };
    +
    105 
    +
    106 } // namespace grpc
    +
    107 
    +
    108 #endif // GRPCXX_SUPPORT_BYTE_BUFFER_H
    +
    void Clear()
    Remove all data.
    +
    A wrapper around grpc_slice.
    Definition: slice.h:47
    #define GRPC_FINAL
    Definition: config.h:71
    -
    static Status Deserialize(grpc_byte_buffer *byte_buffer, ByteBuffer *dest, int max_message_size)
    Definition: byte_buffer.h:89
    +
    static Status Deserialize(grpc_byte_buffer *byte_buffer, ByteBuffer *dest, int max_message_size)
    Definition: byte_buffer.h:93
    Defines how to serialize and deserialize some type.
    Definition: serialization_traits.h:64
    -
    size_t Length() const
    -
    void Dump(std::vector< Slice > *slices) const
    +
    size_t Length() const
    Buffer size in bytes.
    +
    void Dump(std::vector< Slice > *slices) const
    Dump (read) the buffer contents into slices.
    -
    Definition: status.h:42
    -
    ~ByteBuffer()
    Definition: byte_buffer.h:55
    -
    static Status Serialize(const ByteBuffer &source, grpc_byte_buffer **buffer, bool *own_buffer)
    Definition: byte_buffer.h:94
    -
    static const Status & OK
    Definition: status.h:49
    -
    ByteBuffer()
    Definition: byte_buffer.h:51
    -
    Definition: byte_buffer.h:49
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    + +
    static Status Serialize(const ByteBuffer &source, grpc_byte_buffer **buffer, bool *own_buffer)
    Definition: byte_buffer.h:98
    +
    static const Status & OK
    An OK pre-defined instance.
    Definition: status.h:57
    +
    ByteBuffer()
    Constuct an empty buffer.
    Definition: byte_buffer.h:53
    +
    A sequence of bytes.
    Definition: byte_buffer.h:50
    diff --git a/doc/ref/c++/html/call_8h.html b/doc/ref/c++/html/call_8h.html index 40c4677bb37..4c7b570fc02 100644 --- a/doc/ref/c++/html/call_8h.html +++ b/doc/ref/c++/html/call_8h.html @@ -23,7 +23,7 @@ @@ -93,16 +93,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    call.h File Reference
    -
    #include <grpc/support/alloc.h>
    +
    #include <functional>
    +#include <memory>
    +#include <map>
    +#include <cstring>
    +#include <grpc/support/alloc.h>
    #include <grpc++/client_context.h>
    #include <grpc++/completion_queue.h>
    -#include <grpc++/config.h>
    -#include <grpc++/status.h>
    #include <grpc++/impl/serialization_traits.h>
    -#include <functional>
    -#include <memory>
    -#include <map>
    -#include <string.h>
    +#include <grpc++/support/config.h>
    +#include <grpc++/support/status.h>

    Go to the source code of this file.

    @@ -110,7 +112,7 @@ Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0

    Data Structures

    class  grpc::ByteBuffer
     A sequence of bytes. More...
     
    class  grpc::SerializationTraits< ByteBuffer, void >
     
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -135,7 +135,7 @@ Data Structures - + @@ -157,15 +157,15 @@ Namespaces
    class  grpc::CallOpClientRecvStatus
     
    class  grpc::CallOpSetInterface
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     
    class  grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
     Primary implementaiton of CallOpSetInterface. More...
    - - + +

    Functions

    void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
     
    void grpc::FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
     
    grpc_metadata * grpc::FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
     
    diff --git a/doc/ref/c++/html/call_8h_source.html b/doc/ref/c++/html/call_8h_source.html index 8f988de3b1a..f7330eb0192 100644 --- a/doc/ref/c++/html/call_8h_source.html +++ b/doc/ref/c++/html/call_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -125,29 +125,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_CALL_H
    35 #define GRPCXX_IMPL_CALL_H
    36 
    -
    37 #include <grpc/support/alloc.h>
    -
    38 #include <grpc++/client_context.h>
    - -
    40 #include <grpc++/config.h>
    -
    41 #include <grpc++/status.h>
    - -
    43 
    -
    44 #include <functional>
    -
    45 #include <memory>
    -
    46 #include <map>
    -
    47 
    -
    48 #include <string.h>
    -
    49 
    -
    50 struct grpc_call;
    -
    51 struct grpc_op;
    -
    52 
    -
    53 namespace grpc {
    -
    54 
    -
    55 class ByteBuffer;
    -
    56 class Call;
    -
    57 
    -
    58 void FillMetadataMap(grpc_metadata_array* arr,
    -
    59  std::multimap<grpc::string, grpc::string>* metadata);
    +
    37 #include <functional>
    +
    38 #include <memory>
    +
    39 #include <map>
    +
    40 #include <cstring>
    +
    41 
    +
    42 #include <grpc/support/alloc.h>
    +
    43 #include <grpc++/client_context.h>
    + + +
    46 #include <grpc++/support/config.h>
    +
    47 #include <grpc++/support/status.h>
    +
    48 
    +
    49 struct grpc_call;
    +
    50 struct grpc_op;
    +
    51 
    +
    52 namespace grpc {
    +
    53 
    +
    54 class ByteBuffer;
    +
    55 class Call;
    +
    56 
    +
    57 void FillMetadataMap(
    +
    58  grpc_metadata_array* arr,
    +
    59  std::multimap<grpc::string_ref, grpc::string_ref>* metadata);
    60 grpc_metadata* FillMetadataArray(
    61  const std::multimap<grpc::string, grpc::string>& metadata);
    62 
    @@ -156,588 +156,583 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    66  WriteOptions() : flags_(0) {}
    67  WriteOptions(const WriteOptions& other) : flags_(other.flags_) {}
    68 
    -
    70  inline void Clear() {
    -
    71  flags_ = 0;
    -
    72  }
    -
    73 
    -
    75  inline gpr_uint32 flags() const {
    -
    76  return flags_;
    -
    77  }
    -
    78 
    - -
    83  SetBit(GRPC_WRITE_NO_COMPRESS);
    -
    84  return *this;
    -
    85  }
    -
    86 
    - -
    91  ClearBit(GRPC_WRITE_NO_COMPRESS);
    -
    92  return *this;
    -
    93  }
    -
    94 
    -
    99  inline bool get_no_compression() const {
    -
    100  return GetBit(GRPC_WRITE_NO_COMPRESS);
    -
    101  }
    -
    102 
    - -
    108  SetBit(GRPC_WRITE_BUFFER_HINT);
    -
    109  return *this;
    -
    110  }
    -
    111 
    - -
    117  ClearBit(GRPC_WRITE_BUFFER_HINT);
    -
    118  return *this;
    -
    119  }
    -
    120 
    -
    125  inline bool get_buffer_hint() const {
    -
    126  return GetBit(GRPC_WRITE_BUFFER_HINT);
    -
    127  }
    -
    128 
    - -
    130  flags_ = rhs.flags_;
    -
    131  return *this;
    -
    132  }
    -
    133 
    -
    134  private:
    -
    135  void SetBit(const gpr_int32 mask) {
    -
    136  flags_ |= mask;
    -
    137  }
    -
    138 
    -
    139  void ClearBit(const gpr_int32 mask) {
    -
    140  flags_ &= ~mask;
    -
    141  }
    -
    142 
    -
    143  bool GetBit(const gpr_int32 mask) const {
    -
    144  return flags_ & mask;
    -
    145  }
    +
    70  inline void Clear() { flags_ = 0; }
    +
    71 
    +
    73  inline gpr_uint32 flags() const { return flags_; }
    +
    74 
    + +
    79  SetBit(GRPC_WRITE_NO_COMPRESS);
    +
    80  return *this;
    +
    81  }
    +
    82 
    + +
    87  ClearBit(GRPC_WRITE_NO_COMPRESS);
    +
    88  return *this;
    +
    89  }
    +
    90 
    +
    95  inline bool get_no_compression() const {
    +
    96  return GetBit(GRPC_WRITE_NO_COMPRESS);
    +
    97  }
    +
    98 
    + +
    104  SetBit(GRPC_WRITE_BUFFER_HINT);
    +
    105  return *this;
    +
    106  }
    +
    107 
    + +
    113  ClearBit(GRPC_WRITE_BUFFER_HINT);
    +
    114  return *this;
    +
    115  }
    +
    116 
    +
    121  inline bool get_buffer_hint() const { return GetBit(GRPC_WRITE_BUFFER_HINT); }
    +
    122 
    + +
    124  flags_ = rhs.flags_;
    +
    125  return *this;
    +
    126  }
    +
    127 
    +
    128  private:
    +
    129  void SetBit(const gpr_int32 mask) { flags_ |= mask; }
    +
    130 
    +
    131  void ClearBit(const gpr_int32 mask) { flags_ &= ~mask; }
    +
    132 
    +
    133  bool GetBit(const gpr_int32 mask) const { return flags_ & mask; }
    +
    134 
    +
    135  gpr_uint32 flags_;
    +
    136 };
    +
    137 
    +
    140 template <int I>
    +
    141 class CallNoOp {
    +
    142  protected:
    +
    143  void AddOp(grpc_op* ops, size_t* nops) {}
    +
    144  void FinishOp(bool* status, int max_message_size) {}
    +
    145 };
    146 
    -
    147  gpr_uint32 flags_;
    -
    148 };
    -
    149 
    -
    152 template <int I>
    -
    153 class CallNoOp {
    -
    154  protected:
    -
    155  void AddOp(grpc_op* ops, size_t* nops) {}
    -
    156  void FinishOp(bool* status, int max_message_size) {}
    -
    157 };
    -
    158 
    - -
    160  public:
    - -
    162 
    - -
    164  const std::multimap<grpc::string, grpc::string>& metadata) {
    -
    165  send_ = true;
    -
    166  initial_metadata_count_ = metadata.size();
    - -
    168  }
    -
    169 
    -
    170  protected:
    -
    171  void AddOp(grpc_op* ops, size_t* nops) {
    -
    172  if (!send_) return;
    -
    173  grpc_op* op = &ops[(*nops)++];
    -
    174  op->op = GRPC_OP_SEND_INITIAL_METADATA;
    -
    175  op->flags = 0;
    -
    176  op->data.send_initial_metadata.count = initial_metadata_count_;
    -
    177  op->data.send_initial_metadata.metadata = initial_metadata_;
    -
    178  }
    -
    179  void FinishOp(bool* status, int max_message_size) {
    -
    180  if (!send_) return;
    -
    181  gpr_free(initial_metadata_);
    -
    182  send_ = false;
    -
    183  }
    -
    184 
    -
    185  bool send_;
    - -
    187  grpc_metadata* initial_metadata_;
    -
    188 };
    -
    189 
    - -
    191  public:
    -
    192  CallOpSendMessage() : send_buf_(nullptr), own_buf_(false) {}
    -
    193 
    -
    196  template <class M>
    -
    197  Status SendMessage(const M& message,
    -
    198  const WriteOptions& options) GRPC_MUST_USE_RESULT;
    -
    199 
    -
    200  template <class M>
    -
    201  Status SendMessage(const M& message) GRPC_MUST_USE_RESULT;
    -
    202 
    -
    203  protected:
    -
    204  void AddOp(grpc_op* ops, size_t* nops) {
    -
    205  if (send_buf_ == nullptr) return;
    -
    206  grpc_op* op = &ops[(*nops)++];
    -
    207  op->op = GRPC_OP_SEND_MESSAGE;
    -
    208  op->flags = write_options_.flags();
    -
    209  op->data.send_message = send_buf_;
    -
    210  // Flags are per-message: clear them after use.
    -
    211  write_options_.Clear();
    -
    212  }
    -
    213  void FinishOp(bool* status, int max_message_size) {
    -
    214  if (own_buf_) grpc_byte_buffer_destroy(send_buf_);
    -
    215  send_buf_ = nullptr;
    -
    216  }
    -
    217 
    -
    218  private:
    -
    219  grpc_byte_buffer* send_buf_;
    -
    220  WriteOptions write_options_;
    -
    221  bool own_buf_;
    -
    222 };
    -
    223 
    -
    224 template <class M>
    - -
    226  const WriteOptions& options) {
    -
    227  write_options_ = options;
    -
    228  return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
    -
    229 }
    + +
    148  public:
    + +
    150 
    + +
    152  const std::multimap<grpc::string, grpc::string>& metadata) {
    +
    153  send_ = true;
    +
    154  initial_metadata_count_ = metadata.size();
    + +
    156  }
    +
    157 
    +
    158  protected:
    +
    159  void AddOp(grpc_op* ops, size_t* nops) {
    +
    160  if (!send_) return;
    +
    161  grpc_op* op = &ops[(*nops)++];
    +
    162  op->op = GRPC_OP_SEND_INITIAL_METADATA;
    +
    163  op->flags = 0;
    +
    164  op->reserved = NULL;
    +
    165  op->data.send_initial_metadata.count = initial_metadata_count_;
    +
    166  op->data.send_initial_metadata.metadata = initial_metadata_;
    +
    167  }
    +
    168  void FinishOp(bool* status, int max_message_size) {
    +
    169  if (!send_) return;
    +
    170  gpr_free(initial_metadata_);
    +
    171  send_ = false;
    +
    172  }
    +
    173 
    +
    174  bool send_;
    + +
    176  grpc_metadata* initial_metadata_;
    +
    177 };
    +
    178 
    + +
    180  public:
    +
    181  CallOpSendMessage() : send_buf_(nullptr), own_buf_(false) {}
    +
    182 
    +
    185  template <class M>
    +
    186  Status SendMessage(const M& message,
    +
    187  const WriteOptions& options) GRPC_MUST_USE_RESULT;
    +
    188 
    +
    189  template <class M>
    +
    190  Status SendMessage(const M& message) GRPC_MUST_USE_RESULT;
    +
    191 
    +
    192  protected:
    +
    193  void AddOp(grpc_op* ops, size_t* nops) {
    +
    194  if (send_buf_ == nullptr) return;
    +
    195  grpc_op* op = &ops[(*nops)++];
    +
    196  op->op = GRPC_OP_SEND_MESSAGE;
    +
    197  op->flags = write_options_.flags();
    +
    198  op->reserved = NULL;
    +
    199  op->data.send_message = send_buf_;
    +
    200  // Flags are per-message: clear them after use.
    +
    201  write_options_.Clear();
    +
    202  }
    +
    203  void FinishOp(bool* status, int max_message_size) {
    +
    204  if (own_buf_) grpc_byte_buffer_destroy(send_buf_);
    +
    205  send_buf_ = nullptr;
    +
    206  }
    +
    207 
    +
    208  private:
    +
    209  grpc_byte_buffer* send_buf_;
    +
    210  WriteOptions write_options_;
    +
    211  bool own_buf_;
    +
    212 };
    +
    213 
    +
    214 template <class M>
    + +
    216  const WriteOptions& options) {
    +
    217  write_options_ = options;
    +
    218  return SerializationTraits<M>::Serialize(message, &send_buf_, &own_buf_);
    +
    219 }
    +
    220 
    +
    221 template <class M>
    + +
    223  return SendMessage(message, WriteOptions());
    +
    224 }
    +
    225 
    +
    226 template <class R>
    + +
    228  public:
    +
    229  CallOpRecvMessage() : got_message(false), message_(nullptr) {}
    230 
    -
    231 template <class M>
    - -
    233  return SendMessage(message, WriteOptions());
    -
    234 }
    -
    235 
    -
    236 template <class R>
    - -
    238  public:
    -
    239  CallOpRecvMessage() : got_message(false), message_(nullptr) {}
    -
    240 
    -
    241  void RecvMessage(R* message) { message_ = message; }
    -
    242 
    - +
    231  void RecvMessage(R* message) { message_ = message; }
    +
    232 
    + +
    234 
    +
    235  protected:
    +
    236  void AddOp(grpc_op* ops, size_t* nops) {
    +
    237  if (message_ == nullptr) return;
    +
    238  grpc_op* op = &ops[(*nops)++];
    +
    239  op->op = GRPC_OP_RECV_MESSAGE;
    +
    240  op->flags = 0;
    +
    241  op->reserved = NULL;
    +
    242  op->data.recv_message = &recv_buf_;
    +
    243  }
    244 
    -
    245  protected:
    -
    246  void AddOp(grpc_op* ops, size_t* nops) {
    -
    247  if (message_ == nullptr) return;
    -
    248  grpc_op* op = &ops[(*nops)++];
    -
    249  op->op = GRPC_OP_RECV_MESSAGE;
    -
    250  op->flags = 0;
    -
    251  op->data.recv_message = &recv_buf_;
    -
    252  }
    -
    253 
    -
    254  void FinishOp(bool* status, int max_message_size) {
    -
    255  if (message_ == nullptr) return;
    -
    256  if (recv_buf_) {
    -
    257  if (*status) {
    -
    258  got_message = true;
    -
    259  *status = SerializationTraits<R>::Deserialize(recv_buf_, message_,
    -
    260  max_message_size)
    -
    261  .ok();
    -
    262  } else {
    -
    263  got_message = false;
    -
    264  grpc_byte_buffer_destroy(recv_buf_);
    -
    265  }
    -
    266  } else {
    -
    267  got_message = false;
    -
    268  *status = false;
    -
    269  }
    -
    270  message_ = nullptr;
    -
    271  }
    -
    272 
    -
    273  private:
    -
    274  R* message_;
    -
    275  grpc_byte_buffer* recv_buf_;
    -
    276 };
    -
    277 
    -
    278 namespace CallOpGenericRecvMessageHelper {
    - -
    280  public:
    -
    281  virtual Status Deserialize(grpc_byte_buffer* buf, int max_message_size) = 0;
    -
    282 };
    +
    245  void FinishOp(bool* status, int max_message_size) {
    +
    246  if (message_ == nullptr) return;
    +
    247  if (recv_buf_) {
    +
    248  if (*status) {
    +
    249  got_message = true;
    +
    250  *status = SerializationTraits<R>::Deserialize(recv_buf_, message_,
    +
    251  max_message_size)
    +
    252  .ok();
    +
    253  } else {
    +
    254  got_message = false;
    +
    255  grpc_byte_buffer_destroy(recv_buf_);
    +
    256  }
    +
    257  } else {
    +
    258  got_message = false;
    +
    259  *status = false;
    +
    260  }
    +
    261  message_ = nullptr;
    +
    262  }
    +
    263 
    +
    264  private:
    +
    265  R* message_;
    +
    266  grpc_byte_buffer* recv_buf_;
    +
    267 };
    +
    268 
    +
    269 namespace CallOpGenericRecvMessageHelper {
    + +
    271  public:
    +
    272  virtual Status Deserialize(grpc_byte_buffer* buf, int max_message_size) = 0;
    +
    273 };
    +
    274 
    +
    275 template <class R>
    + +
    277  public:
    +
    278  DeserializeFuncType(R* message) : message_(message) {}
    +
    279  Status Deserialize(grpc_byte_buffer* buf,
    +
    280  int max_message_size) GRPC_OVERRIDE {
    +
    281  return SerializationTraits<R>::Deserialize(buf, message_, max_message_size);
    +
    282  }
    283 
    -
    284 template <class R>
    - -
    286  public:
    -
    287  DeserializeFuncType(R* message) : message_(message) {}
    -
    288  Status Deserialize(grpc_byte_buffer* buf,
    -
    289  int max_message_size) GRPC_OVERRIDE {
    -
    290  return SerializationTraits<R>::Deserialize(buf, message_, max_message_size);
    -
    291  }
    +
    284  private:
    +
    285  R* message_; // Not a managed pointer because management is external to this
    +
    286 };
    +
    287 } // namespace CallOpGenericRecvMessageHelper
    +
    288 
    + +
    290  public:
    +
    292 
    -
    293  private:
    -
    294  R* message_; // Not a managed pointer because management is external to this
    -
    295 };
    -
    296 } // namespace CallOpGenericRecvMessageHelper
    -
    297 
    - -
    299  public:
    - -
    301 
    -
    302  template <class R>
    -
    303  void RecvMessage(R* message) {
    -
    304  deserialize_.reset(
    - -
    306  }
    -
    307 
    - -
    309 
    -
    310  protected:
    -
    311  void AddOp(grpc_op* ops, size_t* nops) {
    +
    293  template <class R>
    +
    294  void RecvMessage(R* message) {
    +
    295  deserialize_.reset(
    + +
    297  }
    +
    298 
    + +
    300 
    +
    301  protected:
    +
    302  void AddOp(grpc_op* ops, size_t* nops) {
    +
    303  if (!deserialize_) return;
    +
    304  grpc_op* op = &ops[(*nops)++];
    +
    305  op->op = GRPC_OP_RECV_MESSAGE;
    +
    306  op->flags = 0;
    +
    307  op->reserved = NULL;
    +
    308  op->data.recv_message = &recv_buf_;
    +
    309  }
    +
    310 
    +
    311  void FinishOp(bool* status, int max_message_size) {
    312  if (!deserialize_) return;
    -
    313  grpc_op* op = &ops[(*nops)++];
    -
    314  op->op = GRPC_OP_RECV_MESSAGE;
    -
    315  op->flags = 0;
    -
    316  op->data.recv_message = &recv_buf_;
    -
    317  }
    -
    318 
    -
    319  void FinishOp(bool* status, int max_message_size) {
    -
    320  if (!deserialize_) return;
    -
    321  if (recv_buf_) {
    -
    322  if (*status) {
    -
    323  got_message = true;
    -
    324  *status = deserialize_->Deserialize(recv_buf_, max_message_size).ok();
    -
    325  } else {
    -
    326  got_message = false;
    -
    327  grpc_byte_buffer_destroy(recv_buf_);
    -
    328  }
    -
    329  } else {
    -
    330  got_message = false;
    -
    331  *status = false;
    -
    332  }
    -
    333  deserialize_.reset();
    -
    334  }
    -
    335 
    -
    336  private:
    -
    337  std::unique_ptr<CallOpGenericRecvMessageHelper::DeserializeFunc> deserialize_;
    -
    338  grpc_byte_buffer* recv_buf_;
    -
    339 };
    -
    340 
    - -
    342  public:
    -
    343  CallOpClientSendClose() : send_(false) {}
    -
    344 
    -
    345  void ClientSendClose() { send_ = true; }
    -
    346 
    -
    347  protected:
    -
    348  void AddOp(grpc_op* ops, size_t* nops) {
    -
    349  if (!send_) return;
    -
    350  grpc_op* op = &ops[(*nops)++];
    -
    351  op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
    -
    352  op->flags = 0;
    -
    353  }
    -
    354  void FinishOp(bool* status, int max_message_size) { send_ = false; }
    -
    355 
    -
    356  private:
    -
    357  bool send_;
    -
    358 };
    -
    359 
    - -
    361  public:
    -
    362  CallOpServerSendStatus() : send_status_available_(false) {}
    -
    363 
    - -
    365  const std::multimap<grpc::string, grpc::string>& trailing_metadata,
    -
    366  const Status& status) {
    -
    367  trailing_metadata_count_ = trailing_metadata.size();
    -
    368  trailing_metadata_ = FillMetadataArray(trailing_metadata);
    -
    369  send_status_available_ = true;
    -
    370  send_status_code_ = static_cast<grpc_status_code>(status.error_code());
    -
    371  send_status_details_ = status.error_message();
    -
    372  }
    -
    373 
    -
    374  protected:
    -
    375  void AddOp(grpc_op* ops, size_t* nops) {
    -
    376  if (!send_status_available_) return;
    -
    377  grpc_op* op = &ops[(*nops)++];
    -
    378  op->op = GRPC_OP_SEND_STATUS_FROM_SERVER;
    -
    379  op->data.send_status_from_server.trailing_metadata_count =
    -
    380  trailing_metadata_count_;
    -
    381  op->data.send_status_from_server.trailing_metadata = trailing_metadata_;
    -
    382  op->data.send_status_from_server.status = send_status_code_;
    -
    383  op->data.send_status_from_server.status_details =
    -
    384  send_status_details_.empty() ? nullptr : send_status_details_.c_str();
    -
    385  op->flags = 0;
    +
    313  if (recv_buf_) {
    +
    314  if (*status) {
    +
    315  got_message = true;
    +
    316  *status = deserialize_->Deserialize(recv_buf_, max_message_size).ok();
    +
    317  } else {
    +
    318  got_message = false;
    +
    319  grpc_byte_buffer_destroy(recv_buf_);
    +
    320  }
    +
    321  } else {
    +
    322  got_message = false;
    +
    323  *status = false;
    +
    324  }
    +
    325  deserialize_.reset();
    +
    326  }
    +
    327 
    +
    328  private:
    +
    329  std::unique_ptr<CallOpGenericRecvMessageHelper::DeserializeFunc> deserialize_;
    +
    330  grpc_byte_buffer* recv_buf_;
    +
    331 };
    +
    332 
    + +
    334  public:
    +
    335  CallOpClientSendClose() : send_(false) {}
    +
    336 
    +
    337  void ClientSendClose() { send_ = true; }
    +
    338 
    +
    339  protected:
    +
    340  void AddOp(grpc_op* ops, size_t* nops) {
    +
    341  if (!send_) return;
    +
    342  grpc_op* op = &ops[(*nops)++];
    +
    343  op->op = GRPC_OP_SEND_CLOSE_FROM_CLIENT;
    +
    344  op->flags = 0;
    +
    345  op->reserved = NULL;
    +
    346  }
    +
    347  void FinishOp(bool* status, int max_message_size) { send_ = false; }
    +
    348 
    +
    349  private:
    +
    350  bool send_;
    +
    351 };
    +
    352 
    + +
    354  public:
    +
    355  CallOpServerSendStatus() : send_status_available_(false) {}
    +
    356 
    + +
    358  const std::multimap<grpc::string, grpc::string>& trailing_metadata,
    +
    359  const Status& status) {
    +
    360  trailing_metadata_count_ = trailing_metadata.size();
    +
    361  trailing_metadata_ = FillMetadataArray(trailing_metadata);
    +
    362  send_status_available_ = true;
    +
    363  send_status_code_ = static_cast<grpc_status_code>(status.error_code());
    +
    364  send_status_details_ = status.error_message();
    +
    365  }
    +
    366 
    +
    367  protected:
    +
    368  void AddOp(grpc_op* ops, size_t* nops) {
    +
    369  if (!send_status_available_) return;
    +
    370  grpc_op* op = &ops[(*nops)++];
    +
    371  op->op = GRPC_OP_SEND_STATUS_FROM_SERVER;
    +
    372  op->data.send_status_from_server.trailing_metadata_count =
    +
    373  trailing_metadata_count_;
    +
    374  op->data.send_status_from_server.trailing_metadata = trailing_metadata_;
    +
    375  op->data.send_status_from_server.status = send_status_code_;
    +
    376  op->data.send_status_from_server.status_details =
    +
    377  send_status_details_.empty() ? nullptr : send_status_details_.c_str();
    +
    378  op->flags = 0;
    +
    379  op->reserved = NULL;
    +
    380  }
    +
    381 
    +
    382  void FinishOp(bool* status, int max_message_size) {
    +
    383  if (!send_status_available_) return;
    +
    384  gpr_free(trailing_metadata_);
    +
    385  send_status_available_ = false;
    386  }
    387 
    -
    388  void FinishOp(bool* status, int max_message_size) {
    -
    389  if (!send_status_available_) return;
    -
    390  gpr_free(trailing_metadata_);
    -
    391  send_status_available_ = false;
    -
    392  }
    -
    393 
    -
    394  private:
    -
    395  bool send_status_available_;
    -
    396  grpc_status_code send_status_code_;
    -
    397  grpc::string send_status_details_;
    -
    398  size_t trailing_metadata_count_;
    -
    399  grpc_metadata* trailing_metadata_;
    -
    400 };
    -
    401 
    - -
    403  public:
    -
    404  CallOpRecvInitialMetadata() : recv_initial_metadata_(nullptr) {}
    -
    405 
    - -
    407  context->initial_metadata_received_ = true;
    -
    408  recv_initial_metadata_ = &context->recv_initial_metadata_;
    -
    409  }
    -
    410 
    -
    411  protected:
    -
    412  void AddOp(grpc_op* ops, size_t* nops) {
    -
    413  if (!recv_initial_metadata_) return;
    -
    414  memset(&recv_initial_metadata_arr_, 0, sizeof(recv_initial_metadata_arr_));
    -
    415  grpc_op* op = &ops[(*nops)++];
    -
    416  op->op = GRPC_OP_RECV_INITIAL_METADATA;
    -
    417  op->data.recv_initial_metadata = &recv_initial_metadata_arr_;
    -
    418  op->flags = 0;
    +
    388  private:
    +
    389  bool send_status_available_;
    +
    390  grpc_status_code send_status_code_;
    +
    391  grpc::string send_status_details_;
    +
    392  size_t trailing_metadata_count_;
    +
    393  grpc_metadata* trailing_metadata_;
    +
    394 };
    +
    395 
    + +
    397  public:
    +
    398  CallOpRecvInitialMetadata() : recv_initial_metadata_(nullptr) {}
    +
    399 
    + +
    401  context->initial_metadata_received_ = true;
    +
    402  recv_initial_metadata_ = &context->recv_initial_metadata_;
    +
    403  }
    +
    404 
    +
    405  protected:
    +
    406  void AddOp(grpc_op* ops, size_t* nops) {
    +
    407  if (!recv_initial_metadata_) return;
    +
    408  memset(&recv_initial_metadata_arr_, 0, sizeof(recv_initial_metadata_arr_));
    +
    409  grpc_op* op = &ops[(*nops)++];
    +
    410  op->op = GRPC_OP_RECV_INITIAL_METADATA;
    +
    411  op->data.recv_initial_metadata = &recv_initial_metadata_arr_;
    +
    412  op->flags = 0;
    +
    413  op->reserved = NULL;
    +
    414  }
    +
    415  void FinishOp(bool* status, int max_message_size) {
    +
    416  if (recv_initial_metadata_ == nullptr) return;
    +
    417  FillMetadataMap(&recv_initial_metadata_arr_, recv_initial_metadata_);
    +
    418  recv_initial_metadata_ = nullptr;
    419  }
    -
    420  void FinishOp(bool* status, int max_message_size) {
    -
    421  if (recv_initial_metadata_ == nullptr) return;
    -
    422  FillMetadataMap(&recv_initial_metadata_arr_, recv_initial_metadata_);
    -
    423  recv_initial_metadata_ = nullptr;
    -
    424  }
    +
    420 
    +
    421  private:
    +
    422  std::multimap<grpc::string_ref, grpc::string_ref>* recv_initial_metadata_;
    +
    423  grpc_metadata_array recv_initial_metadata_arr_;
    +
    424 };
    425 
    -
    426  private:
    -
    427  std::multimap<grpc::string, grpc::string>* recv_initial_metadata_;
    -
    428  grpc_metadata_array recv_initial_metadata_arr_;
    -
    429 };
    -
    430 
    - -
    432  public:
    -
    433  CallOpClientRecvStatus() : recv_status_(nullptr) {}
    + +
    427  public:
    +
    428  CallOpClientRecvStatus() : recv_status_(nullptr) {}
    +
    429 
    +
    430  void ClientRecvStatus(ClientContext* context, Status* status) {
    +
    431  recv_trailing_metadata_ = &context->trailing_metadata_;
    +
    432  recv_status_ = status;
    +
    433  }
    434 
    -
    435  void ClientRecvStatus(ClientContext* context, Status* status) {
    -
    436  recv_trailing_metadata_ = &context->trailing_metadata_;
    -
    437  recv_status_ = status;
    -
    438  }
    -
    439 
    -
    440  protected:
    -
    441  void AddOp(grpc_op* ops, size_t* nops) {
    -
    442  if (recv_status_ == nullptr) return;
    -
    443  memset(&recv_trailing_metadata_arr_, 0,
    -
    444  sizeof(recv_trailing_metadata_arr_));
    -
    445  status_details_ = nullptr;
    -
    446  status_details_capacity_ = 0;
    -
    447  grpc_op* op = &ops[(*nops)++];
    -
    448  op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
    -
    449  op->data.recv_status_on_client.trailing_metadata =
    -
    450  &recv_trailing_metadata_arr_;
    -
    451  op->data.recv_status_on_client.status = &status_code_;
    -
    452  op->data.recv_status_on_client.status_details = &status_details_;
    -
    453  op->data.recv_status_on_client.status_details_capacity =
    -
    454  &status_details_capacity_;
    -
    455  op->flags = 0;
    -
    456  }
    -
    457 
    -
    458  void FinishOp(bool* status, int max_message_size) {
    -
    459  if (recv_status_ == nullptr) return;
    -
    460  FillMetadataMap(&recv_trailing_metadata_arr_, recv_trailing_metadata_);
    -
    461  *recv_status_ = Status(
    -
    462  static_cast<StatusCode>(status_code_),
    -
    463  status_details_ ? grpc::string(status_details_) : grpc::string());
    -
    464  gpr_free(status_details_);
    -
    465  recv_status_ = nullptr;
    -
    466  }
    -
    467 
    -
    468  private:
    -
    469  std::multimap<grpc::string, grpc::string>* recv_trailing_metadata_;
    -
    470  Status* recv_status_;
    -
    471  grpc_metadata_array recv_trailing_metadata_arr_;
    -
    472  grpc_status_code status_code_;
    -
    473  char* status_details_;
    -
    474  size_t status_details_capacity_;
    -
    475 };
    -
    476 
    - -
    483  public:
    - -
    487  virtual void FillOps(grpc_op* ops, size_t* nops) = 0;
    +
    435  protected:
    +
    436  void AddOp(grpc_op* ops, size_t* nops) {
    +
    437  if (recv_status_ == nullptr) return;
    +
    438  memset(&recv_trailing_metadata_arr_, 0,
    +
    439  sizeof(recv_trailing_metadata_arr_));
    +
    440  status_details_ = nullptr;
    +
    441  status_details_capacity_ = 0;
    +
    442  grpc_op* op = &ops[(*nops)++];
    +
    443  op->op = GRPC_OP_RECV_STATUS_ON_CLIENT;
    +
    444  op->data.recv_status_on_client.trailing_metadata =
    +
    445  &recv_trailing_metadata_arr_;
    +
    446  op->data.recv_status_on_client.status = &status_code_;
    +
    447  op->data.recv_status_on_client.status_details = &status_details_;
    +
    448  op->data.recv_status_on_client.status_details_capacity =
    +
    449  &status_details_capacity_;
    +
    450  op->flags = 0;
    +
    451  op->reserved = NULL;
    +
    452  }
    +
    453 
    +
    454  void FinishOp(bool* status, int max_message_size) {
    +
    455  if (recv_status_ == nullptr) return;
    +
    456  FillMetadataMap(&recv_trailing_metadata_arr_, recv_trailing_metadata_);
    +
    457  *recv_status_ = Status(
    +
    458  static_cast<StatusCode>(status_code_),
    +
    459  status_details_ ? grpc::string(status_details_) : grpc::string());
    +
    460  gpr_free(status_details_);
    +
    461  recv_status_ = nullptr;
    +
    462  }
    +
    463 
    +
    464  private:
    +
    465  std::multimap<grpc::string_ref, grpc::string_ref>* recv_trailing_metadata_;
    +
    466  Status* recv_status_;
    +
    467  grpc_metadata_array recv_trailing_metadata_arr_;
    +
    468  grpc_status_code status_code_;
    +
    469  char* status_details_;
    +
    470  size_t status_details_capacity_;
    +
    471 };
    +
    472 
    + +
    479  public:
    + +
    483  virtual void FillOps(grpc_op* ops, size_t* nops) = 0;
    +
    484 
    +
    485  void set_max_message_size(int max_message_size) {
    +
    486  max_message_size_ = max_message_size;
    +
    487  }
    488 
    -
    489  void set_max_message_size(int max_message_size) {
    -
    490  max_message_size_ = max_message_size;
    -
    491  }
    +
    489  protected:
    + +
    491 };
    492 
    -
    493  protected:
    - -
    495 };
    -
    496 
    -
    503 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
    -
    504  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
    -
    505  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
    - -
    507  public Op1,
    -
    508  public Op2,
    -
    509  public Op3,
    -
    510  public Op4,
    -
    511  public Op5,
    -
    512  public Op6 {
    -
    513  public:
    -
    514  CallOpSet() : return_tag_(this) {}
    -
    515  void FillOps(grpc_op* ops, size_t* nops) GRPC_OVERRIDE {
    -
    516  this->Op1::AddOp(ops, nops);
    -
    517  this->Op2::AddOp(ops, nops);
    -
    518  this->Op3::AddOp(ops, nops);
    -
    519  this->Op4::AddOp(ops, nops);
    -
    520  this->Op5::AddOp(ops, nops);
    -
    521  this->Op6::AddOp(ops, nops);
    -
    522  }
    -
    523 
    -
    524  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
    -
    525  this->Op1::FinishOp(status, max_message_size_);
    -
    526  this->Op2::FinishOp(status, max_message_size_);
    -
    527  this->Op3::FinishOp(status, max_message_size_);
    -
    528  this->Op4::FinishOp(status, max_message_size_);
    -
    529  this->Op5::FinishOp(status, max_message_size_);
    -
    530  this->Op6::FinishOp(status, max_message_size_);
    -
    531  *tag = return_tag_;
    -
    532  return true;
    -
    533  }
    -
    534 
    -
    535  void set_output_tag(void* return_tag) { return_tag_ = return_tag; }
    +
    499 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
    +
    500  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
    +
    501  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
    + +
    503  public Op1,
    +
    504  public Op2,
    +
    505  public Op3,
    +
    506  public Op4,
    +
    507  public Op5,
    +
    508  public Op6 {
    +
    509  public:
    +
    510  CallOpSet() : return_tag_(this) {}
    +
    511  void FillOps(grpc_op* ops, size_t* nops) GRPC_OVERRIDE {
    +
    512  this->Op1::AddOp(ops, nops);
    +
    513  this->Op2::AddOp(ops, nops);
    +
    514  this->Op3::AddOp(ops, nops);
    +
    515  this->Op4::AddOp(ops, nops);
    +
    516  this->Op5::AddOp(ops, nops);
    +
    517  this->Op6::AddOp(ops, nops);
    +
    518  }
    +
    519 
    +
    520  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
    +
    521  this->Op1::FinishOp(status, max_message_size_);
    +
    522  this->Op2::FinishOp(status, max_message_size_);
    +
    523  this->Op3::FinishOp(status, max_message_size_);
    +
    524  this->Op4::FinishOp(status, max_message_size_);
    +
    525  this->Op5::FinishOp(status, max_message_size_);
    +
    526  this->Op6::FinishOp(status, max_message_size_);
    +
    527  *tag = return_tag_;
    +
    528  return true;
    +
    529  }
    +
    530 
    +
    531  void set_output_tag(void* return_tag) { return_tag_ = return_tag; }
    +
    532 
    +
    533  private:
    +
    534  void* return_tag_;
    +
    535 };
    536 
    -
    537  private:
    -
    538  void* return_tag_;
    -
    539 };
    -
    540 
    -
    545 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
    -
    546  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
    -
    547  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
    - -
    549  : public CallOpSet<Op1, Op2, Op3, Op4, Op5, Op6> {
    -
    550  public:
    -
    551  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
    - -
    553  return Base::FinalizeResult(tag, status) && false;
    -
    554  }
    -
    555 };
    -
    556 
    -
    557 // Channel and Server implement this to allow them to hook performing ops
    -
    558 class CallHook {
    -
    559  public:
    -
    560  virtual ~CallHook() {}
    -
    561  virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
    -
    562 };
    -
    563 
    -
    564 // Straightforward wrapping of the C call object
    - -
    566  public:
    -
    567  /* call is owned by the caller */
    -
    568  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq);
    -
    569  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq,
    -
    570  int max_message_size);
    +
    541 template <class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>,
    +
    542  class Op3 = CallNoOp<3>, class Op4 = CallNoOp<4>,
    +
    543  class Op5 = CallNoOp<5>, class Op6 = CallNoOp<6>>
    +
    544 class SneakyCallOpSet : public CallOpSet<Op1, Op2, Op3, Op4, Op5, Op6> {
    +
    545  public:
    +
    546  bool FinalizeResult(void** tag, bool* status) GRPC_OVERRIDE {
    + +
    548  return Base::FinalizeResult(tag, status) && false;
    +
    549  }
    +
    550 };
    +
    551 
    +
    552 // Channel and Server implement this to allow them to hook performing ops
    +
    553 class CallHook {
    +
    554  public:
    +
    555  virtual ~CallHook() {}
    +
    556  virtual void PerformOpsOnCall(CallOpSetInterface* ops, Call* call) = 0;
    +
    557 };
    +
    558 
    +
    559 // Straightforward wrapping of the C call object
    + +
    561  public:
    +
    562  /* call is owned by the caller */
    +
    563  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq);
    +
    564  Call(grpc_call* call, CallHook* call_hook_, CompletionQueue* cq,
    +
    565  int max_message_size);
    +
    566 
    +
    567  void PerformOps(CallOpSetInterface* ops);
    +
    568 
    +
    569  grpc_call* call() { return call_; }
    +
    570  CompletionQueue* cq() { return cq_; }
    571 
    -
    572  void PerformOps(CallOpSetInterface* ops);
    +
    572  int max_message_size() { return max_message_size_; }
    573 
    -
    574  grpc_call* call() { return call_; }
    -
    575  CompletionQueue* cq() { return cq_; }
    -
    576 
    -
    577  int max_message_size() { return max_message_size_; }
    -
    578 
    -
    579  private:
    -
    580  CallHook* call_hook_;
    -
    581  CompletionQueue* cq_;
    -
    582  grpc_call* call_;
    -
    583  int max_message_size_;
    -
    584 };
    -
    585 
    -
    586 } // namespace grpc
    -
    587 
    -
    588 #endif // GRPCXX_IMPL_CALL_H
    -
    void ServerSendStatus(const std::multimap< grpc::string, grpc::string > &trailing_metadata, const Status &status)
    Definition: call.h:364
    +
    574  private:
    +
    575  CallHook* call_hook_;
    +
    576  CompletionQueue* cq_;
    +
    577  grpc_call* call_;
    +
    578  int max_message_size_;
    +
    579 };
    +
    580 
    +
    581 } // namespace grpc
    +
    582 
    +
    583 #endif // GRPCXX_IMPL_CALL_H
    +
    void ServerSendStatus(const std::multimap< grpc::string, grpc::string > &trailing_metadata, const Status &status)
    Definition: call.h:357
    Call(grpc_call *call, CallHook *call_hook_, CompletionQueue *cq)
    -
    CallOpRecvInitialMetadata()
    Definition: call.h:404
    -
    void RecvMessage(R *message)
    Definition: call.h:303
    -
    Definition: completion_queue.h:75
    -
    WriteOptions & clear_buffer_hint()
    Clears flag indicating that the write may be buffered and need not go out on the wire immediately...
    Definition: call.h:116
    -
    Default argument for CallOpSet.
    Definition: call.h:153
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:348
    -
    CallOpServerSendStatus()
    Definition: call.h:362
    -
    void SendInitialMetadata(const std::multimap< grpc::string, grpc::string > &metadata)
    Definition: call.h:163
    -
    void FillMetadataMap(grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
    -
    WriteOptions & set_buffer_hint()
    Sets flag indicating that the write may be buffered and need not go out on the wire immediately...
    Definition: call.h:107
    -
    grpc::string error_message() const
    Definition: status.h:53
    +
    CallOpRecvInitialMetadata()
    Definition: call.h:398
    +
    void RecvMessage(R *message)
    Definition: call.h:294
    +
    An interface allowing implementors to process and filter event tags.
    Definition: completion_queue.h:192
    +
    WriteOptions & clear_buffer_hint()
    Clears flag indicating that the write may be buffered and need not go out on the wire immediately...
    Definition: call.h:112
    +
    Default argument for CallOpSet.
    Definition: call.h:141
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:340
    +
    CallOpServerSendStatus()
    Definition: call.h:355
    +
    void SendInitialMetadata(const std::multimap< grpc::string, grpc::string > &metadata)
    Definition: call.h:151
    +
    WriteOptions & set_buffer_hint()
    Sets flag indicating that the write may be buffered and need not go out on the wire immediately...
    Definition: call.h:103
    +
    grpc::string error_message() const
    Return the instance's error message.
    Definition: status.h:64
    -
    CallOpSendMessage()
    Definition: call.h:192
    +
    CallOpSendMessage()
    Definition: call.h:181
    std::string string
    Definition: config.h:112
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:311
    -
    CompletionQueue * cq()
    Definition: call.h:575
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:319
    -
    WriteOptions & clear_no_compression()
    Clears flag for the disabling of compression for the next message write.
    Definition: call.h:90
    -
    int max_message_size_
    Definition: call.h:494
    -
    bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
    Definition: call.h:551
    -
    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
    Definition: call.h:482
    -
    Definition: call.h:431
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:354
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:246
    -
    bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
    Definition: call.h:524
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:302
    +
    CompletionQueue * cq()
    Definition: call.h:570
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:311
    +
    WriteOptions & clear_no_compression()
    Clears flag for the disabling of compression for the next message write.
    Definition: call.h:86
    +
    int max_message_size_
    Definition: call.h:490
    +
    bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
    Definition: call.h:546
    +
    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
    Definition: call.h:478
    +
    Definition: call.h:426
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:347
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:236
    +
    bool FinalizeResult(void **tag, bool *status) GRPC_OVERRIDE
    Definition: call.h:520
    void Clear()
    Clear all flags.
    Definition: call.h:70
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:213
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:375
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:203
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:368
    WriteOptions()
    Definition: call.h:66
    -
    Definition: call.h:360
    +
    Definition: call.h:353
    #define GRPC_FINAL
    Definition: config.h:71
    -
    void FillOps(grpc_op *ops, size_t *nops) GRPC_OVERRIDE
    Fills in grpc_op, starting from ops[*nops] and moving upwards.
    Definition: call.h:515
    +
    void FillOps(grpc_op *ops, size_t *nops) GRPC_OVERRIDE
    Fills in grpc_op, starting from ops[*nops] and moving upwards.
    Definition: call.h:511
    grpc_metadata * FillMetadataArray(const std::multimap< grpc::string, grpc::string > &metadata)
    -
    grpc_call * call()
    Definition: call.h:574
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:171
    -
    WriteOptions & set_no_compression()
    Sets flag for the disabling of compression for the next message write.
    Definition: call.h:82
    -
    Definition: client_context.h:74
    -
    WriteOptions & operator=(const WriteOptions &rhs)
    Definition: call.h:129
    -
    gpr_uint32 flags() const
    Returns raw flags bitset.
    Definition: call.h:75
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:458
    +
    grpc_call * call()
    Definition: call.h:569
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:159
    +
    WriteOptions & set_no_compression()
    Sets flag for the disabling of compression for the next message write.
    Definition: call.h:78
    +
    Definition: client_context.h:149
    +
    WriteOptions & operator=(const WriteOptions &rhs)
    Definition: call.h:123
    +
    gpr_uint32 flags() const
    Returns raw flags bitset.
    Definition: call.h:73
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:454
    Defines how to serialize and deserialize some type.
    Definition: serialization_traits.h:64
    -
    Definition: call.h:190
    -
    bool send_
    Definition: call.h:185
    -
    CallOpClientRecvStatus()
    Definition: call.h:433
    -
    bool get_no_compression() const
    Get value for the flag indicating whether compression for the next message write is forcefully disabl...
    Definition: call.h:99
    -
    Status Deserialize(grpc_byte_buffer *buf, int max_message_size) GRPC_OVERRIDE
    Definition: call.h:288
    -
    CallOpSet()
    Definition: call.h:514
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:388
    -
    Definition: call.h:341
    -
    CallOpSendInitialMetadata()
    Definition: call.h:161
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:441
    -
    Definition: call.h:565
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:155
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:420
    -
    CallOpSetInterface()
    Definition: call.h:484
    - +
    Definition: call.h:179
    +
    bool send_
    Definition: call.h:174
    +
    CallOpClientRecvStatus()
    Definition: call.h:428
    +
    bool get_no_compression() const
    Get value for the flag indicating whether compression for the next message write is forcefully disabl...
    Definition: call.h:95
    +
    Status Deserialize(grpc_byte_buffer *buf, int max_message_size) GRPC_OVERRIDE
    Definition: call.h:279
    +
    CallOpSet()
    Definition: call.h:510
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:382
    +
    Definition: call.h:333
    +
    CallOpSendInitialMetadata()
    Definition: call.h:149
    +
    void FillMetadataMap(grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:436
    +
    Definition: call.h:560
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:143
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:415
    +
    CallOpSetInterface()
    Definition: call.h:480
    +
    WriteOptions(const WriteOptions &other)
    Definition: call.h:67
    -
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:506
    -
    void ClientSendClose()
    Definition: call.h:345
    -
    Definition: call.h:237
    -
    int max_message_size()
    Definition: call.h:577
    +
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:502
    +
    void ClientSendClose()
    Definition: call.h:337
    +
    Definition: call.h:227
    +
    int max_message_size()
    Definition: call.h:572
    Per-message write options.
    Definition: call.h:64
    -
    CallOpClientSendClose()
    Definition: call.h:343
    -
    bool get_buffer_hint() const
    Get value for the flag indicating that the write may be buffered and need not go out on the wire imme...
    Definition: call.h:125
    -
    CallOpRecvMessage()
    Definition: call.h:239
    -
    StatusCode error_code() const
    Definition: status.h:52
    -
    Definition: completion_queue.h:87
    -
    Status SendMessage(const M &message, const WriteOptions &options) GRPC_MUST_USE_RESULT
    Send message using options for the write.
    Definition: call.h:225
    +
    CallOpClientSendClose()
    Definition: call.h:335
    +
    bool get_buffer_hint() const
    Get value for the flag indicating that the write may be buffered and need not go out on the wire imme...
    Definition: call.h:121
    +
    CallOpRecvMessage()
    Definition: call.h:229
    +
    StatusCode error_code() const
    Return the instance's error code.
    Definition: status.h:62
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    +
    Status SendMessage(const M &message, const WriteOptions &options) GRPC_MUST_USE_RESULT
    Send message using options for the write.
    Definition: call.h:215
    virtual void PerformOpsOnCall(CallOpSetInterface *ops, Call *call)=0
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:156
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:144
    -
    bool got_message
    Definition: call.h:243
    -
    void ClientRecvStatus(ClientContext *context, Status *status)
    Definition: call.h:435
    +
    bool got_message
    Definition: call.h:233
    +
    void ClientRecvStatus(ClientContext *context, Status *status)
    Definition: call.h:430
    void PerformOps(CallOpSetInterface *ops)
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:254
    -
    void set_max_message_size(int max_message_size)
    Definition: call.h:489
    -
    DeserializeFuncType(R *message)
    Definition: call.h:287
    -
    Definition: status.h:42
    -
    Definition: call.h:159
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:245
    +
    void set_max_message_size(int max_message_size)
    Definition: call.h:485
    +
    DeserializeFuncType(R *message)
    Definition: call.h:278
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    Definition: call.h:147
    virtual Status Deserialize(grpc_byte_buffer *buf, int max_message_size)=0
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:412
    -
    void RecvMessage(R *message)
    Definition: call.h:241
    -
    CallOpGenericRecvMessage()
    Definition: call.h:300
    -
    bool got_message
    Definition: call.h:308
    -
    A CallOpSet that does not post completions to the completion queue.
    Definition: call.h:548
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:406
    +
    void RecvMessage(R *message)
    Definition: call.h:231
    +
    CallOpGenericRecvMessage()
    Definition: call.h:291
    +
    bool got_message
    Definition: call.h:299
    +
    A CallOpSet that does not post completions to the completion queue.
    Definition: call.h:544
    virtual void FillOps(grpc_op *ops, size_t *nops)=0
    Fills in grpc_op, starting from ops[*nops] and moving upwards.
    -
    void set_output_tag(void *return_tag)
    Definition: call.h:535
    -
    size_t initial_metadata_count_
    Definition: call.h:186
    +
    void set_output_tag(void *return_tag)
    Definition: call.h:531
    +
    size_t initial_metadata_count_
    Definition: call.h:175
    #define GRPC_OVERRIDE
    Definition: config.h:77
    -
    Definition: call.h:558
    -
    void RecvInitialMetadata(ClientContext *context)
    Definition: call.h:406
    -
    Definition: call.h:402
    -
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:204
    -
    grpc_metadata * initial_metadata_
    Definition: call.h:187
    -
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:179
    -
    Definition: call.h:298
    -
    virtual ~CallHook()
    Definition: call.h:560
    - +
    Definition: call.h:553
    +
    void RecvInitialMetadata(ClientContext *context)
    Definition: call.h:400
    +
    Definition: call.h:396
    +
    void AddOp(grpc_op *ops, size_t *nops)
    Definition: call.h:193
    +
    grpc_metadata * initial_metadata_
    Definition: call.h:176
    +
    void FinishOp(bool *status, int max_message_size)
    Definition: call.h:168
    +
    Definition: call.h:289
    +
    virtual ~CallHook()
    Definition: call.h:555
    +
    diff --git a/doc/ref/c++/html/channel_8h.html b/doc/ref/c++/html/channel_8h.html new file mode 100644 index 00000000000..a06baebb964 --- /dev/null +++ b/doc/ref/c++/html/channel_8h.html @@ -0,0 +1,136 @@ + + + + + + +GRPC C++: include/grpc++/channel.h File Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    + +
    +
    channel.h File Reference
    +
    +
    +
    #include <memory>
    +#include <grpc/grpc.h>
    +#include <grpc++/impl/call.h>
    +#include <grpc++/impl/grpc_library.h>
    +#include <grpc++/support/config.h>
    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + +

    +Data Structures

    class  grpc::ClientReader< R >
     
    class  grpc::ClientWriter< W >
     
    class  grpc::ClientReaderWriter< R, W >
     
    class  grpc::ClientAsyncReader< R >
     
    class  grpc::ClientAsyncWriter< W >
     
    class  grpc::ClientAsyncReaderWriter< R, W >
     
    class  grpc::ClientAsyncResponseReader< R >
     
    class  grpc::Channel
     Channels represent a connection to an endpoint. Created by CreateChannel. More...
     
    + + + +

    +Namespaces

     grpc
     
    +
    + + + + diff --git a/doc/ref/c++/html/channel_8h_source.html b/doc/ref/c++/html/channel_8h_source.html new file mode 100644 index 00000000000..75cd6b60388 --- /dev/null +++ b/doc/ref/c++/html/channel_8h_source.html @@ -0,0 +1,263 @@ + + + + + + +GRPC C++: include/grpc++/channel.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    channel.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_CHANNEL_H
    +
    35 #define GRPCXX_CHANNEL_H
    +
    36 
    +
    37 #include <memory>
    +
    38 
    +
    39 #include <grpc/grpc.h>
    +
    40 #include <grpc++/impl/call.h>
    + +
    42 #include <grpc++/support/config.h>
    +
    43 
    +
    44 struct grpc_channel;
    +
    45 
    +
    46 namespace grpc {
    +
    47 class CallOpSetInterface;
    +
    48 class ChannelArguments;
    +
    49 class CompletionQueue;
    +
    50 class Credentials;
    +
    51 class SecureCredentials;
    +
    52 
    +
    53 template <class R>
    + +
    55 template <class W>
    + +
    57 template <class R, class W>
    + +
    59 template <class R>
    + +
    61 template <class W>
    + +
    63 template <class R, class W>
    + +
    65 template <class R>
    + +
    67 
    + +
    70  public CallHook,
    +
    71  public std::enable_shared_from_this<Channel> {
    +
    72  public:
    +
    73  ~Channel();
    +
    74 
    +
    77  grpc_connectivity_state GetState(bool try_to_connect);
    +
    78 
    +
    81  template <typename T>
    +
    82  void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline,
    +
    83  CompletionQueue* cq, void* tag) {
    +
    84  TimePoint<T> deadline_tp(deadline);
    +
    85  NotifyOnStateChangeImpl(last_observed, deadline_tp.raw_time(), cq, tag);
    +
    86  }
    +
    87 
    +
    90  template <typename T>
    +
    91  bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline) {
    +
    92  TimePoint<T> deadline_tp(deadline);
    +
    93  return WaitForStateChangeImpl(last_observed, deadline_tp.raw_time());
    +
    94  }
    +
    95 
    +
    96  private:
    +
    97  template <class R>
    +
    98  friend class ::grpc::ClientReader;
    +
    99  template <class W>
    +
    100  friend class ::grpc::ClientWriter;
    +
    101  template <class R, class W>
    +
    102  friend class ::grpc::ClientReaderWriter;
    +
    103  template <class R>
    +
    104  friend class ::grpc::ClientAsyncReader;
    +
    105  template <class W>
    +
    106  friend class ::grpc::ClientAsyncWriter;
    +
    107  template <class R, class W>
    +
    108  friend class ::grpc::ClientAsyncReaderWriter;
    +
    109  template <class R>
    +
    110  friend class ::grpc::ClientAsyncResponseReader;
    +
    111  template <class InputMessage, class OutputMessage>
    +
    112  friend Status BlockingUnaryCall(Channel* channel, const RpcMethod& method,
    +
    113  ClientContext* context,
    +
    114  const InputMessage& request,
    +
    115  OutputMessage* result);
    +
    116  friend class ::grpc::RpcMethod;
    +
    117  friend std::shared_ptr<Channel> CreateChannelInternal(
    +
    118  const grpc::string& host, grpc_channel* c_channel);
    +
    119 
    +
    120  Channel(const grpc::string& host, grpc_channel* c_channel);
    +
    121 
    +
    122  Call CreateCall(const RpcMethod& method, ClientContext* context,
    +
    123  CompletionQueue* cq);
    +
    124  void PerformOpsOnCall(CallOpSetInterface* ops, Call* call);
    +
    125  void* RegisterMethod(const char* method);
    +
    126 
    +
    127  void NotifyOnStateChangeImpl(grpc_connectivity_state last_observed,
    +
    128  gpr_timespec deadline, CompletionQueue* cq,
    +
    129  void* tag);
    +
    130  bool WaitForStateChangeImpl(grpc_connectivity_state last_observed,
    +
    131  gpr_timespec deadline);
    +
    132 
    +
    133  const grpc::string host_;
    +
    134  grpc_channel* const c_channel_; // owned
    +
    135 };
    +
    136 
    +
    137 } // namespace grpc
    +
    138 
    +
    139 #endif // GRPCXX_CHANNEL_H
    +
    Definition: channel.h:64
    +
    Definition: channel.h:54
    +
    void NotifyOnStateChange(grpc_connectivity_state last_observed, T deadline, CompletionQueue *cq, void *tag)
    Return the tag on cq when the channel state is changed or deadline expires.
    Definition: channel.h:82
    +
    bool WaitForStateChange(grpc_connectivity_state last_observed, T deadline)
    Blocking wait for channel state change or deadline expiration.
    Definition: channel.h:91
    +
    std::string string
    Definition: config.h:112
    +
    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the l...
    Definition: call.h:478
    +
    Options for channel creation.
    Definition: channel_arguments.h:52
    + + + +
    grpc_connectivity_state GetState(bool try_to_connect)
    Get the current channel state.
    +
    #define GRPC_FINAL
    Definition: config.h:71
    +
    gpr_timespec raw_time()
    Definition: time.h:56
    +
    Definition: time.h:53
    +
    Definition: channel.h:66
    +
    Definition: client_context.h:149
    +
    Definition: grpc_library.h:41
    +
    friend std::shared_ptr< Channel > CreateChannelInternal(const grpc::string &host, grpc_channel *c_channel)
    +
    Definition: call.h:560
    +
    A credentials object encapsulates all the state needed by a client to authenticate with a server and ...
    Definition: credentials.h:53
    + +
    Definition: channel.h:62
    +
    friend Status BlockingUnaryCall(Channel *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
    Definition: client_unary_call.h:50
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    +
    Definition: rpc_method.h:43
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    Definition: channel.h:58
    +
    Definition: channel.h:60
    +
    Definition: channel.h:56
    +
    Definition: call.h:553
    +
    Channels represent a connection to an endpoint. Created by CreateChannel.
    Definition: channel.h:69
    +
    + + + + diff --git a/doc/ref/c++/html/channel__arguments_8h.html b/doc/ref/c++/html/channel__arguments_8h.html index d72abf9ab21..0c0668e36cf 100644 --- a/doc/ref/c++/html/channel__arguments_8h.html +++ b/doc/ref/c++/html/channel__arguments_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_arguments.h File Reference +GRPC C++: include/grpc++/support/channel_arguments.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -94,15 +94,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include <vector>
    #include <list>
    -#include <grpc++/config.h>
    #include <grpc/compression.h>
    #include <grpc/grpc.h>
    +#include <grpc++/support/config.h>

    Go to the source code of this file.

    +

    Data Structures

    class  grpc::ChannelArguments
     Options for channel creation. More...
     
    diff --git a/doc/ref/c++/html/channel__arguments_8h_source.html b/doc/ref/c++/html/channel__arguments_8h_source.html index 2826d91e88d..33a7d1ef249 100644 --- a/doc/ref/c++/html/channel__arguments_8h_source.html +++ b/doc/ref/c++/html/channel__arguments_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_arguments.h Source File +GRPC C++: include/grpc++/support/channel_arguments.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,24 +122,21 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_CHANNEL_ARGUMENTS_H
    -
    35 #define GRPCXX_CHANNEL_ARGUMENTS_H
    +
    34 #ifndef GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
    +
    35 #define GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
    36 
    37 #include <vector>
    38 #include <list>
    39 
    -
    40 #include <grpc++/config.h>
    -
    41 #include <grpc/compression.h>
    -
    42 #include <grpc/grpc.h>
    +
    40 #include <grpc/compression.h>
    +
    41 #include <grpc/grpc.h>
    +
    42 #include <grpc++/support/config.h>
    43 
    44 namespace grpc {
    -
    45 namespace testing {
    +
    45 namespace testing {
    46 class ChannelArgumentsTest;
    47 } // namespace testing
    48 
    -
    49 // Options for channel creation. The user can use generic setters to pass
    -
    50 // key value pairs down to c channel creation code. For grpc related options,
    -
    51 // concrete setters are provided.
    53  public:
    @@ -153,53 +150,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    62 
    63  void Swap(ChannelArguments& other);
    64 
    -
    65  // grpc specific channel argument setters
    -
    66  // Set target name override for SSL host name checking.
    -
    67  void SetSslTargetNameOverride(const grpc::string& name);
    -
    68  // TODO(yangg) add flow control options
    -
    69 
    -
    70  // Set the compression algorithm for the channel.
    -
    71  void SetCompressionAlgorithm(grpc_compression_algorithm algorithm);
    -
    72 
    -
    73  // Generic channel argument setters. Only for advanced use cases.
    -
    74  void SetInt(const grpc::string& key, int value);
    -
    75  void SetString(const grpc::string& key, const grpc::string& value);
    -
    76 
    -
    77  // Populates given channel_args with args_, does not take ownership.
    -
    78  void SetChannelArgs(grpc_channel_args* channel_args) const;
    -
    79 
    -
    80  private:
    -
    81  friend class SecureCredentials;
    - -
    83 
    -
    84  // Returns empty string when it is not set.
    -
    85  grpc::string GetSslTargetNameOverride() const;
    -
    86 
    -
    87  std::vector<grpc_arg> args_;
    -
    88  std::list<grpc::string> strings_;
    -
    89 };
    -
    90 
    -
    91 } // namespace grpc
    -
    92 
    -
    93 #endif // GRPCXX_CHANNEL_ARGUMENTS_H
    -
    friend class SecureCredentials
    Definition: channel_arguments.h:81
    -
    friend class testing::ChannelArgumentsTest
    Definition: channel_arguments.h:82
    +
    70  void SetChannelArgs(grpc_channel_args* channel_args) const;
    +
    71 
    +
    72  // gRPC specific channel argument setters
    +
    74  void SetSslTargetNameOverride(const grpc::string& name);
    +
    75  // TODO(yangg) add flow control options
    +
    77  void SetCompressionAlgorithm(grpc_compression_algorithm algorithm);
    +
    78 
    +
    79  // Generic channel argument setters. Only for advanced use cases.
    +
    81  void SetInt(const grpc::string& key, int value);
    +
    83  void SetString(const grpc::string& key, const grpc::string& value);
    +
    84 
    +
    85  private:
    +
    86  friend class SecureCredentials;
    + +
    88 
    +
    89  // Returns empty string when it is not set.
    +
    90  grpc::string GetSslTargetNameOverride() const;
    +
    91 
    +
    92  std::vector<grpc_arg> args_;
    +
    93  std::list<grpc::string> strings_;
    +
    94 };
    +
    95 
    +
    96 } // namespace grpc
    +
    97 
    +
    98 #endif // GRPCXX_SUPPORT_CHANNEL_ARGUMENTS_H
    +
    friend class SecureCredentials
    Definition: channel_arguments.h:86
    +
    friend class testing::ChannelArgumentsTest
    Definition: channel_arguments.h:87
    std::string string
    Definition: config.h:112
    -
    void SetString(const grpc::string &key, const grpc::string &value)
    -
    Definition: channel_arguments.h:52
    +
    void SetString(const grpc::string &key, const grpc::string &value)
    Set a textual argument value under key.
    +
    Options for channel creation.
    Definition: channel_arguments.h:52
    void Swap(ChannelArguments &other)
    -
    void SetCompressionAlgorithm(grpc_compression_algorithm algorithm)
    -
    void SetSslTargetNameOverride(const grpc::string &name)
    +
    void SetCompressionAlgorithm(grpc_compression_algorithm algorithm)
    Set the compression algorithm for the channel.
    +
    void SetSslTargetNameOverride(const grpc::string &name)
    Set target name override for SSL host name checking.
    ~ChannelArguments()
    Definition: channel_arguments.h:55
    -
    void SetInt(const grpc::string &key, int value)
    +
    void SetInt(const grpc::string &key, int value)
    Set an integer argument value under key.
    ChannelArguments & operator=(ChannelArguments other)
    Definition: channel_arguments.h:58
    ChannelArguments()
    Definition: channel_arguments.h:54
    -
    void SetChannelArgs(grpc_channel_args *channel_args) const
    +
    void SetChannelArgs(grpc_channel_args *channel_args) const
    Populates this instance with the arguments from channel_args.
    diff --git a/doc/ref/c++/html/channel__interface_8h_source.html b/doc/ref/c++/html/channel__interface_8h_source.html deleted file mode 100644 index a073d6db2a0..00000000000 --- a/doc/ref/c++/html/channel__interface_8h_source.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/channel_interface.h Source File - - - - - - - - - -
    -
    -

    @@ -115,7 +116,7 @@ Namespaces

    GRPC C++ -  0.10.0.0 +  0.11.0.0
    - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    -
    -
    channel_interface.h
    -
    -
    -Go to the documentation of this file.
    1 /*
    -
    2  *
    -
    3  * Copyright 2015, Google Inc.
    -
    4  * All rights reserved.
    -
    5  *
    -
    6  * Redistribution and use in source and binary forms, with or without
    -
    7  * modification, are permitted provided that the following conditions are
    -
    8  * met:
    -
    9  *
    -
    10  * * Redistributions of source code must retain the above copyright
    -
    11  * notice, this list of conditions and the following disclaimer.
    -
    12  * * Redistributions in binary form must reproduce the above
    -
    13  * copyright notice, this list of conditions and the following disclaimer
    -
    14  * in the documentation and/or other materials provided with the
    -
    15  * distribution.
    -
    16  * * Neither the name of Google Inc. nor the names of its
    -
    17  * contributors may be used to endorse or promote products derived from
    -
    18  * this software without specific prior written permission.
    -
    19  *
    -
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    -
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    -
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    -
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    -
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    -
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    -
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    -
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    -
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    -
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    -
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    -
    31  *
    -
    32  */
    -
    33 
    -
    34 #ifndef GRPCXX_CHANNEL_INTERFACE_H
    -
    35 #define GRPCXX_CHANNEL_INTERFACE_H
    -
    36 
    -
    37 #include <memory>
    -
    38 
    -
    39 #include <grpc++/status.h>
    -
    40 #include <grpc++/impl/call.h>
    -
    41 
    -
    42 struct grpc_call;
    -
    43 
    -
    44 namespace grpc {
    -
    45 class Call;
    -
    46 class CallOpBuffer;
    -
    47 class ClientContext;
    -
    48 class CompletionQueue;
    -
    49 class RpcMethod;
    -
    50 class CallInterface;
    -
    51 
    -
    52 class ChannelInterface : public CallHook,
    -
    53  public std::enable_shared_from_this<ChannelInterface> {
    -
    54  public:
    -
    55  virtual ~ChannelInterface() {}
    -
    56 
    -
    57  virtual void* RegisterMethod(const char* method_name) = 0;
    -
    58  virtual Call CreateCall(const RpcMethod& method, ClientContext* context,
    -
    59  CompletionQueue* cq) = 0;
    -
    60 };
    -
    61 
    -
    62 } // namespace grpc
    -
    63 
    -
    64 #endif // GRPCXX_CHANNEL_INTERFACE_H
    -
    Definition: client_context.h:74
    -
    virtual Call CreateCall(const RpcMethod &method, ClientContext *context, CompletionQueue *cq)=0
    -
    Definition: call.h:565
    -
    Definition: channel_interface.h:52
    - -
    Definition: completion_queue.h:87
    -
    virtual void * RegisterMethod(const char *method_name)=0
    - -
    Definition: rpc_method.h:39
    -
    virtual ~ChannelInterface()
    Definition: channel_interface.h:55
    -
    Definition: call.h:558
    -
    - - - - diff --git a/doc/ref/c++/html/classes.html b/doc/ref/c++/html/classes.html index 3461897e291..8c8543ad7ba 100644 --- a/doc/ref/c++/html/classes.html +++ b/doc/ref/c++/html/classes.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -87,61 +87,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Data Structure Index
    -
    A | B | C | D | F | G | H | I | L | M | P | R | S | T | U | W
    +
    A | B | C | D | G | H | L | M | P | R | S | T | U | W
    - - + + + - + + + + - - - - + + - - - + + + - - - + + - - - + + - - - + + - - - - - + +
      A  
    -
    CallOpSetInterface (grpc)   DeserializeFuncType (grpc::CallOpGenericRecvMessageHelper)   RpcMethodHandler (grpc)   Status (grpc)   
    ChannelArguments (grpc)   DynamicThreadPool (grpc)   RpcService (grpc)   SynchronousService (grpc)   
    AsyncGenericService (grpc)   ChannelInterface (grpc)   
      F  
    -
    RpcServiceMethod (grpc)   
      T  
    +
    CallOpServerSendStatus (grpc)   Credentials (grpc)   RpcService (grpc)   Status (grpc)   
    CallOpSet (grpc)   
      D  
    +
    RpcServiceMethod (grpc)   StubOptions (grpc)   
    AsyncGenericService (grpc)   CallOpSetInterface (grpc)   
      S  
    +
    SynchronousService (grpc)   
    AsynchronousService (grpc)   Channel (grpc)   DeserializeFunc (grpc::CallOpGenericRecvMessageHelper)   
      T  
    AsynchronousService (grpc)   ClientAsyncReader (grpc)   
      S  
    +
    AsyncReaderInterface (grpc)   ChannelArguments (grpc)   DeserializeFuncType (grpc::CallOpGenericRecvMessageHelper)   SerializationTraits (grpc)   
    AsyncWriterInterface (grpc)   ClientAsyncReader (grpc)   
      G  
    +
    SerializationTraits< ByteBuffer, void > (grpc)   TimePoint (grpc)   
    AuthContext (grpc)   ClientAsyncReaderInterface (grpc)   SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type > (grpc)   TimePoint< gpr_timespec > (grpc)   
    AuthMetadataProcessor (grpc)   ClientAsyncReaderWriter (grpc)   GenericServerContext (grpc)   Server (grpc)   TimePoint< std::chrono::system_clock::time_point > (grpc)   
    AuthPropertyIterator (grpc)   ClientAsyncReaderWriterInterface (grpc)   GenericStub (grpc)   ServerAsyncReader (grpc)   
      U  
    AsyncReaderInterface (grpc)   ClientAsyncReaderInterface (grpc)   FixedSizeThreadPool (grpc)   ThreadPoolInterface (grpc)   
    AsyncWriterInterface (grpc)   ClientAsyncReaderWriter (grpc)   
      G  
    -
    SerializationTraits (grpc)   TimePoint (grpc)   
    AuthContext (grpc)   ClientAsyncReaderWriterInterface (grpc)   SerializationTraits< ByteBuffer, void > (grpc)   TimePoint< gpr_timespec > (grpc)   
    AuthPropertyIterator (grpc)   ClientAsyncResponseReader (grpc)   GenericServerContext (grpc)   SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type > (grpc)   TimePoint< std::chrono::system_clock::time_point > (grpc)   
      B  
    -
    ClientAsyncResponseReaderInterface (grpc)   GenericStub (grpc)   Server (grpc)   
      W  
    +
    ClientAsyncResponseReader (grpc)   GrpcLibrary (grpc)   ServerAsyncReaderWriter (grpc)   
    ClientAsyncResponseReaderInterface (grpc)   
      H  
    +
    ServerAsyncResponseWriter (grpc)   UnknownMethodHandler (grpc)   
    BidiStreamingHandler (grpc)   ClientAsyncStreamingInterface (grpc)   ServerAsyncStreamingInterface (grpc)   
      W  
    ClientAsyncStreamingInterface (grpc)   GrpcLibrary (grpc)   ServerAsyncReader (grpc)   
    BidiStreamingHandler (grpc)   ClientAsyncWriter (grpc)   
      H  
    -
    ServerAsyncReaderWriter (grpc)   WriteOptions (grpc)   
    ByteBuffer (grpc)   ClientAsyncWriterInterface (grpc)   ServerAsyncResponseWriter (grpc)   WriterInterface (grpc)   
    ByteBuffer (grpc)   ClientAsyncWriter (grpc)   MethodHandler::HandlerParameter (grpc)   ServerAsyncWriter (grpc)   
      C  
    -
    ClientContext (grpc)   MethodHandler::HandlerParameter (grpc)   ServerAsyncStreamingInterface (grpc)   
      c  
    +
    ClientAsyncWriterInterface (grpc)   
      M  
    +
    ServerBuilder (grpc)   WriteOptions (grpc)   
    ClientContext (grpc)   ServerCompletionQueue (grpc)   WriterInterface (grpc)   
    Call (grpc)   ClientReader (grpc)   MethodHandler (grpc)   ServerContext (grpc)   
      c  
    ClientReader (grpc)   
      I  
    -
    ServerAsyncWriter (grpc)   
    Call (grpc)   ClientReaderInterface (grpc)   ServerBuilder (grpc)   condition_variable (grpc)   
    CallHook (grpc)   ClientReaderWriter (grpc)   InternalStub (grpc)   ServerCompletionQueue (grpc)   
      l  
    +
    CallHook (grpc)   ClientReaderInterface (grpc)   
      P  
    +
    ServerCredentials (grpc)   
    CallNoOp (grpc)   ClientReaderWriter (grpc)   ServerReader (grpc)   condition_variable (grpc)   
    CallOpClientRecvStatus (grpc)   ClientReaderWriterInterface (grpc)   SslServerCredentialsOptions::PemKeyCertPair (grpc)   ServerReaderWriter (grpc)   
      l  
    CallNoOp (grpc)   ClientReaderWriterInterface (grpc)   
      M  
    -
    ServerContext (grpc)   
    CallOpClientRecvStatus (grpc)   ClientStreamingHandler (grpc)   ServerCredentials (grpc)   lock_guard (grpc)   
    CallOpClientSendClose (grpc)   ClientStreamingInterface (grpc)   MethodHandler (grpc)   ServerReader (grpc)   
      m  
    +
    CallOpClientSendClose (grpc)   ClientStreamingHandler (grpc)   PropagationOptions (grpc)   ServerStreamingHandler (grpc)   
    CallOpGenericRecvMessage (grpc)   ClientStreamingInterface (grpc)   
      R  
    +
    ServerWriter (grpc)   lock_guard (grpc)   
    CallOpRecvInitialMetadata (grpc)   ClientWriter (grpc)   Slice (grpc)   
      m  
    CallOpGenericRecvMessage (grpc)   ClientWriter (grpc)   
      P  
    -
    ServerReaderWriter (grpc)   
    CallOpRecvInitialMetadata (grpc)   ClientWriterInterface (grpc)   ServerStreamingHandler (grpc)   mutex (grpc)   
    CallOpRecvMessage (grpc)   CompletionQueue (grpc)   SslServerCredentialsOptions::PemKeyCertPair (grpc)   ServerWriter (grpc)   
      t  
    +
    CallOpRecvMessage (grpc)   ClientWriterInterface (grpc)   ReaderInterface (grpc)   SneakyCallOpSet (grpc)   
    CallOpSendInitialMetadata (grpc)   CompletionQueue (grpc)   RpcMethod (grpc)   SslCredentialsOptions (grpc)   mutex (grpc)   
    CallOpSendMessage (grpc)   CompletionQueueTag (grpc)   RpcMethodHandler (grpc)   SslServerCredentialsOptions (grpc)   
      s  
    CallOpSendInitialMetadata (grpc)   CompletionQueueTag (grpc)   
      R  
    -
    Slice (grpc)   
    CallOpSendMessage (grpc)   Credentials (grpc)   SneakyCallOpSet (grpc)   thread (grpc)   
    CallOpServerSendStatus (grpc)   
      D  
    -
    ReaderInterface (grpc)   SslCredentialsOptions (grpc)   
      u  
    -
    CallOpSet (grpc)   RpcMethod (grpc)   SslServerCredentialsOptions (grpc)   
    DeserializeFunc (grpc::CallOpGenericRecvMessageHelper)   unique_lock (grpc)   
    string_ref (grpc)   
    -
    A | B | C | D | F | G | H | I | L | M | P | R | S | T | U | W
    +
    A | B | C | D | G | H | L | M | P | R | S | T | U | W
    diff --git a/doc/ref/c++/html/classgrpc_1_1_async_generic_service.html b/doc/ref/c++/html/classgrpc_1_1_async_generic_service.html index 9ec9882bf8b..949840bbb8a 100644 --- a/doc/ref/c++/html/classgrpc_1_1_async_generic_service.html +++ b/doc/ref/c++/html/classgrpc_1_1_async_generic_service.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -201,12 +201,12 @@ Friends
    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_async_reader_interface.html b/doc/ref/c++/html/classgrpc_1_1_async_reader_interface.html index b422746ecb2..0393c84b8e5 100644 --- a/doc/ref/c++/html/classgrpc_1_1_async_reader_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_async_reader_interface.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,16 +94,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <stream.h>

    +

    An interface that yields a sequence of messages of type R. + More...

    + +

    #include <async_stream.h>

    +

    Public Member Functions

    virtual ~AsyncReaderInterface ()
     
    virtual void Read (R *msg, void *tag)=0
     Read a message of type R into msg. More...
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    template<class R>
    +class grpc::AsyncReaderInterface< R >

    + +

    An interface that yields a sequence of messages of type R.

    +

    Constructor & Destructor Documentation

    @@ -164,17 +173,27 @@ template<class R >
    +

    Read a message of type R into msg.

    +

    Completion will be notified by tag on the associated completion queue.

    +
    Parameters
    + + + +
    [out]msgWhere to eventually store the read message.
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncReader< W, R >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncReader< R >.


    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_async_writer_interface.html b/doc/ref/c++/html/classgrpc_1_1_async_writer_interface.html index 43c90b23da3..80c2abfae15 100644 --- a/doc/ref/c++/html/classgrpc_1_1_async_writer_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_async_writer_interface.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,16 +94,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <stream.h>

    +

    An interface that can be fed a sequence of messages of type W. + More...

    + +

    #include <async_stream.h>

    +

    Public Member Functions

    virtual ~AsyncWriterInterface ()
     
    virtual void Write (const W &msg, void *tag)=0
     Request the writing of msg with identifying tag tag. More...
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    template<class W>
    +class grpc::AsyncWriterInterface< W >

    + +

    An interface that can be fed a sequence of messages of type W.

    +

    Constructor & Destructor Documentation

    @@ -164,17 +173,26 @@ template<class W >
    +

    Request the writing of msg with identifying tag tag.

    +
    Parameters
    + + + +
    [in]msgThe message to be written.
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implemented in grpc::ServerAsyncReaderWriter< R, W >, grpc::ServerAsyncWriter< W >, grpc::ClientAsyncReaderWriter< R, W >, and grpc::ClientAsyncWriter< W >.


    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_asynchronous_service.html b/doc/ref/c++/html/classgrpc_1_1_asynchronous_service.html index 0a4c8557789..815c986d0d9 100644 --- a/doc/ref/c++/html/classgrpc_1_1_asynchronous_service.html +++ b/doc/ref/c++/html/classgrpc_1_1_asynchronous_service.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -457,7 +457,7 @@ template<class Message > diff --git a/doc/ref/c++/html/classgrpc_1_1_auth_context.html b/doc/ref/c++/html/classgrpc_1_1_auth_context.html index a32a1082d6d..3a7e341f86a 100644 --- a/doc/ref/c++/html/classgrpc_1_1_auth_context.html +++ b/doc/ref/c++/html/classgrpc_1_1_auth_context.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -88,30 +88,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +Public Member Functions | +Static Public Member Functions
    grpc::AuthContext Class Referenceabstract
    +

    Class encapsulating the Authentication Information. + More...

    +

    #include <auth_context.h>

    - - + + + + + + - - + + + + + + + + +

    Public Member Functions

    virtual ~AuthContext ()
     
    virtual std::vector< grpc::stringGetPeerIdentity () const =0
     
    virtual bool IsPeerAuthenticated () const =0
     Returns true if the peer is authenticated. More...
     
    virtual std::vector
    +< grpc::string_ref
    GetPeerIdentity () const =0
     A peer identity. More...
     
    virtual grpc::string GetPeerIdentityPropertyName () const =0
     
    virtual std::vector< grpc::stringFindPropertyValues (const grpc::string &name) const =0
     
    virtual std::vector
    +< grpc::string_ref
    FindPropertyValues (const grpc::string &name) const =0
     Returns all the property values with the given name. More...
     
    virtual AuthPropertyIterator begin () const =0
     Iteration over all the properties. More...
     
    virtual AuthPropertyIterator end () const =0
     
    virtual void AddProperty (const grpc::string &key, const grpc::string_ref &value)=0
     
    virtual bool SetPeerIdentityPropertyName (const grpc::string &name)=0
     
    + + + + + + + + +

    +Static Public Member Functions

    static string transport_security_type_property_name ()
     
    static string ssl_transport_security_type ()
     
    static string x509_cn_property_name ()
     
    static string x509_san_property_name ()
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    Class encapsulating the Authentication Information.

    +

    It includes the secure identity of the peer, the type of secure transport used as well as any other properties required by the authorization layer.

    +

    Constructor & Destructor Documentation

    @@ -136,6 +166,40 @@ Public Member Functions

    Member Function Documentation

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    virtual void grpc::AuthContext::AddProperty (const grpc::stringkey,
    const grpc::string_refvalue 
    )
    +
    +pure virtual
    +
    + +
    +
    @@ -157,6 +221,8 @@ Public Member Functions
    +

    Iteration over all the properties.

    +
    @@ -182,7 +248,7 @@ Public Member Functions
    - +
    @@ -190,7 +256,7 @@ Public Member Functions @@ -83,35 +83,67 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    grpc::ChannelInterface Class Referenceabstract
    +
    grpc::AuthMetadataProcessor Class Referenceabstract
    - + @@ -204,9 +270,11 @@ Public Member Functions
    virtual std::vector<grpc::string> grpc::AuthContext::FindPropertyValues virtual std::vector<grpc::string_ref> grpc::AuthContext::FindPropertyValues ( const grpc::string name)
    +

    Returns all the property values with the given name.

    +
    - +
    @@ -214,7 +282,7 @@ Public Member Functions
    - + @@ -227,6 +295,9 @@ Public Member Functions
    virtual std::vector<grpc::string> grpc::AuthContext::GetPeerIdentity virtual std::vector<grpc::string_ref> grpc::AuthContext::GetPeerIdentity ( ) const
    +

    A peer identity.

    +

    It is, in general, comprised of one or more properties (in which case they have the same name).

    +
    @@ -250,15 +321,156 @@ Public Member Functions
    +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    virtual bool grpc::AuthContext::IsPeerAuthenticated () const
    +
    +pure virtual
    +
    + +

    Returns true if the peer is authenticated.

    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + +
    virtual bool grpc::AuthContext::SetPeerIdentityPropertyName (const grpc::stringname)
    +
    +pure virtual
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    static string grpc::AuthContext::ssl_transport_security_type ()
    +
    +inlinestatic
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    static string grpc::AuthContext::transport_security_type_property_name ()
    +
    +inlinestatic
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    static string grpc::AuthContext::x509_cn_property_name ()
    +
    +inlinestatic
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + +
    static string grpc::AuthContext::x509_san_property_name ()
    +
    +inlinestatic
    +
    +

    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_channel_interface.html b/doc/ref/c++/html/classgrpc_1_1_auth_metadata_processor.html similarity index 56% rename from doc/ref/c++/html/classgrpc_1_1_channel_interface.html rename to doc/ref/c++/html/classgrpc_1_1_auth_metadata_processor.html index d4806625edd..cc86df4f303 100644 --- a/doc/ref/c++/html/classgrpc_1_1_channel_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_auth_metadata_processor.html @@ -4,7 +4,7 @@ -GRPC C++: grpc::ChannelInterface Class Reference +GRPC C++: grpc::AuthMetadataProcessor Class Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    + + + + + +

    +Public Types

    typedef std::multimap
    +< grpc::string_ref,
    +grpc::string_ref
    InputMetadata
     
    typedef std::multimap
    +< grpc::string,
    +grpc::string_ref
    OutputMetadata
     
    - - - - - - - - - - - + + + + + +

    Public Member Functions

    virtual ~ChannelInterface ()
     
    virtual void * RegisterMethod (const char *method_name)=0
     
    virtual Call CreateCall (const RpcMethod &method, ClientContext *context, CompletionQueue *cq)=0
     
    - Public Member Functions inherited from grpc::CallHook
    virtual ~CallHook ()
     
    virtual void PerformOpsOnCall (CallOpSetInterface *ops, Call *call)=0
     
    virtual ~AuthMetadataProcessor ()
     
    virtual bool IsBlocking () const
     
    virtual Status Process (const InputMetadata &auth_metadata, AuthContext *context, OutputMetadata *consumed_auth_metadata, OutputMetadata *response_metadata)=0
     
    +

    Member Typedef Documentation

    + + + +

    Constructor & Destructor Documentation

    - +
    @@ -119,7 +151,7 @@ Public Member Functions
    - + @@ -135,7 +167,7 @@ Public Member Functions

    Member Function Documentation

    - +
    virtual grpc::ChannelInterface::~ChannelInterface virtual grpc::AuthMetadataProcessor::~AuthMetadataProcessor ( )
    @@ -143,39 +175,22 @@ Public Member Functions +inlinevirtual
    - + - - - - - - - - - - - - - - - - - - - + +
    virtual Call grpc::ChannelInterface::CreateCall virtual bool grpc::AuthMetadataProcessor::IsBlocking (const RpcMethodmethod,
    ClientContextcontext,
    CompletionQueuecq 
    )) const
    -pure virtual
    - +
    @@ -183,11 +198,33 @@ Public Member Functions @@ -200,12 +237,12 @@ Public Member Functions
    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_auth_property_iterator.html b/doc/ref/c++/html/classgrpc_1_1_auth_property_iterator.html index 681a9a40906..a93f95fb21a 100644 --- a/doc/ref/c++/html/classgrpc_1_1_auth_property_iterator.html +++ b/doc/ref/c++/html/classgrpc_1_1_auth_property_iterator.html @@ -23,7 +23,7 @@ @@ -96,7 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <auth_property_iterator.h>

    +

    #include <auth_context.h>

    - + - - + + + + + + + + + + + + + + + + + + + + + + + +
    virtual void* grpc::ChannelInterface::RegisterMethod virtual Status grpc::AuthMetadataProcessor::Process (const char * method_name)const InputMetadataauth_metadata,
    AuthContextcontext,
    OutputMetadataconsumed_auth_metadata,
    OutputMetadataresponse_metadata 
    )
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -110,7 +110,7 @@ Public Member Functions - +

    Public Member Functions

     
    bool operator!= (const AuthPropertyIterator &rhs) const
     
    const AuthProperty operator* ()
    const AuthProperty operator* ()
     

    @@ -220,7 +220,7 @@ Friends

    - + @@ -299,12 +299,12 @@ Friends
    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_bidi_streaming_handler.html b/doc/ref/c++/html/classgrpc_1_1_bidi_streaming_handler.html index 5cb0ad2d132..e598ef29471 100644 --- a/doc/ref/c++/html/classgrpc_1_1_bidi_streaming_handler.html +++ b/doc/ref/c++/html/classgrpc_1_1_bidi_streaming_handler.html @@ -23,7 +23,7 @@ @@ -179,7 +179,7 @@ template<class ServiceType , class RequestType , class ResponseType > diff --git a/doc/ref/c++/html/classgrpc_1_1_byte_buffer.html b/doc/ref/c++/html/classgrpc_1_1_byte_buffer.html index 9fd972b91cd..63b46468810 100644 --- a/doc/ref/c++/html/classgrpc_1_1_byte_buffer.html +++ b/doc/ref/c++/html/classgrpc_1_1_byte_buffer.html @@ -23,7 +23,7 @@ @@ -95,21 +95,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    A sequence of bytes. + More...

    +

    #include <byte_buffer.h>

    const AuthProperty grpc::AuthPropertyIterator::operator* const AuthProperty grpc::AuthPropertyIterator::operator* ( )
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    + + + + +

    Public Member Functions

     ByteBuffer ()
     Constuct an empty buffer. More...
     
     ByteBuffer (const Slice *slices, size_t nslices)
     Construct buffer from slices, of which there are nslices. More...
     
     ~ByteBuffer ()
     
    void Dump (std::vector< Slice > *slices) const
     Dump (read) the buffer contents into slices. More...
     
    void Clear ()
     Remove all data. More...
     
    size_t Length () const
     Buffer size in bytes. More...
     

    @@ -117,7 +125,9 @@ Friends

    class SerializationTraits< ByteBuffer, void >
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    A sequence of bytes.

    +

    Constructor & Destructor Documentation

    @@ -139,6 +149,8 @@ Friends
    +

    Constuct an empty buffer.

    +
    @@ -165,14 +177,13 @@ Friends
    +

    Construct buffer from slices, of which there are nslices.

    +
    - - - - - -
    @@ -181,11 +192,6 @@ Friends
    grpc::ByteBuffer::~ByteBuffer
    -
    -inline
    @@ -204,6 +210,8 @@ Friends
    +

    Remove all data.

    +
    @@ -220,6 +228,8 @@ Friends
    +

    Dump (read) the buffer contents into slices.

    +
    @@ -235,6 +245,8 @@ Friends
    +

    Buffer size in bytes.

    +

    Friends And Related Function Documentation

    @@ -259,12 +271,12 @@ Friends
    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_call.html b/doc/ref/c++/html/classgrpc_1_1_call.html index e588dc2519a..48243589869 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call.html +++ b/doc/ref/c++/html/classgrpc_1_1_call.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -274,7 +274,7 @@ Public Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_hook.html b/doc/ref/c++/html/classgrpc_1_1_call_hook.html index 29afe740490..070c71d1589 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_hook.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_hook.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -168,7 +168,7 @@ Public Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_no_op.html b/doc/ref/c++/html/classgrpc_1_1_call_no_op.html index 6fd6cde0f1b..f73eec186ea 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_no_op.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_no_op.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -191,7 +191,7 @@ template<int I> diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_client_recv_status.html b/doc/ref/c++/html/classgrpc_1_1_call_op_client_recv_status.html index e4161d4e8e7..1a16599015b 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_client_recv_status.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_client_recv_status.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -244,7 +244,7 @@ Protected Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_client_send_close.html b/doc/ref/c++/html/classgrpc_1_1_call_op_client_send_close.html index eb94da88a51..68007358b43 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_client_send_close.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_client_send_close.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -233,7 +233,7 @@ Protected Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message.html b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message.html index a0191d817df..5a00699f6b0 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -256,7 +256,7 @@ template<class R > diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func.html b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func.html index e58cb702d18..0412b9c0203 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -144,7 +144,7 @@ Public Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func_type.html b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func_type.html index 84ff247129c..697606c4838 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func_type.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_generic_recv_message_helper_1_1_deserialize_func_type.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -175,7 +175,7 @@ template<class R > diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_recv_initial_metadata.html b/doc/ref/c++/html/classgrpc_1_1_call_op_recv_initial_metadata.html index a4140647827..0abce9cee8e 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_recv_initial_metadata.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_recv_initial_metadata.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -234,7 +234,7 @@ Protected Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_recv_message.html b/doc/ref/c++/html/classgrpc_1_1_call_op_recv_message.html index 65e392c8807..42ab0611c8a 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_recv_message.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_recv_message.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -263,7 +263,7 @@ template<class R > diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_send_initial_metadata.html b/doc/ref/c++/html/classgrpc_1_1_call_op_send_initial_metadata.html index 2aaaefbf703..1a2b237d7f5 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_send_initial_metadata.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_send_initial_metadata.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -305,7 +305,7 @@ Protected Attributes diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_send_message.html b/doc/ref/c++/html/classgrpc_1_1_call_op_send_message.html index 7c0b768f289..92ba5ba6f34 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_send_message.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_send_message.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -264,7 +264,7 @@ template<class M > diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_server_send_status.html b/doc/ref/c++/html/classgrpc_1_1_call_op_server_send_status.html index 5496c64df3d..7d5a16029a9 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_server_send_status.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_server_send_status.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -244,7 +244,7 @@ Protected Member Functions diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_set.html b/doc/ref/c++/html/classgrpc_1_1_call_op_set.html index b69add7f05c..f99ce159e9b 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_set.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_set.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -270,7 +270,7 @@ template<class Op1 = CallNoOp<1>, class Op2 = CallNoOp<2>, class diff --git a/doc/ref/c++/html/classgrpc_1_1_call_op_set_interface.html b/doc/ref/c++/html/classgrpc_1_1_call_op_set_interface.html index ef9c0e7e715..1163b53e7d9 100644 --- a/doc/ref/c++/html/classgrpc_1_1_call_op_set_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_call_op_set_interface.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -95,7 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. +

    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...

    #include <call.h>

    @@ -121,7 +121,7 @@ Protected Attributes  

    Detailed Description

    -

    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API.

    +

    An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API.

    Constructor & Destructor Documentation

    @@ -236,7 +236,7 @@ Protected Attributes
    diff --git a/doc/ref/c++/html/classgrpc_1_1_channel.html b/doc/ref/c++/html/classgrpc_1_1_channel.html new file mode 100644 index 00000000000..1f03f2b4f44 --- /dev/null +++ b/doc/ref/c++/html/classgrpc_1_1_channel.html @@ -0,0 +1,560 @@ + + + + + + +GRPC C++: grpc::Channel Class Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    + +
    +
    grpc::Channel Class Reference
    +
    +
    + +

    Channels represent a connection to an endpoint. Created by CreateChannel. + More...

    + +

    #include <channel.h>

    + + + + + + + + + + + + + + + + + + + + + + + +

    +Public Member Functions

     ~Channel ()
     
    grpc_connectivity_state GetState (bool try_to_connect)
     Get the current channel state. More...
     
    template<typename T >
    void NotifyOnStateChange (grpc_connectivity_state last_observed, T deadline, CompletionQueue *cq, void *tag)
     Return the tag on cq when the channel state is changed or deadline expires. More...
     
    template<typename T >
    bool WaitForStateChange (grpc_connectivity_state last_observed, T deadline)
     Blocking wait for channel state change or deadline expiration. More...
     
    - Public Member Functions inherited from grpc::GrpcLibrary
     GrpcLibrary ()
     
    virtual ~GrpcLibrary ()
     
    - Public Member Functions inherited from grpc::CallHook
    virtual ~CallHook ()
     
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Friends

    template<class R >
    class ::grpc::ClientReader
     
    template<class W >
    class ::grpc::ClientWriter
     
    template<class R , class W >
    class ::grpc::ClientReaderWriter
     
    template<class R >
    class ::grpc::ClientAsyncReader
     
    template<class W >
    class ::grpc::ClientAsyncWriter
     
    template<class R , class W >
    class ::grpc::ClientAsyncReaderWriter
     
    template<class R >
    class ::grpc::ClientAsyncResponseReader
     
    class ::grpc::RpcMethod
     
    template<class InputMessage , class OutputMessage >
    Status BlockingUnaryCall (Channel *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
     
    std::shared_ptr< ChannelCreateChannelInternal (const grpc::string &host, grpc_channel *c_channel)
     
    +

    Detailed Description

    +

    Channels represent a connection to an endpoint. Created by CreateChannel.

    +

    Constructor & Destructor Documentation

    + +
    +
    + + + + + + + +
    grpc::Channel::~Channel ()
    +
    + +
    +
    +

    Member Function Documentation

    + +
    +
    + + + + + + + + +
    grpc_connectivity_state grpc::Channel::GetState (bool try_to_connect)
    +
    + +

    Get the current channel state.

    +

    If the channel is in IDLE and try_to_connect is set to true, try to connect.

    + +
    +
    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void grpc::Channel::NotifyOnStateChange (grpc_connectivity_state last_observed,
    deadline,
    CompletionQueuecq,
    void * tag 
    )
    +
    +inline
    +
    + +

    Return the tag on cq when the channel state is changed or deadline expires.

    +

    GetState needs to called to get the current state.

    + +
    +
    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::Channel::WaitForStateChange (grpc_connectivity_state last_observed,
    deadline 
    )
    +
    +inline
    +
    + +

    Blocking wait for channel state change or deadline expiration.

    +

    GetState needs to called to get the current state.

    + +
    +
    +

    Friends And Related Function Documentation

    + +
    +
    +
    +template<class R >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientAsyncReader
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class R , class W >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientAsyncReaderWriter
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class R >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientAsyncResponseReader
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class W >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientAsyncWriter
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class R >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientReader
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class R , class W >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientReaderWriter
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class W >
    + + + + + +
    + + + + +
    friend class ::grpc::ClientWriter
    +
    +friend
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + +
    friend class ::grpc::RpcMethod
    +
    +friend
    +
    + +
    +
    + +
    +
    +
    +template<class InputMessage , class OutputMessage >
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Status BlockingUnaryCall (Channelchannel,
    const RpcMethodmethod,
    ClientContextcontext,
    const InputMessage & request,
    OutputMessage * result 
    )
    +
    +friend
    +
    + +
    +
    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    std::shared_ptr<Channel> CreateChannelInternal (const grpc::stringhost,
    grpc_channel * c_channel 
    )
    +
    +friend
    +
    + +
    +
    +
    The documentation for this class was generated from the following file: +
    + + + + diff --git a/doc/ref/c++/html/classgrpc_1_1_channel_arguments.html b/doc/ref/c++/html/classgrpc_1_1_channel_arguments.html index 1dfb397f552..b20c0d34966 100644 --- a/doc/ref/c++/html/classgrpc_1_1_channel_arguments.html +++ b/doc/ref/c++/html/classgrpc_1_1_channel_arguments.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -95,6 +95,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    Options for channel creation. + More...

    +

    #include <channel_arguments.h>

    + + + + + + + - -

    @@ -109,16 +112,21 @@ Public Member Functions

     
    void Swap (ChannelArguments &other)
     
    void SetChannelArgs (grpc_channel_args *channel_args) const
     Populates this instance with the arguments from channel_args. More...
     
    void SetSslTargetNameOverride (const grpc::string &name)
     Set target name override for SSL host name checking. More...
     
    void SetCompressionAlgorithm (grpc_compression_algorithm algorithm)
     Set the compression algorithm for the channel. More...
     
    void SetInt (const grpc::string &key, int value)
     Set an integer argument value under key. More...
     
    void SetString (const grpc::string &key, const grpc::string &value)
     Set a textual argument value under key. More...
     
    void SetChannelArgs (grpc_channel_args *channel_args) const
     
    @@ -127,7 +135,10 @@ Friends

    Friends

    class testing::ChannelArgumentsTest
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    Options for channel creation.

    +

    The user can use generic setters to pass key value pairs down to c channel creation code. For grpc related options, concrete setters are provided.

    +

    Constructor & Destructor Documentation

    @@ -229,6 +240,10 @@ Friends
    +

    Populates this instance with the arguments from channel_args.

    +

    Does not take ownership of channel_args.

    +

    Note that the underlying arguments are shared. Changes made to either channel_args or this instance would be reflected on both.

    +
    @@ -245,6 +260,8 @@ Friends
    +

    Set the compression algorithm for the channel.

    +
    @@ -271,6 +288,8 @@ Friends
    +

    Set an integer argument value under key.

    +
    @@ -287,6 +306,8 @@ Friends
    +

    Set target name override for SSL host name checking.

    +
    @@ -313,6 +334,8 @@ Friends
    +

    Set a textual argument value under key.

    +
    @@ -373,12 +396,12 @@ Friends
    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_client_async_reader.html b/doc/ref/c++/html/classgrpc_1_1_client_async_reader.html index 913fc0854cb..68bc60e09e0 100644 --- a/doc/ref/c++/html/classgrpc_1_1_client_async_reader.html +++ b/doc/ref/c++/html/classgrpc_1_1_client_async_reader.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,18 +94,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <client_context.h>

    +

    #include <channel.h>

    - - - + + + + + + + @@ -115,7 +119,7 @@ Public Member Functions

    Public Member Functions

    template<class W >
     ClientAsyncReader (ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
     
    template<class W >
     ClientAsyncReader (Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request, void *tag)
     Create a stream and write the first request out. More...
     
    void ReadInitialMetadata (void *tag) GRPC_OVERRIDE
     Request notification of the reading of the initial metadata. More...
     
    void Read (R *msg, void *tag) GRPC_OVERRIDE
     Read a message of type R into msg. More...
     
    void Finish (Status *status, void *tag) GRPC_OVERRIDE
     Request notification completion. More...
     
    - Public Member Functions inherited from grpc::ClientAsyncStreamingInterface
    virtual ~ClientAsyncStreamingInterface ()
     

    Constructor & Destructor Documentation

    - +
    @@ -129,7 +133,7 @@ template<class W >
    grpc::ClientAsyncReader< R >::ClientAsyncReader ( - ChannelInterface *  + Channelchannel, @@ -175,6 +179,8 @@ template<class W >
    +

    Create a stream and write the first request out.

    +

    Member Function Documentation

    @@ -212,6 +218,15 @@ template<class R >
    +

    Request notification completion.

    +
    Parameters
    + + + +
    [out]statusTo be updated with the operation status.
    [in]tagTag identifying this request.
    +
    +
    +

    Implements grpc::ClientAsyncStreamingInterface.

    @@ -250,6 +265,16 @@ template<class R >
    +

    Read a message of type R into msg.

    +

    Completion will be notified by tag on the associated completion queue.

    +
    Parameters
    + + + +
    [out]msgWhere to eventually store the read message.
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implements grpc::AsyncReaderInterface< R >.

    @@ -278,18 +303,27 @@ template<class R >
    +

    Request notification of the reading of the initial metadata.

    +

    Completion will be notified by tag on the associated completion queue.

    +
    Parameters
    + + +
    [in]tagTag identifying this request.
    +
    +
    +

    Implements grpc::ClientAsyncStreamingInterface.


    The documentation for this class was generated from the following files: diff --git a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_interface.html b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_interface.html index 43bb272e30b..9fd93808cc6 100644 --- a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_interface.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <stream.h>

    +

    #include <async_stream.h>

    @@ -100,22 +100,25 @@ Additional Inherited Members + + +

    Additional Inherited Members

    virtual ~ClientAsyncStreamingInterface ()
     
    virtual void ReadInitialMetadata (void *tag)=0
     Request notification of the reading of the initial metadata. More...
     
    virtual void Finish (Status *status, void *tag)=0
     Request notification completion. More...
     
    - Public Member Functions inherited from grpc::AsyncReaderInterface< R >
    virtual ~AsyncReaderInterface ()
     
    virtual void Read (R *msg, void *tag)=0
     Read a message of type R into msg. More...
     

    The documentation for this class was generated from the following file:
    diff --git a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer.html b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer.html index 1cfe1c03016..f4ca2db448c 100644 --- a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer.html +++ b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,21 +94,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <client_context.h>

    +

    #include <channel.h>

    - - + + + + + + + @@ -121,7 +126,7 @@ Public Member Functions

    Public Member Functions

     ClientAsyncReaderWriter (ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, void *tag)
     
     ClientAsyncReaderWriter (Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, void *tag)
     
    void ReadInitialMetadata (void *tag) GRPC_OVERRIDE
     Request notification of the reading of the initial metadata. More...
     
    void Read (R *msg, void *tag) GRPC_OVERRIDE
     Read a message of type R into msg. More...
     
    void Write (const W &msg, void *tag) GRPC_OVERRIDE
     Request the writing of msg with identifying tag tag. More...
     
    void WritesDone (void *tag) GRPC_OVERRIDE
     Signal the client is done with the writes. More...
     
    void Finish (Status *status, void *tag) GRPC_OVERRIDE
     Request notification completion. More...
     
    - Public Member Functions inherited from grpc::ClientAsyncStreamingInterface
    virtual ~ClientAsyncStreamingInterface ()
     

    Constructor & Destructor Documentation

    - +
    @@ -133,7 +138,7 @@ template<class R , class W >
    grpc::ClientAsyncReaderWriter< R, W >::ClientAsyncReaderWriter ( - ChannelInterface *  + Channelchannel, @@ -210,6 +215,15 @@ template<class R , class W >
    +

    Request notification completion.

    +
    Parameters
    + + + +
    [out]statusTo be updated with the operation status.
    [in]tagTag identifying this request.
    +
    +
    +

    Implements grpc::ClientAsyncStreamingInterface.

    @@ -248,6 +262,16 @@ template<class R , class W >
    +

    Read a message of type R into msg.

    +

    Completion will be notified by tag on the associated completion queue.

    +
    Parameters
    + + + +
    [out]msgWhere to eventually store the read message.
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implements grpc::AsyncReaderInterface< R >.

    @@ -276,6 +300,15 @@ template<class R , class W >
    +

    Request notification of the reading of the initial metadata.

    +

    Completion will be notified by tag on the associated completion queue.

    +
    Parameters
    + + +
    [in]tagTag identifying this request.
    +
    +
    +

    Implements grpc::ClientAsyncStreamingInterface.

    @@ -314,6 +347,15 @@ template<class R , class W >
    +

    Request the writing of msg with identifying tag tag.

    +
    Parameters
    + + + +
    [in]msgThe message to be written.
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implements grpc::AsyncWriterInterface< W >.

    @@ -342,18 +384,26 @@ template<class R , class W >
    +

    Signal the client is done with the writes.

    +
    Parameters
    + + +
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implements grpc::ClientAsyncReaderWriterInterface< W, R >.


    The documentation for this class was generated from the following files: diff --git a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer_interface.html b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer_interface.html index 4670108288d..145cff749b7 100644 --- a/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer_interface.html +++ b/doc/ref/c++/html/classgrpc_1_1_client_async_reader_writer_interface.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,31 +94,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <stream.h>

    +

    Client-side interface for asynchronous bi-directional streaming. + More...

    + +

    #include <async_stream.h>

    + + + + +

    Public Member Functions

    virtual void WritesDone (void *tag)=0
     Signal the client is done with the writes. More...
     
    - Public Member Functions inherited from grpc::ClientAsyncStreamingInterface
    virtual ~ClientAsyncStreamingInterface ()
     
    virtual void ReadInitialMetadata (void *tag)=0
     Request notification of the reading of the initial metadata. More...
     
    virtual void Finish (Status *status, void *tag)=0
     Request notification completion. More...
     
    - Public Member Functions inherited from grpc::AsyncWriterInterface< W >
    virtual ~AsyncWriterInterface ()
     
    virtual void Write (const W &msg, void *tag)=0
     Request the writing of msg with identifying tag tag. More...
     
    - Public Member Functions inherited from grpc::AsyncReaderInterface< R >
    virtual ~AsyncReaderInterface ()
     
    virtual void Read (R *msg, void *tag)=0
     Read a message of type R into msg. More...
     
    -

    Member Function Documentation

    +

    Detailed Description

    +

    template<class W, class R>
    +class grpc::ClientAsyncReaderWriterInterface< W, R >

    + +

    Client-side interface for asynchronous bi-directional streaming.

    +

    Member Function Documentation

    @@ -143,17 +156,25 @@ template<class W , class R >
    +

    Signal the client is done with the writes.

    +
    Parameters
    + + +
    [in]tagThe tag identifying the operation.
    +
    +
    +

    Implemented in grpc::ClientAsyncReaderWriter< R, W >.


    The documentation for this class was generated from the following file: diff --git a/doc/ref/c++/html/classgrpc_1_1_client_async_response_reader.html b/doc/ref/c++/html/classgrpc_1_1_client_async_response_reader.html index 30d878dc457..a2db9d69338 100644 --- a/doc/ref/c++/html/classgrpc_1_1_client_async_response_reader.html +++ b/doc/ref/c++/html/classgrpc_1_1_client_async_response_reader.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,13 +94,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -

    #include <async_unary_call.h>

    +

    #include <channel.h>

    - - - + + + @@ -110,7 +110,7 @@ Public Member Functions

    Public Member Functions

    template<class W >
     ClientAsyncResponseReader (ChannelInterface *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
     
    template<class W >
     ClientAsyncResponseReader (Channel *channel, CompletionQueue *cq, const RpcMethod &method, ClientContext *context, const W &request)
     
    void ReadInitialMetadata (void *tag)
     
    void Finish (R *msg, Status *status, void *tag)
     

    Constructor & Destructor Documentation

    - +
    @@ -124,7 +124,7 @@ template<class W >
    grpc::ClientAsyncResponseReader< R >::ClientAsyncResponseReader ( - ChannelInterface *  + Channelchannel, @@ -239,13 +239,14 @@ template<class R >
    -
    The documentation for this class was generated from the following file:
    @@ -94,16 +94,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include <memory>
    -#include <grpc++/config.h>
    #include <grpc++/impl/grpc_library.h>
    +#include <grpc++/support/config.h>

    Go to the source code of this file.

    + +

    Data Structures

    class  grpc::Credentials
     A credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call. More...
     
    struct  grpc::SslCredentialsOptions
     Options used to build SslCredentials. More...
     
    + + - - - - + + + + - - + + + + - - + + + + +

    @@ -114,30 +116,37 @@ Namespaces

    Functions

    std::shared_ptr< Credentials > grpc::GoogleDefaultCredentials ()
     Builds credentials with reasonable defaults. More...
     
    std::shared_ptr< Credentials > grpc::SslCredentials (const SslCredentialsOptions &options)
     Builds SSL Credentials given SSL specific options. More...
     
    std::shared_ptr< Credentials > grpc::ComputeEngineCredentials ()
     
    std::shared_ptr< Credentials > grpc::ServiceAccountCredentials (const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
     
    std::shared_ptr< Credentials > grpc::GoogleComputeEngineCredentials ()
     Builds credentials for use when running in GCE. More...
     
    std::shared_ptr< Credentials > grpc::ServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds)
     Builds Service Account JWT Access credentials. More...
     
    std::shared_ptr< Credentials > grpc::RefreshTokenCredentials (const grpc::string &json_refresh_token)
     
    std::shared_ptr< Credentials > grpc::GoogleRefreshTokenCredentials (const grpc::string &json_refresh_token)
     Builds refresh token credentials. More...
     
    std::shared_ptr< Credentials > grpc::AccessTokenCredentials (const grpc::string &access_token)
     Builds access token credentials. More...
     
    std::shared_ptr< Credentials > grpc::IAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     
    std::shared_ptr< Credentials > grpc::GoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     Builds IAM credentials. More...
     
    std::shared_ptr< Credentials > grpc::CompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
     Combines two credentials objects into a composite credentials. More...
     
    std::shared_ptr< Credentials > grpc::InsecureCredentials ()
     Credentials for an unencrypted, unauthenticated channel. More...
     
    diff --git a/doc/ref/c++/html/credentials_8h_source.html b/doc/ref/c++/html/credentials_8h_source.html index 91c9c4f57dd..37e1a308c18 100644 --- a/doc/ref/c++/html/credentials_8h_source.html +++ b/doc/ref/c++/html/credentials_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/credentials.h Source File +GRPC C++: include/grpc++/security/credentials.h Source File @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -127,142 +127,107 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    36 
    37 #include <memory>
    38 
    -
    39 #include <grpc++/config.h>
    - + +
    40 #include <grpc++/support/config.h>
    41 
    42 namespace grpc {
    43 class ChannelArguments;
    -
    44 class ChannelInterface;
    +
    44 class Channel;
    45 class SecureCredentials;
    46 
    -
    47 class Credentials : public GrpcLibrary {
    -
    48  public:
    - -
    50  virtual bool ApplyToCall(grpc_call* call) = 0;
    -
    51 
    -
    52  protected:
    -
    53  friend std::shared_ptr<Credentials> CompositeCredentials(
    -
    54  const std::shared_ptr<Credentials>& creds1,
    -
    55  const std::shared_ptr<Credentials>& creds2);
    +
    53 class Credentials : public GrpcLibrary {
    +
    54  public:
    +
    56 
    -
    57  virtual SecureCredentials* AsSecureCredentials() = 0;
    -
    58 
    -
    59  private:
    -
    60  friend std::shared_ptr<ChannelInterface> CreateChannel(
    -
    61  const grpc::string& target, const std::shared_ptr<Credentials>& creds,
    -
    62  const ChannelArguments& args);
    -
    63 
    -
    64  virtual std::shared_ptr<ChannelInterface> CreateChannel(
    -
    65  const grpc::string& target, const ChannelArguments& args) = 0;
    -
    66 };
    -
    67 
    -
    68 // Options used to build SslCredentials
    -
    69 // pem_roots_cert is the buffer containing the PEM encoding of the server root
    -
    70 // certificates. If this parameter is empty, the default roots will be used.
    -
    71 // pem_private_key is the buffer containing the PEM encoding of the client's
    -
    72 // private key. This parameter can be empty if the client does not have a
    -
    73 // private key.
    -
    74 // pem_cert_chain is the buffer containing the PEM encoding of the client's
    -
    75 // certificate chain. This parameter can be empty if the client does not have
    -
    76 // a certificate chain.
    +
    58  virtual bool ApplyToCall(grpc_call* call) = 0;
    +
    59 
    +
    60  protected:
    +
    61  friend std::shared_ptr<Credentials> CompositeCredentials(
    +
    62  const std::shared_ptr<Credentials>& creds1,
    +
    63  const std::shared_ptr<Credentials>& creds2);
    +
    64 
    +
    65  virtual SecureCredentials* AsSecureCredentials() = 0;
    +
    66 
    +
    67  private:
    +
    68  friend std::shared_ptr<Channel> CreateCustomChannel(
    +
    69  const grpc::string& target, const std::shared_ptr<Credentials>& creds,
    +
    70  const ChannelArguments& args);
    +
    71 
    +
    72  virtual std::shared_ptr<Channel> CreateChannel(
    +
    73  const grpc::string& target, const ChannelArguments& args) = 0;
    +
    74 };
    +
    75 
    - - - -
    81 };
    -
    82 
    -
    83 // Factories for building different types of Credentials
    -
    84 // The functions may return empty shared_ptr when credentials cannot be created.
    -
    85 // If a Credentials pointer is returned, it can still be invalid when used to
    -
    86 // create a channel. A lame channel will be created then and all rpcs will
    -
    87 // fail on it.
    + +
    84 
    +
    88 
    -
    89 // Builds credentials with reasonable defaults.
    -
    90 std::shared_ptr<Credentials> GoogleDefaultCredentials();
    -
    91 
    -
    92 // Builds SSL Credentials given SSL specific options
    -
    93 std::shared_ptr<Credentials> SslCredentials(
    -
    94  const SslCredentialsOptions& options);
    -
    95 
    -
    96 // Builds credentials for use when running in GCE
    -
    97 std::shared_ptr<Credentials> ComputeEngineCredentials();
    -
    98 
    -
    99 // Builds service account credentials.
    -
    100 // json_key is the JSON key string containing the client's private key.
    -
    101 // scope is a space-delimited list of the requested permissions.
    -
    102 // token_lifetime_seconds is the lifetime in seconds of each token acquired
    -
    103 // through this service account credentials. It should be positive and should
    -
    104 // not exceed grpc_max_auth_token_lifetime or will be cropped to this value.
    -
    105 std::shared_ptr<Credentials> ServiceAccountCredentials(
    -
    106  const grpc::string& json_key, const grpc::string& scope,
    -
    107  long token_lifetime_seconds);
    -
    108 
    -
    109 // Builds Service Account JWT Access credentials.
    -
    110 // json_key is the JSON key string containing the client's private key.
    -
    111 // token_lifetime_seconds is the lifetime in seconds of each Json Web Token
    -
    112 // (JWT) created with this credentials. It should not exceed
    -
    113 // grpc_max_auth_token_lifetime or will be cropped to this value.
    -
    114 std::shared_ptr<Credentials> ServiceAccountJWTAccessCredentials(
    -
    115  const grpc::string& json_key, long token_lifetime_seconds);
    -
    116 
    -
    117 // Builds refresh token credentials.
    -
    118 // json_refresh_token is the JSON string containing the refresh token along
    -
    119 // with a client_id and client_secret.
    -
    120 std::shared_ptr<Credentials> RefreshTokenCredentials(
    -
    121  const grpc::string& json_refresh_token);
    -
    122 
    -
    123 // Builds access token credentials.
    -
    124 // access_token is an oauth2 access token that was fetched using an out of band
    -
    125 // mechanism.
    -
    126 std::shared_ptr<Credentials> AccessTokenCredentials(
    -
    127  const grpc::string& access_token);
    -
    128 
    -
    129 // Builds IAM credentials.
    -
    130 std::shared_ptr<Credentials> IAMCredentials(
    -
    131  const grpc::string& authorization_token,
    -
    132  const grpc::string& authority_selector);
    -
    133 
    -
    134 // Combines two credentials objects into a composite credentials
    -
    135 std::shared_ptr<Credentials> CompositeCredentials(
    -
    136  const std::shared_ptr<Credentials>& creds1,
    -
    137  const std::shared_ptr<Credentials>& creds2);
    + +
    93 };
    +
    94 
    +
    95 // Factories for building different types of Credentials The functions may
    +
    96 // return empty shared_ptr when credentials cannot be created. If a
    +
    97 // Credentials pointer is returned, it can still be invalid when used to create
    +
    98 // a channel. A lame channel will be created then and all rpcs will fail on it.
    +
    99 
    +
    106 std::shared_ptr<Credentials> GoogleDefaultCredentials();
    +
    107 
    +
    109 std::shared_ptr<Credentials> SslCredentials(
    +
    110  const SslCredentialsOptions& options);
    +
    111 
    +
    118 std::shared_ptr<Credentials> GoogleComputeEngineCredentials();
    +
    119 
    +
    125 std::shared_ptr<Credentials> ServiceAccountJWTAccessCredentials(
    +
    126  const grpc::string& json_key, long token_lifetime_seconds);
    +
    127 
    +
    136 std::shared_ptr<Credentials> GoogleRefreshTokenCredentials(
    +
    137  const grpc::string& json_refresh_token);
    138 
    -
    139 // Credentials for an unencrypted, unauthenticated channel
    -
    140 std::shared_ptr<Credentials> InsecureCredentials();
    -
    141 
    -
    142 } // namespace grpc
    -
    143 
    -
    144 #endif // GRPCXX_CREDENTIALS_H
    -
    std::shared_ptr< Credentials > SslCredentials(const SslCredentialsOptions &options)
    +
    147 std::shared_ptr<Credentials> AccessTokenCredentials(
    +
    148  const grpc::string& access_token);
    +
    149 
    +
    156 std::shared_ptr<Credentials> GoogleIAMCredentials(
    +
    157  const grpc::string& authorization_token,
    +
    158  const grpc::string& authority_selector);
    +
    159 
    +
    161 std::shared_ptr<Credentials> CompositeCredentials(
    +
    162  const std::shared_ptr<Credentials>& creds1,
    +
    163  const std::shared_ptr<Credentials>& creds2);
    +
    164 
    +
    166 std::shared_ptr<Credentials> InsecureCredentials();
    +
    167 
    +
    168 } // namespace grpc
    +
    169 
    +
    170 #endif // GRPCXX_CREDENTIALS_H
    +
    std::shared_ptr< Credentials > SslCredentials(const SslCredentialsOptions &options)
    Builds SSL Credentials given SSL specific options.
    std::string string
    Definition: config.h:112
    -
    Definition: channel_arguments.h:52
    -
    std::shared_ptr< Credentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds)
    -
    std::shared_ptr< Credentials > ServiceAccountCredentials(const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
    +
    std::shared_ptr< Credentials > GoogleRefreshTokenCredentials(const grpc::string &json_refresh_token)
    Builds refresh token credentials.
    +
    Options for channel creation.
    Definition: channel_arguments.h:52
    +
    std::shared_ptr< Credentials > ServiceAccountJWTAccessCredentials(const grpc::string &json_key, long token_lifetime_seconds)
    Builds Service Account JWT Access credentials.
    +
    friend std::shared_ptr< Channel > CreateCustomChannel(const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
    Create a new custom Channel pointing to target.
    ~Credentials() GRPC_OVERRIDE
    -
    std::shared_ptr< Credentials > AccessTokenCredentials(const grpc::string &access_token)
    -
    virtual bool ApplyToCall(grpc_call *call)=0
    -
    std::shared_ptr< Credentials > ComputeEngineCredentials()
    -
    grpc::string pem_root_certs
    Definition: credentials.h:78
    -
    Definition: credentials.h:77
    +
    std::shared_ptr< Credentials > AccessTokenCredentials(const grpc::string &access_token)
    Builds access token credentials.
    +
    virtual bool ApplyToCall(grpc_call *call)=0
    Apply this instance's credentials to call.
    +
    grpc::string pem_root_certs
    The buffer containing the PEM encoding of the server root certificates.
    Definition: credentials.h:83
    +
    Options used to build SslCredentials.
    Definition: credentials.h:77
    Definition: grpc_library.h:41
    virtual SecureCredentials * AsSecureCredentials()=0
    -
    std::shared_ptr< Credentials > RefreshTokenCredentials(const grpc::string &json_refresh_token)
    -
    grpc::string pem_cert_chain
    Definition: credentials.h:80
    -
    Definition: credentials.h:47
    -
    grpc::string pem_private_key
    Definition: credentials.h:79
    -
    friend std::shared_ptr< ChannelInterface > CreateChannel(const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
    -
    std::shared_ptr< Credentials > GoogleDefaultCredentials()
    -
    friend std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
    -
    std::shared_ptr< Credentials > InsecureCredentials()
    -
    std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
    +
    grpc::string pem_cert_chain
    The buffer containing the PEM encoding of the client's certificate chain.
    Definition: credentials.h:92
    +
    std::shared_ptr< Credentials > GoogleIAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)
    Builds IAM credentials.
    +
    A credentials object encapsulates all the state needed by a client to authenticate with a server and ...
    Definition: credentials.h:53
    +
    grpc::string pem_private_key
    The buffer containing the PEM encoding of the client's private key.
    Definition: credentials.h:87
    +
    std::shared_ptr< Credentials > GoogleDefaultCredentials()
    Builds credentials with reasonable defaults.
    +
    friend std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
    Combines two credentials objects into a composite credentials.
    +
    std::shared_ptr< Credentials > InsecureCredentials()
    Credentials for an unencrypted, unauthenticated channel.
    +
    std::shared_ptr< Credentials > GoogleComputeEngineCredentials()
    Builds credentials for use when running in GCE.
    +
    std::shared_ptr< Credentials > CompositeCredentials(const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
    Combines two credentials objects into a composite credentials.
    #define GRPC_OVERRIDE
    Definition: config.h:77
    -
    std::shared_ptr< Credentials > IAMCredentials(const grpc::string &authorization_token, const grpc::string &authority_selector)
    diff --git a/doc/ref/c++/html/dir_19df79a805b4861569a906876c7b9634.html b/doc/ref/c++/html/dir_19df79a805b4861569a906876c7b9634.html new file mode 100644 index 00000000000..aa2b94833f4 --- /dev/null +++ b/doc/ref/c++/html/dir_19df79a805b4861569a906876c7b9634.html @@ -0,0 +1,102 @@ + + + + + + +GRPC C++: include/grpc++/generic Directory Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + +
    + +
    + + +
    +
    +
    +
    generic Directory Reference
    +
    +
    + + + + + + +

    +Files

    file  async_generic_service.h [code]
     
    file  generic_stub.h [code]
     
    +
    + + + + diff --git a/doc/ref/c++/html/dir_7d74774c8f3e0db94d40932630f431b6.html b/doc/ref/c++/html/dir_7d74774c8f3e0db94d40932630f431b6.html new file mode 100644 index 00000000000..73716e9a07f --- /dev/null +++ b/doc/ref/c++/html/dir_7d74774c8f3e0db94d40932630f431b6.html @@ -0,0 +1,106 @@ + + + + + + +GRPC C++: include/grpc++/security Directory Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + +
    + +
    + + +
    +
    +
    +
    security Directory Reference
    +
    +
    + + + + + + + + + + +

    +Files

    file  auth_context.h [code]
     
     
    file  credentials.h [code]
     
    file  server_credentials.h [code]
     
    +
    + + + + diff --git a/doc/ref/c++/html/dir_ac8b245a5921095c43c106649fd7bc4b.html b/doc/ref/c++/html/dir_ac8b245a5921095c43c106649fd7bc4b.html index d67f0f6c2af..bced59131e2 100644 --- a/doc/ref/c++/html/dir_ac8b245a5921095c43c106649fd7bc4b.html +++ b/doc/ref/c++/html/dir_ac8b245a5921095c43c106649fd7bc4b.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,8 +92,6 @@ Files   file  grpc_library.h [code]   -file  internal_stub.h [code] -  file  proto_utils.h [code]   file  rpc_method.h [code] @@ -120,7 +118,7 @@ Files diff --git a/doc/ref/c++/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html b/doc/ref/c++/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html new file mode 100644 index 00000000000..1b501f6a036 --- /dev/null +++ b/doc/ref/c++/html/dir_b3f05bce718e375cbe64ccd78910fb7d.html @@ -0,0 +1,124 @@ + + + + + + +GRPC C++: include/grpc++/support Directory Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + +
    + +
    + + +
    +
    +
    +
    support Directory Reference
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Files

    file  async_stream.h [code]
     
    file  async_unary_call.h [code]
     
    file  byte_buffer.h [code]
     
    file  channel_arguments.h [code]
     
    file  config.h [code]
     
    file  config_protobuf.h [code]
     
    file  slice.h [code]
     
    file  status.h [code]
     
    file  status_code_enum.h [code]
     
    file  string_ref.h [code]
     
    file  stub_options.h [code]
     
    file  sync_stream.h [code]
     
    file  time.h [code]
     
    +
    + + + + diff --git a/doc/ref/c++/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/ref/c++/html/dir_d44c64559bbebec7f509842c48db8b23.html index 3986c17d5b5..47903bc8128 100644 --- a/doc/ref/c++/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/doc/ref/c++/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ Directories diff --git a/doc/ref/c++/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html b/doc/ref/c++/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html index 08cde217bc7..8de67485e0b 100644 --- a/doc/ref/c++/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html +++ b/doc/ref/c++/html/dir_f1b2ab2a88927c1e950e43c1cf4b634b.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -86,68 +86,36 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + +

    Directories

    directory  generic
     
    directory  impl
     
    directory  security
     
    directory  support
     
    - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - -

    Files

    file  async_generic_service.h [code]
     
    file  async_unary_call.h [code]
     
    file  auth_context.h [code]
     
    file  auth_property_iterator.h [code]
     
    file  byte_buffer.h [code]
     
    file  channel_arguments.h [code]
     
    file  channel_interface.h [code]
    file  channel.h [code]
     
    file  client_context.h [code]
     
    file  completion_queue.h [code]
     
    file  config.h [code]
     
    file  config_protobuf.h [code]
     
    file  create_channel.h [code]
     
    file  credentials.h [code]
     
    file  dynamic_thread_pool.h [code]
     
    file  fixed_size_thread_pool.h [code]
     
    file  generic_stub.h [code]
     
    file  server.h [code]
     
    file  server_builder.h [code]
     
    file  server_context.h [code]
     
    file  server_credentials.h [code]
     
    file  slice.h [code]
     
    file  status.h [code]
     
    file  status_code_enum.h [code]
     
    file  stream.h [code]
     
    file  thread_pool_interface.h [code]
     
    file  time.h [code]
     
    diff --git a/doc/ref/c++/html/dynamic__thread__pool_8h.html b/doc/ref/c++/html/dynamic__thread__pool_8h.html deleted file mode 100644 index e5a5d795268..00000000000 --- a/doc/ref/c++/html/dynamic__thread__pool_8h.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/dynamic_thread_pool.h File Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    - -
    -
    dynamic_thread_pool.h File Reference
    -
    -
    -
    #include <grpc++/config.h>
    -#include <grpc++/impl/sync.h>
    -#include <grpc++/impl/thd.h>
    -#include <grpc++/thread_pool_interface.h>
    -#include <list>
    -#include <memory>
    -#include <queue>
    -
    -

    Go to the source code of this file.

    - - - - -

    -Data Structures

    class  grpc::DynamicThreadPool
     
    - - - -

    -Namespaces

     grpc
     
    -
    - - - - diff --git a/doc/ref/c++/html/files.html b/doc/ref/c++/html/files.html index 9583ac7b1d0..bb43cc2684b 100644 --- a/doc/ref/c++/html/files.html +++ b/doc/ref/c++/html/files.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -89,54 +89,56 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    [detail level 1234]
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    \-include
     \-grpc++
      o-impl
      |o*call.h
      |o*client_unary_call.h
      |o*grpc_library.h
      |o*internal_stub.h
      |o*proto_utils.h
      |o*rpc_method.h
      |o*rpc_service_method.h
      |o*serialization_traits.h
      |o*service_type.h
      |o*sync.h
      |o*sync_cxx11.h
      |o*sync_no_cxx11.h
      |o*thd.h
      |o*thd_cxx11.h
      |\*thd_no_cxx11.h
      o*async_generic_service.h
      o*async_unary_call.h
      o*auth_context.h
      o*auth_property_iterator.h
      o*byte_buffer.h
      o*channel_arguments.h
      o*channel_interface.h
      o*client_context.h
      o*completion_queue.h
      o*config.h
      o*config_protobuf.h
      o*create_channel.h
      o*credentials.h
      o*dynamic_thread_pool.h
      o*fixed_size_thread_pool.h
      o*generic_stub.h
      o*server.h
      o*server_builder.h
      o*server_context.h
      o*server_credentials.h
      o*slice.h
      o*status.h
      o*status_code_enum.h
      o*stream.h
      o*thread_pool_interface.h
      \*time.h
      o-generic
      |o*async_generic_service.h
      |\*generic_stub.h
      o-impl
      |o*call.h
      |o*client_unary_call.h
      |o*grpc_library.h
      |o*proto_utils.h
      |o*rpc_method.h
      |o*rpc_service_method.h
      |o*serialization_traits.h
      |o*service_type.h
      |o*sync.h
      |o*sync_cxx11.h
      |o*sync_no_cxx11.h
      |o*thd.h
      |o*thd_cxx11.h
      |\*thd_no_cxx11.h
      o-security
      |o*auth_context.h
      |o*auth_metadata_processor.h
      |o*credentials.h
      |\*server_credentials.h
      o-support
      |o*async_stream.h
      |o*async_unary_call.h
      |o*byte_buffer.h
      |o*channel_arguments.h
      |o*config.h
      |o*config_protobuf.h
      |o*slice.h
      |o*status.h
      |o*status_code_enum.h
      |o*string_ref.h
      |o*stub_options.h
      |o*sync_stream.h
      |\*time.h
      o*channel.h
      o*client_context.h
      o*completion_queue.h
      o*create_channel.h
      o*server.h
      o*server_builder.h
      \*server_context.h
    diff --git a/doc/ref/c++/html/fixed__size__thread__pool_8h_source.html b/doc/ref/c++/html/fixed__size__thread__pool_8h_source.html deleted file mode 100644 index a0f6f70d1a1..00000000000 --- a/doc/ref/c++/html/fixed__size__thread__pool_8h_source.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/fixed_size_thread_pool.h Source File - - - - - - - - - -
    -
    - - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    -
    -
    fixed_size_thread_pool.h
    -
    -
    -Go to the documentation of this file.
    1 /*
    -
    2  *
    -
    3  * Copyright 2015, Google Inc.
    -
    4  * All rights reserved.
    -
    5  *
    -
    6  * Redistribution and use in source and binary forms, with or without
    -
    7  * modification, are permitted provided that the following conditions are
    -
    8  * met:
    -
    9  *
    -
    10  * * Redistributions of source code must retain the above copyright
    -
    11  * notice, this list of conditions and the following disclaimer.
    -
    12  * * Redistributions in binary form must reproduce the above
    -
    13  * copyright notice, this list of conditions and the following disclaimer
    -
    14  * in the documentation and/or other materials provided with the
    -
    15  * distribution.
    -
    16  * * Neither the name of Google Inc. nor the names of its
    -
    17  * contributors may be used to endorse or promote products derived from
    -
    18  * this software without specific prior written permission.
    -
    19  *
    -
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    -
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    -
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    -
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    -
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    -
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    -
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    -
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    -
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    -
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    -
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    -
    31  *
    -
    32  */
    -
    33 
    -
    34 #ifndef GRPCXX_FIXED_SIZE_THREAD_POOL_H
    -
    35 #define GRPCXX_FIXED_SIZE_THREAD_POOL_H
    -
    36 
    -
    37 #include <grpc++/config.h>
    -
    38 
    -
    39 #include <grpc++/impl/sync.h>
    -
    40 #include <grpc++/impl/thd.h>
    - -
    42 
    -
    43 #include <queue>
    -
    44 #include <vector>
    -
    45 
    -
    46 namespace grpc {
    -
    47 
    - -
    49  public:
    -
    50  explicit FixedSizeThreadPool(int num_threads);
    - -
    52 
    -
    53  void Add(const std::function<void()>& callback) GRPC_OVERRIDE;
    -
    54 
    -
    55  private:
    -
    56  grpc::mutex mu_;
    - -
    58  bool shutdown_;
    -
    59  std::queue<std::function<void()>> callbacks_;
    -
    60  std::vector<grpc::thread*> threads_;
    -
    61 
    -
    62  void ThreadFunc();
    -
    63 };
    -
    64 
    -
    65 } // namespace grpc
    -
    66 
    -
    67 #endif // GRPCXX_FIXED_SIZE_THREAD_POOL_H
    - -
    Definition: sync_no_cxx11.h:45
    - -
    #define GRPC_FINAL
    Definition: config.h:71
    -
    Definition: thread_pool_interface.h:42
    -
    Definition: sync_no_cxx11.h:84
    - -
    FixedSizeThreadPool(int num_threads)
    - -
    void Add(const std::function< void()> &callback) GRPC_OVERRIDE
    -
    #define GRPC_OVERRIDE
    Definition: config.h:77
    -
    Definition: fixed_size_thread_pool.h:48
    - -
    - - - - diff --git a/doc/ref/c++/html/functions.html b/doc/ref/c++/html/functions.html index 9a78b706e32..c0c62aad297 100644 --- a/doc/ref/c++/html/functions.html +++ b/doc/ref/c++/html/functions.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -123,31 +125,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - : -

    diff --git a/doc/ref/c++/html/functions_a.html b/doc/ref/c++/html/functions_a.html index 0268e9e9496..8688eac1cd0 100644 --- a/doc/ref/c++/html/functions_a.html +++ b/doc/ref/c++/html/functions_a.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,11 +124,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - a -

    @@ -125,6 +127,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • begin() : grpc::AuthContext , grpc::Slice +, grpc::string_ref
  • BIDI_STREAMING : grpc::RpcMethod @@ -135,8 +138,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerContext
  • BlockingUnaryCall -: grpc::ClientContext -, grpc::CompletionQueue +: grpc::Channel +, grpc::ClientContext +, grpc::CompletionQueue
  • BuildAndStart() : grpc::ServerBuilder @@ -149,7 +153,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_c.html b/doc/ref/c++/html/functions_c.html index 6b5d95bc88d..ac7ce22e683 100644 --- a/doc/ref/c++/html/functions_c.html +++ b/doc/ref/c++/html/functions_c.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,6 +124,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - c -

    diff --git a/doc/ref/c++/html/functions_d.html b/doc/ref/c++/html/functions_d.html index 86ddbc40cbd..069c2ed635b 100644 --- a/doc/ref/c++/html/functions_d.html +++ b/doc/ref/c++/html/functions_d.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,6 +124,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - d -

    diff --git a/doc/ref/c++/html/functions_e.html b/doc/ref/c++/html/functions_e.html index 998aa5f0137..2401a646945 100644 --- a/doc/ref/c++/html/functions_e.html +++ b/doc/ref/c++/html/functions_e.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,9 +124,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - e -

    @@ -125,14 +127,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • FillOps() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CallOpSetInterface +, grpc::UnknownMethodHandler
  • FinalizeResult() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CompletionQueueTag , grpc::SneakyCallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • find() +: grpc::string_ref +
  • FindPropertyValues() -: grpc::AuthContext +: grpc::AuthContext
  • Finish() : grpc::ClientAsyncReader< R > @@ -165,20 +171,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ServerAsyncReader< W, R > , grpc::ServerAsyncResponseWriter< W >
  • -
  • FixedSizeThreadPool() -: grpc::FixedSizeThreadPool -
  • flags() : grpc::WriteOptions
  • force_client_auth : grpc::SslServerCredentialsOptions
  • +
  • FromServerContext() +: grpc::ClientContext +
  • diff --git a/doc/ref/c++/html/functions_func.html b/doc/ref/c++/html/functions_func.html index af38c7d6bf5..ef9cdced1cd 100644 --- a/doc/ref/c++/html/functions_func.html +++ b/doc/ref/c++/html/functions_func.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,11 +123,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - a -

    diff --git a/doc/ref/c++/html/functions_func_b.html b/doc/ref/c++/html/functions_func_b.html index b1971ecb99e..1b46fa61d2a 100644 --- a/doc/ref/c++/html/functions_func_b.html +++ b/doc/ref/c++/html/functions_func_b.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,6 +126,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • begin() : grpc::AuthContext , grpc::Slice +, grpc::string_ref
  • BidiStreamingHandler() : grpc::BidiStreamingHandler< ServiceType, RequestType, ResponseType > @@ -138,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_c.html b/doc/ref/c++/html/functions_func_c.html index 163654075c9..4e40bf8f57e 100644 --- a/doc/ref/c++/html/functions_func_c.html +++ b/doc/ref/c++/html/functions_func_c.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,14 +123,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - c -

    diff --git a/doc/ref/c++/html/functions_func_d.html b/doc/ref/c++/html/functions_func_d.html index fdc2cf67e62..0f0bbfeb65a 100644 --- a/doc/ref/c++/html/functions_func_d.html +++ b/doc/ref/c++/html/functions_func_d.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,6 +123,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - d -

    diff --git a/doc/ref/c++/html/functions_func_e.html b/doc/ref/c++/html/functions_func_e.html index 77414f4cb18..2944e4b8452 100644 --- a/doc/ref/c++/html/functions_func_e.html +++ b/doc/ref/c++/html/functions_func_e.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,9 +123,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - e -

    @@ -124,14 +126,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • FillOps() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CallOpSetInterface +, grpc::UnknownMethodHandler
  • FinalizeResult() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 > , grpc::CompletionQueueTag , grpc::SneakyCallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • find() +: grpc::string_ref +
  • FindPropertyValues() -: grpc::AuthContext +: grpc::AuthContext
  • Finish() : grpc::ClientAsyncReader< R > @@ -164,17 +170,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ServerAsyncReader< W, R > , grpc::ServerAsyncResponseWriter< W >
  • -
  • FixedSizeThreadPool() -: grpc::FixedSizeThreadPool -
  • flags() : grpc::WriteOptions
  • +
  • FromServerContext() +: grpc::ClientContext +
  • diff --git a/doc/ref/c++/html/functions_func_g.html b/doc/ref/c++/html/functions_func_g.html index 96f7cff6c79..e2974fff288 100644 --- a/doc/ref/c++/html/functions_func_g.html +++ b/doc/ref/c++/html/functions_func_g.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - g -

    @@ -134,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_i.html b/doc/ref/c++/html/functions_func_i.html index cc6670197d3..ff043361f71 100644 --- a/doc/ref/c++/html/functions_func_i.html +++ b/doc/ref/c++/html/functions_func_i.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -121,17 +123,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');  

    - i -

    diff --git a/doc/ref/c++/html/functions_func_j.html b/doc/ref/c++/html/functions_func_j.html index 1bd300def21..db6e61ce6cd 100644 --- a/doc/ref/c++/html/functions_func_j.html +++ b/doc/ref/c++/html/functions_func_j.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -128,7 +130,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_l.html b/doc/ref/c++/html/functions_func_l.html index 16dcf2cb8ff..2b88cb2456d 100644 --- a/doc/ref/c++/html/functions_func_l.html +++ b/doc/ref/c++/html/functions_func_l.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Length() : grpc::ByteBuffer
  • +
  • length() +: grpc::string_ref +
  • lock() : grpc::unique_lock< mutex >
  • @@ -137,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_m.html b/doc/ref/c++/html/functions_func_m.html index a863ce4b7c0..7ba10641ba4 100644 --- a/doc/ref/c++/html/functions_func_m.html +++ b/doc/ref/c++/html/functions_func_m.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -124,6 +126,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • max_message_size() : grpc::Call
  • +
  • max_size() +: grpc::string_ref +
  • method() : grpc::GenericServerContext
  • @@ -137,7 +142,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_n.html b/doc/ref/c++/html/functions_func_n.html index 915baa90ee2..316984f011c 100644 --- a/doc/ref/c++/html/functions_func_n.html +++ b/doc/ref/c++/html/functions_func_n.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -133,11 +135,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • notify_one() : grpc::condition_variable
  • +
  • NotifyOnStateChange() +: grpc::Channel +
  • diff --git a/doc/ref/c++/html/functions_func_o.html b/doc/ref/c++/html/functions_func_o.html index 4217e613d10..6027bde17e1 100644 --- a/doc/ref/c++/html/functions_func_o.html +++ b/doc/ref/c++/html/functions_func_o.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -136,6 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • operator=() : grpc::ChannelArguments , grpc::Slice +, grpc::string_ref , grpc::WriteOptions
  • operator==() @@ -145,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_p.html b/doc/ref/c++/html/functions_func_p.html index f8fc0fbddcd..55f5b91a15c 100644 --- a/doc/ref/c++/html/functions_func_p.html +++ b/doc/ref/c++/html/functions_func_p.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -131,11 +133,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • PerformOpsOnCall() : grpc::CallHook
  • +
  • Process() +: grpc::AuthMetadataProcessor +
  • +
  • PropagationOptions() +: grpc::PropagationOptions +
  • diff --git a/doc/ref/c++/html/functions_func_r.html b/doc/ref/c++/html/functions_func_r.html index ecdf1a4581a..85b9bf4d9bf 100644 --- a/doc/ref/c++/html/functions_func_r.html +++ b/doc/ref/c++/html/functions_func_r.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -130,6 +132,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • rbegin() +: grpc::string_ref +
  • Read() : grpc::AsyncReaderInterface< R > , grpc::ClientAsyncReader< R > @@ -161,14 +166,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ServerBuilder
  • RegisterAsyncService() -: grpc::ServerBuilder -
  • -
  • RegisterMethod() -: grpc::ChannelInterface +: grpc::ServerBuilder
  • RegisterService() : grpc::ServerBuilder
  • +
  • rend() +: grpc::string_ref +
  • RequestAsyncUnary() : grpc::AsynchronousService
  • @@ -185,7 +190,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AsynchronousService
  • RpcMethod() -: grpc::RpcMethod +: grpc::RpcMethod
  • RpcMethodHandler() : grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > @@ -199,12 +204,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::MethodHandler , grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > , grpc::ServerStreamingHandler< ServiceType, RequestType, ResponseType > +, grpc::UnknownMethodHandler
  • diff --git a/doc/ref/c++/html/functions_func_s.html b/doc/ref/c++/html/functions_func_s.html index 12412e4cb7b..a8d4b78749b 100644 --- a/doc/ref/c++/html/functions_func_s.html +++ b/doc/ref/c++/html/functions_func_s.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -206,6 +208,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • set_output_tag() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • SetAuthMetadataProcessor() +: grpc::ServerCredentials +
  • SetChannelArgs() : grpc::ChannelArguments
  • @@ -218,30 +223,43 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • SetMaxMessageSize() : grpc::ServerBuilder
  • +
  • SetPeerIdentityPropertyName() +: grpc::AuthContext +
  • SetSslTargetNameOverride() : grpc::ChannelArguments
  • SetString() : grpc::ChannelArguments
  • -
  • SetThreadPool() -: grpc::ServerBuilder -
  • Shutdown() : grpc::CompletionQueue -, grpc::Server +, grpc::Server
  • size() : grpc::Slice +, grpc::string_ref
  • Slice() -: grpc::Slice +: grpc::Slice +
  • +
  • ssl_transport_security_type() +: grpc::AuthContext
  • SslServerCredentialsOptions() : grpc::SslServerCredentialsOptions
  • +
  • starts_with() +: grpc::string_ref +
  • Status() -: grpc::Status +: grpc::Status +
  • +
  • string_ref() +: grpc::string_ref +
  • +
  • substr() +: grpc::string_ref
  • Swap() : grpc::ChannelArguments @@ -250,7 +268,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_t.html b/doc/ref/c++/html/functions_func_t.html index dce50cdebac..cf0b507fbec 100644 --- a/doc/ref/c++/html/functions_func_t.html +++ b/doc/ref/c++/html/functions_func_t.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,6 +131,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • transport_security_type_property_name() +: grpc::AuthContext +
  • TryCancel() : grpc::ClientContext
  • @@ -136,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_u.html b/doc/ref/c++/html/functions_func_u.html index e57abea50b4..1a40de122ab 100644 --- a/doc/ref/c++/html/functions_func_u.html +++ b/doc/ref/c++/html/functions_func_u.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,7 +136,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_w.html b/doc/ref/c++/html/functions_func_w.html index 1f345907614..1aac63b4c1d 100644 --- a/doc/ref/c++/html/functions_func_w.html +++ b/doc/ref/c++/html/functions_func_w.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -133,6 +135,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ClientReaderWriter< R, W > , grpc::ClientReaderWriterInterface< W, R > +
  • WaitForStateChange() +: grpc::Channel +
  • Write() : grpc::AsyncWriterInterface< W > , grpc::ClientAsyncReaderWriter< R, W > @@ -143,10 +148,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerAsyncWriter< W > , grpc::ServerReaderWriter< R, W > , grpc::ServerWriter< W > -, grpc::WriterInterface< W > +, grpc::WriterInterface< W >
  • WriteOptions() -: grpc::WriteOptions +: grpc::WriteOptions
  • WritesDone() : grpc::ClientAsyncReaderWriter< R, W > @@ -162,7 +167,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_func_x.html b/doc/ref/c++/html/functions_func_x.html new file mode 100644 index 00000000000..e4196f25fe8 --- /dev/null +++ b/doc/ref/c++/html/functions_func_x.html @@ -0,0 +1,141 @@ + + + + + + +GRPC C++: Data Fields - Functions + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + +
    + + + + +
    + +
    + +
    +  + +

    - x -

    +
    + + + + diff --git a/doc/ref/c++/html/functions_func_~.html b/doc/ref/c++/html/functions_func_~.html index 3f56fffa1a3..dba16379f9e 100644 --- a/doc/ref/c++/html/functions_func_~.html +++ b/doc/ref/c++/html/functions_func_~.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -99,6 +100,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -133,6 +135,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~AuthContext() : grpc::AuthContext
  • +
  • ~AuthMetadataProcessor() +: grpc::AuthMetadataProcessor +
  • ~AuthPropertyIterator() : grpc::AuthPropertyIterator
  • @@ -142,12 +147,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~CallHook() : grpc::CallHook
  • +
  • ~Channel() +: grpc::Channel +
  • ~ChannelArguments() : grpc::ChannelArguments
  • -
  • ~ChannelInterface() -: grpc::ChannelInterface -
  • ~ClientAsyncResponseReaderInterface() : grpc::ClientAsyncResponseReaderInterface< R >
  • @@ -172,18 +177,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~Credentials() : grpc::Credentials
  • -
  • ~DynamicThreadPool() -: grpc::DynamicThreadPool -
  • -
  • ~FixedSizeThreadPool() -: grpc::FixedSizeThreadPool -
  • ~GrpcLibrary() : grpc::GrpcLibrary
  • -
  • ~InternalStub() -: grpc::InternalStub -
  • ~lock_guard() : grpc::lock_guard< mutex >
  • @@ -217,9 +213,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~thread() : grpc::thread
  • -
  • ~ThreadPoolInterface() -: grpc::ThreadPoolInterface -
  • ~WriterInterface() : grpc::WriterInterface< W >
  • @@ -227,7 +220,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_g.html b/doc/ref/c++/html/functions_g.html index 91bed92507f..44643f594c8 100644 --- a/doc/ref/c++/html/functions_g.html +++ b/doc/ref/c++/html/functions_g.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -123,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - g -

    @@ -135,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_i.html b/doc/ref/c++/html/functions_i.html index 4203e1804b3..160f7c5f074 100644 --- a/doc/ref/c++/html/functions_i.html +++ b/doc/ref/c++/html/functions_i.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -128,17 +130,23 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • initial_metadata_count_ : grpc::CallOpSendInitialMetadata
  • -
  • InternalStub() -: grpc::InternalStub +
  • InputMetadata +: grpc::AuthMetadataProcessor +
  • +
  • IsBlocking() +: grpc::AuthMetadataProcessor
  • IsCancelled() : grpc::ServerContext
  • +
  • IsPeerAuthenticated() +: grpc::AuthContext +
  • diff --git a/doc/ref/c++/html/functions_j.html b/doc/ref/c++/html/functions_j.html index 248a685250f..5628f91def7 100644 --- a/doc/ref/c++/html/functions_j.html +++ b/doc/ref/c++/html/functions_j.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,7 +131,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_l.html b/doc/ref/c++/html/functions_l.html index db7ca7df25d..7c0fbf278b2 100644 --- a/doc/ref/c++/html/functions_l.html +++ b/doc/ref/c++/html/functions_l.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -125,6 +127,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • Length() : grpc::ByteBuffer
  • +
  • length() +: grpc::string_ref +
  • lock() : grpc::unique_lock< mutex >
  • @@ -139,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_m.html b/doc/ref/c++/html/functions_m.html index e72a428ae7e..bf00ce65135 100644 --- a/doc/ref/c++/html/functions_m.html +++ b/doc/ref/c++/html/functions_m.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -129,6 +131,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • max_message_size_ : grpc::CallOpSetInterface
  • +
  • max_size() +: grpc::string_ref +
  • method() : grpc::GenericServerContext
  • @@ -142,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_n.html b/doc/ref/c++/html/functions_n.html index f29803e0942..4bb85d90051 100644 --- a/doc/ref/c++/html/functions_n.html +++ b/doc/ref/c++/html/functions_n.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -140,11 +142,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • notify_one() : grpc::condition_variable
  • +
  • NotifyOnStateChange() +: grpc::Channel +
  • +
  • npos +: grpc::string_ref +
  • diff --git a/doc/ref/c++/html/functions_o.html b/doc/ref/c++/html/functions_o.html index 5372b741102..1b77bbb819f 100644 --- a/doc/ref/c++/html/functions_o.html +++ b/doc/ref/c++/html/functions_o.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -122,12 +124,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - o -

    diff --git a/doc/ref/c++/html/functions_p.html b/doc/ref/c++/html/functions_p.html index 26bd6cef84d..b0761722d36 100644 --- a/doc/ref/c++/html/functions_p.html +++ b/doc/ref/c++/html/functions_p.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -148,11 +150,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • private_key : grpc::SslServerCredentialsOptions::PemKeyCertPair
  • +
  • Process() +: grpc::AuthMetadataProcessor +
  • +
  • PropagationOptions() +: grpc::PropagationOptions +
  • diff --git a/doc/ref/c++/html/functions_r.html b/doc/ref/c++/html/functions_r.html index b31abe418da..9465e64201c 100644 --- a/doc/ref/c++/html/functions_r.html +++ b/doc/ref/c++/html/functions_r.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -131,6 +133,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • rbegin() +: grpc::string_ref +
  • Read() : grpc::AsyncReaderInterface< R > , grpc::ClientAsyncReader< R > @@ -162,14 +167,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ServerBuilder
  • RegisterAsyncService() -: grpc::ServerBuilder -
  • -
  • RegisterMethod() -: grpc::ChannelInterface +: grpc::ServerBuilder
  • RegisterService() : grpc::ServerBuilder
  • +
  • rend() +: grpc::string_ref +
  • request : grpc::MethodHandler::HandlerParameter
  • @@ -189,7 +194,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::AsynchronousService
  • RpcMethod() -: grpc::RpcMethod +: grpc::RpcMethod
  • RpcMethodHandler : grpc::CompletionQueue @@ -208,12 +213,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::MethodHandler , grpc::RpcMethodHandler< ServiceType, RequestType, ResponseType > , grpc::ServerStreamingHandler< ServiceType, RequestType, ResponseType > +, grpc::UnknownMethodHandler
  • diff --git a/doc/ref/c++/html/functions_rela.html b/doc/ref/c++/html/functions_rela.html index dae4563d38c..c4b115d44bf 100644 --- a/doc/ref/c++/html/functions_rela.html +++ b/doc/ref/c++/html/functions_rela.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -86,7 +87,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • l
  • r
  • s
  • -
  • t
  • +
  • t
  • +
  • u
  • @@ -109,31 +111,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - : -

    @@ -186,8 +205,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerContext
  • BlockingUnaryCall -: grpc::ClientContext -, grpc::CompletionQueue +: grpc::Channel +, grpc::ClientContext +, grpc::CompletionQueue
  • ByteBuffer : grpc::Slice @@ -216,8 +236,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::lock_guard< mutex > , grpc::mutex
  • -
  • CreateChannel -: grpc::Credentials +
  • CreateChannelInternal +: grpc::Channel +
  • +
  • CreateCustomChannel +: grpc::Credentials
  • @@ -269,10 +292,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc::ChannelArguments + + +

    - u -

    diff --git a/doc/ref/c++/html/functions_s.html b/doc/ref/c++/html/functions_s.html index 6c9d432a823..74461148e2e 100644 --- a/doc/ref/c++/html/functions_s.html +++ b/doc/ref/c++/html/functions_s.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -235,6 +237,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • set_output_tag() : grpc::CallOpSet< Op1, Op2, Op3, Op4, Op5, Op6 >
  • +
  • SetAuthMetadataProcessor() +: grpc::ServerCredentials +
  • SetChannelArgs() : grpc::ChannelArguments
  • @@ -247,15 +252,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • SetMaxMessageSize() : grpc::ServerBuilder
  • +
  • SetPeerIdentityPropertyName() +: grpc::AuthContext +
  • SetSslTargetNameOverride() : grpc::ChannelArguments
  • SetString() : grpc::ChannelArguments
  • -
  • SetThreadPool() -: grpc::ServerBuilder -
  • Shutdown() : grpc::CompletionQueue
  • @@ -267,15 +272,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • size() : grpc::Slice +, grpc::string_ref
  • Slice() -: grpc::Slice +: grpc::Slice +
  • +
  • ssl_transport_security_type() +: grpc::AuthContext
  • SslServerCredentialsOptions() : grpc::SslServerCredentialsOptions
  • +
  • starts_with() +: grpc::string_ref +
  • Status() -: grpc::Status +: grpc::Status
  • STEAL_REF : grpc::Slice @@ -283,6 +295,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • StealRef : grpc::Slice
  • +
  • string_ref() +: grpc::string_ref +
  • +
  • substr() +: grpc::string_ref +
  • Swap() : grpc::ChannelArguments
  • @@ -290,7 +308,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_t.html b/doc/ref/c++/html/functions_t.html index ae1aa63b5d1..6a5eb4a318c 100644 --- a/doc/ref/c++/html/functions_t.html +++ b/doc/ref/c++/html/functions_t.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -136,6 +138,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::TimePoint< gpr_timespec > , grpc::TimePoint< std::chrono::system_clock::time_point > +
  • transport_security_type_property_name() +: grpc::AuthContext +
  • TryCancel() : grpc::ClientContext
  • @@ -143,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_type.html b/doc/ref/c++/html/functions_type.html new file mode 100644 index 00000000000..164e16b40ea --- /dev/null +++ b/doc/ref/c++/html/functions_type.html @@ -0,0 +1,119 @@ + + + + + + +GRPC C++: Data Fields - Typedefs + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + +
    + +
    + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    + + +
    + +
    + +
    +
    + + + + diff --git a/doc/ref/c++/html/functions_u.html b/doc/ref/c++/html/functions_u.html index a9f8a64b4b6..299e9f63d5a 100644 --- a/doc/ref/c++/html/functions_u.html +++ b/doc/ref/c++/html/functions_u.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -125,6 +127,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • unique_lock() : grpc::unique_lock< mutex >
  • +
  • UnknownMethodHandler +: grpc::CompletionQueue +, grpc::ServerContext +
  • unlock() : grpc::unique_lock< mutex >
  • @@ -135,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_vars.html b/doc/ref/c++/html/functions_vars.html index 3819f30c373..49bac55e6af 100644 --- a/doc/ref/c++/html/functions_vars.html +++ b/doc/ref/c++/html/functions_vars.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -122,6 +123,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • max_message_size_ : grpc::CallOpSetInterface
  • +
  • npos +: grpc::string_ref +
  • OK : grpc::Status
  • @@ -154,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_w.html b/doc/ref/c++/html/functions_w.html index d09c1d5bbd1..0188fe6a7dc 100644 --- a/doc/ref/c++/html/functions_w.html +++ b/doc/ref/c++/html/functions_w.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,6 +136,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ClientReaderWriter< R, W > , grpc::ClientReaderWriterInterface< W, R > +
  • WaitForStateChange() +: grpc::Channel +
  • Write() : grpc::AsyncWriterInterface< W > , grpc::ClientAsyncReaderWriter< R, W > @@ -144,10 +149,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); , grpc::ServerAsyncWriter< W > , grpc::ServerReaderWriter< R, W > , grpc::ServerWriter< W > -, grpc::WriterInterface< W > +, grpc::WriterInterface< W >
  • WriteOptions() -: grpc::WriteOptions +: grpc::WriteOptions
  • WritesDone() : grpc::ClientAsyncReaderWriter< R, W > @@ -163,7 +168,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/functions_x.html b/doc/ref/c++/html/functions_x.html new file mode 100644 index 00000000000..94f9b4ef06e --- /dev/null +++ b/doc/ref/c++/html/functions_x.html @@ -0,0 +1,142 @@ + + + + + + +GRPC C++: Data Fields + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + +
    + + + + +
    + +
    + +
    +
    Here is a list of all struct and union fields with links to the structures/unions they belong to:
    + +

    - x -

    +
    + + + + diff --git a/doc/ref/c++/html/functions_~.html b/doc/ref/c++/html/functions_~.html index 0ddb2275c02..03fe49937cc 100644 --- a/doc/ref/c++/html/functions_~.html +++ b/doc/ref/c++/html/functions_~.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -72,6 +72,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • All
  • Functions
  • Variables
  • +
  • Typedefs
  • Enumerations
  • Enumerator
  • Related Functions
  • @@ -100,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • t
  • u
  • w
  • +
  • x
  • ~
  • @@ -134,6 +136,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~AuthContext() : grpc::AuthContext
  • +
  • ~AuthMetadataProcessor() +: grpc::AuthMetadataProcessor +
  • ~AuthPropertyIterator() : grpc::AuthPropertyIterator
  • @@ -143,12 +148,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~CallHook() : grpc::CallHook
  • +
  • ~Channel() +: grpc::Channel +
  • ~ChannelArguments() : grpc::ChannelArguments
  • -
  • ~ChannelInterface() -: grpc::ChannelInterface -
  • ~ClientAsyncResponseReaderInterface() : grpc::ClientAsyncResponseReaderInterface< R >
  • @@ -173,18 +178,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~Credentials() : grpc::Credentials
  • -
  • ~DynamicThreadPool() -: grpc::DynamicThreadPool -
  • -
  • ~FixedSizeThreadPool() -: grpc::FixedSizeThreadPool -
  • ~GrpcLibrary() : grpc::GrpcLibrary
  • -
  • ~InternalStub() -: grpc::InternalStub -
  • ~lock_guard() : grpc::lock_guard< mutex >
  • @@ -218,9 +214,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • ~thread() : grpc::thread
  • -
  • ~ThreadPoolInterface() -: grpc::ThreadPoolInterface -
  • ~WriterInterface() : grpc::WriterInterface< W >
  • @@ -228,7 +221,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/generic__stub_8h.html b/doc/ref/c++/html/generic__stub_8h.html index f374a8e394b..07699a447db 100644 --- a/doc/ref/c++/html/generic__stub_8h.html +++ b/doc/ref/c++/html/generic__stub_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/generic_stub.h File Reference +GRPC C++: include/grpc++/generic/generic_stub.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,8 +93,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    generic_stub.h File Reference
    -
    #include <grpc++/byte_buffer.h>
    -#include <grpc++/stream.h>
    +

    Go to the source code of this file.

    @@ -118,7 +118,7 @@ ClientAsyncReaderWriter
    diff --git a/doc/ref/c++/html/generic__stub_8h_source.html b/doc/ref/c++/html/generic__stub_8h_source.html index 9c125f01c83..7137c4b5ef8 100644 --- a/doc/ref/c++/html/generic__stub_8h_source.html +++ b/doc/ref/c++/html/generic__stub_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/generic_stub.h Source File +GRPC C++: include/grpc++/generic/generic_stub.h Source File @@ -23,7 +23,7 @@ @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,11 +122,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_GENERIC_STUB_H
    -
    35 #define GRPCXX_GENERIC_STUB_H
    +
    34 #ifndef GRPCXX_GENERIC_GENERIC_STUB_H
    +
    35 #define GRPCXX_GENERIC_GENERIC_STUB_H
    36 
    -
    37 #include <grpc++/byte_buffer.h>
    -
    38 #include <grpc++/stream.h>
    + +
    39 
    40 namespace grpc {
    41 
    @@ -138,36 +138,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    47 // by name.
    49  public:
    -
    50  explicit GenericStub(std::shared_ptr<ChannelInterface> channel)
    -
    51  : channel_(channel) {}
    -
    52 
    -
    53  // begin a call to a named method
    -
    54  std::unique_ptr<GenericClientAsyncReaderWriter> Call(
    -
    55  ClientContext* context, const grpc::string& method,
    -
    56  CompletionQueue* cq, void* tag);
    -
    57 
    -
    58  private:
    -
    59  std::shared_ptr<ChannelInterface> channel_;
    -
    60 };
    -
    61 
    -
    62 } // namespace grpc
    -
    63 
    -
    64 #endif // GRPCXX_GENERIC_STUB_H
    -
    Definition: client_context.h:70
    +
    50  explicit GenericStub(std::shared_ptr<Channel> channel) : channel_(channel) {}
    +
    51 
    +
    52  // begin a call to a named method
    +
    53  std::unique_ptr<GenericClientAsyncReaderWriter> Call(
    +
    54  ClientContext* context, const grpc::string& method, CompletionQueue* cq,
    +
    55  void* tag);
    +
    56 
    +
    57  private:
    +
    58  std::shared_ptr<Channel> channel_;
    +
    59 };
    +
    60 
    +
    61 } // namespace grpc
    +
    62 
    +
    63 #endif // GRPCXX_GENERIC_GENERIC_STUB_H
    +
    Definition: channel.h:64
    std::string string
    Definition: config.h:112
    +
    GenericStub(std::shared_ptr< Channel > channel)
    Definition: generic_stub.h:50
    #define GRPC_FINAL
    Definition: config.h:71
    -
    Definition: client_context.h:74
    - +
    Definition: client_context.h:149
    std::unique_ptr< GenericClientAsyncReaderWriter > Call(ClientContext *context, const grpc::string &method, CompletionQueue *cq, void *tag)
    -
    Definition: completion_queue.h:87
    + +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    ClientAsyncReaderWriter< ByteBuffer, ByteBuffer > GenericClientAsyncReaderWriter
    Definition: generic_stub.h:42
    Definition: generic_stub.h:48
    -
    GenericStub(std::shared_ptr< ChannelInterface > channel)
    Definition: generic_stub.h:50
    diff --git a/doc/ref/c++/html/globals.html b/doc/ref/c++/html/globals.html index 8488cc2ed15..ffe6a5c9ce0 100644 --- a/doc/ref/c++/html/globals.html +++ b/doc/ref/c++/html/globals.html @@ -23,7 +23,7 @@ @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/globals_defs.html b/doc/ref/c++/html/globals_defs.html index c8f75e6c592..a667d881c0b 100644 --- a/doc/ref/c++/html/globals_defs.html +++ b/doc/ref/c++/html/globals_defs.html @@ -23,7 +23,7 @@ @@ -116,7 +116,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/graph_legend.html b/doc/ref/c++/html/graph_legend.html index 0af9f04cd31..9a7f04f96da 100644 --- a/doc/ref/c++/html/graph_legend.html +++ b/doc/ref/c++/html/graph_legend.html @@ -23,7 +23,7 @@ @@ -146,7 +146,7 @@ A yellow dashed arrow denotes a relation between a template instance and the tem diff --git a/doc/ref/c++/html/grpc__library_8h.html b/doc/ref/c++/html/grpc__library_8h.html index 733bf6f7d9e..a53fafd6726 100644 --- a/doc/ref/c++/html/grpc__library_8h.html +++ b/doc/ref/c++/html/grpc__library_8h.html @@ -23,7 +23,7 @@ @@ -109,7 +109,7 @@ Namespaces diff --git a/doc/ref/c++/html/grpc__library_8h_source.html b/doc/ref/c++/html/grpc__library_8h_source.html index 418506163e4..7fed604c792 100644 --- a/doc/ref/c++/html/grpc__library_8h_source.html +++ b/doc/ref/c++/html/grpc__library_8h_source.html @@ -23,7 +23,7 @@ @@ -137,15 +137,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    46 
    47 } // namespace grpc
    48 
    -
    49 
    -
    50 #endif // GRPCXX_IMPL_GRPC_LIBRARY_H
    +
    49 #endif // GRPCXX_IMPL_GRPC_LIBRARY_H
    Definition: grpc_library.h:41
    GrpcLibrary()
    Definition: grpc_library.h:43
    virtual ~GrpcLibrary()
    Definition: grpc_library.h:44
    diff --git a/doc/ref/c++/html/hierarchy.html b/doc/ref/c++/html/hierarchy.html index 41eff772987..055c260111f 100644 --- a/doc/ref/c++/html/hierarchy.html +++ b/doc/ref/c++/html/hierarchy.html @@ -23,7 +23,7 @@ @@ -91,61 +91,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    [detail level 1234]
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    - + - + - - - - + + + + - + - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - + + + + + - - - - - - - - - - - - - + + + + + + + @@ -157,11 +141,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + + - + @@ -177,91 +162,107 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -270,65 +271,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + + + + +
    oCgrpc::AsyncGenericService
    oCgrpc::AsynchronousService
    oCgrpc::AsyncReaderInterface< R >
    oCgrpc::AsyncReaderInterface< R >An interface that yields a sequence of messages of type R
    oCgrpc::AsyncWriterInterface< W >
    oCgrpc::AsyncWriterInterface< W >An interface that can be fed a sequence of messages of type W
    oCgrpc::AuthContext
    oCgrpc::ByteBuffer
    oCgrpc::Call
    oCgrpc::CallHook
    oCgrpc::CallNoOp< I >Default argument for CallOpSet
    oCgrpc::CallNoOp< 2 >
    oCgrpc::CallNoOp< 3 >
    oCgrpc::AuthContextClass encapsulating the Authentication Information
    oCgrpc::AuthMetadataProcessor
    oCgrpc::ByteBufferA sequence of bytes
    oCgrpc::Call
    oCgrpc::CallHook
    oCgrpc::CallNoOp< I >Default argument for CallOpSet
    oCgrpc::CallNoOp< 2 >
    oCgrpc::CallNoOp< 4 >
    oCgrpc::CallNoOp< 3 >
    oCgrpc::CallNoOp< 5 >
    oCgrpc::CallNoOp< 4 >
    oCgrpc::CallNoOp< 6 >
    oCgrpc::CallNoOp< 5 >
    oCgrpc::CallOpClientRecvStatus
    oCgrpc::CallOpClientSendClose
    oCgrpc::CallOpGenericRecvMessage
    oCgrpc::CallOpRecvInitialMetadata
    oCgrpc::CallOpRecvMessage< R >
    oCgrpc::CallOpSendInitialMetadata
    oCgrpc::CallOpSendMessage
    oCgrpc::CallOpServerSendStatus
    oCgrpc::ChannelArguments
    oCgrpc::ClientAsyncResponseReaderInterface< R >
    oCgrpc::ClientAsyncStreamingInterface
    oCgrpc::ClientContext
    oCgrpc::ClientStreamingInterface
    oCgrpc::CompletionQueueTag
    oCgrpc::condition_variable
    oCgrpc::CallOpGenericRecvMessageHelper::DeserializeFunc
    oCenable_shared_from_this
    oCgrpc::GenericStub
    oCgrpc::GrpcLibrary
    oCgrpc::MethodHandler::HandlerParameter
    oCgrpc::InternalStub
    oCgrpc::CallNoOp< 6 >
    oCgrpc::CallOpClientRecvStatus
    oCgrpc::CallOpClientSendClose
    oCgrpc::CallOpGenericRecvMessage
    oCgrpc::CallOpRecvInitialMetadata
    oCgrpc::CallOpRecvMessage< R >
    oCgrpc::CallOpSendInitialMetadata
    oCgrpc::CallOpSendMessage
    oCgrpc::CallOpServerSendStatus
    oCgrpc::ChannelArgumentsOptions for channel creation
    oCgrpc::ClientAsyncResponseReaderInterface< R >
    oCgrpc::ClientAsyncStreamingInterfaceCommon interface for all client side asynchronous streaming
    oCgrpc::ClientContext
    oCgrpc::ClientStreamingInterfaceCommon interface for all synchronous client side streaming
    oCgrpc::CompletionQueueTagAn interface allowing implementors to process and filter event tags
    oCgrpc::condition_variable
    oCgrpc::CallOpGenericRecvMessageHelper::DeserializeFunc
    oCenable_shared_from_this
    oCgrpc::GenericStub
    oCgrpc::GrpcLibrary
    oCgrpc::MethodHandler::HandlerParameter
    oCiterator
    oCgrpc::lock_guard< mutex >
    oCgrpc::mutex
    oCgrpc::SslServerCredentialsOptions::PemKeyCertPair
    oCgrpc::ReaderInterface< R >
    oCgrpc::RpcMethod
    oCgrpc::RpcService
    oCgrpc::SerializationTraits< Message, UnusedButHereForPartialTemplateSpecialization >Defines how to serialize and deserialize some type
    oCgrpc::SerializationTraits< ByteBuffer, void >
    oCgrpc::SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
    oCgrpc::ServerAsyncStreamingInterface
    oCgrpc::ServerBuilder
    oCgrpc::ServerContext
    oCgrpc::ServerCredentials
    oCgrpc::Slice
    oCgrpc::SslCredentialsOptions
    oCgrpc::SslServerCredentialsOptions
    oCgrpc::Status
    oCgrpc::SynchronousService
    oCgrpc::thread
    oCgrpc::ThreadPoolInterface
    oCgrpc::TimePoint< T >
    oCgrpc::TimePoint< gpr_timespec >
    oCgrpc::TimePoint< std::chrono::system_clock::time_point >
    oCgrpc::WriteOptionsPer-message write options
    oCgrpc::WriterInterface< W >
    oCOp1
    oCOp2
    oCOp3
    oCgrpc::PropagationOptionsOptions for ClientContext::FromServerContext specifying which traits from the ServerContext to propagate (copy) from it into a new ClientContext
    oCgrpc::ReaderInterface< R >An interface that yields a sequence of messages of type R
    oCgrpc::RpcMethod
    oCgrpc::RpcService
    oCgrpc::SerializationTraits< Message, UnusedButHereForPartialTemplateSpecialization >Defines how to serialize and deserialize some type
    oCgrpc::SerializationTraits< ByteBuffer, void >
    oCgrpc::SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
    oCgrpc::ServerAsyncStreamingInterface
    oCgrpc::ServerBuilderA builder class for the creation and startup of grpc::Server instances
    oCgrpc::ServerContext
    oCgrpc::ServerCredentials
    oCgrpc::SliceA wrapper around grpc_slice
    oCgrpc::SslCredentialsOptionsOptions used to build SslCredentials
    oCgrpc::SslServerCredentialsOptionsOptions to create ServerCredentials with SSL
    oCgrpc::StatusDid it work? If it didn't, why?
    oCgrpc::string_refThis class is a non owning reference to a string
    oCgrpc::StubOptions
    oCgrpc::SynchronousService
    oCgrpc::thread
    oCgrpc::TimePoint< T >
    oCgrpc::TimePoint< gpr_timespec >
    oCgrpc::TimePoint< std::chrono::system_clock::time_point >
    oCgrpc::WriteOptionsPer-message write options
    oCgrpc::WriterInterface< W >An interface that can be fed a sequence of messages of type W
    oCOp1
    oCOp4
    oCOp2
    oCOp5
    oCOp3
    \COp6
    oCOp4
    oCOp5
    \COp6
    diff --git a/doc/ref/c++/html/index.html b/doc/ref/c++/html/index.html index ef20d58e7ef..cc0087a965f 100644 --- a/doc/ref/c++/html/index.html +++ b/doc/ref/c++/html/index.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -82,7 +82,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/internal__stub_8h_source.html b/doc/ref/c++/html/internal__stub_8h_source.html deleted file mode 100644 index 2ddaea85d7c..00000000000 --- a/doc/ref/c++/html/internal__stub_8h_source.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -GRPC C++: include/grpc++/impl/internal_stub.h Source File - - - - - - - - - -
    -
    - - - - - - -
    -
    GRPC C++ -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    -
    -
    internal_stub.h
    -
    -
    -Go to the documentation of this file.
    1 /*
    -
    2  *
    -
    3  * Copyright 2015, Google Inc.
    -
    4  * All rights reserved.
    -
    5  *
    -
    6  * Redistribution and use in source and binary forms, with or without
    -
    7  * modification, are permitted provided that the following conditions are
    -
    8  * met:
    -
    9  *
    -
    10  * * Redistributions of source code must retain the above copyright
    -
    11  * notice, this list of conditions and the following disclaimer.
    -
    12  * * Redistributions in binary form must reproduce the above
    -
    13  * copyright notice, this list of conditions and the following disclaimer
    -
    14  * in the documentation and/or other materials provided with the
    -
    15  * distribution.
    -
    16  * * Neither the name of Google Inc. nor the names of its
    -
    17  * contributors may be used to endorse or promote products derived from
    -
    18  * this software without specific prior written permission.
    -
    19  *
    -
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    -
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    -
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    -
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    -
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    -
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    -
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    -
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    -
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    -
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    -
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    -
    31  *
    -
    32  */
    -
    33 
    -
    34 #ifndef GRPCXX_IMPL_INTERNAL_STUB_H
    -
    35 #define GRPCXX_IMPL_INTERNAL_STUB_H
    -
    36 
    -
    37 #include <memory>
    -
    38 
    - -
    40 
    -
    41 namespace grpc {
    -
    42 
    -
    43 class InternalStub {
    -
    44  public:
    -
    45  InternalStub(const std::shared_ptr<ChannelInterface>& channel)
    -
    46  : channel_(channel) {}
    -
    47  virtual ~InternalStub() {}
    -
    48 
    -
    49  ChannelInterface* channel() { return channel_.get(); }
    -
    50 
    -
    51  private:
    -
    52  const std::shared_ptr<ChannelInterface> channel_;
    -
    53 };
    -
    54 
    -
    55 } // namespace grpc
    -
    56 
    -
    57 #endif // GRPCXX_IMPL_INTERNAL_STUB_H
    - -
    Definition: channel_interface.h:52
    -
    virtual ~InternalStub()
    Definition: internal_stub.h:47
    -
    InternalStub(const std::shared_ptr< ChannelInterface > &channel)
    Definition: internal_stub.h:45
    -
    Definition: internal_stub.h:43
    -
    ChannelInterface * channel()
    Definition: internal_stub.h:49
    -
    - - - - diff --git a/doc/ref/c++/html/namespacegrpc.html b/doc/ref/c++/html/namespacegrpc.html index f9508c6a453..591f5960d09 100644 --- a/doc/ref/c++/html/namespacegrpc.html +++ b/doc/ref/c++/html/namespacegrpc.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -103,28 +103,6 @@ Namespaces - - - - - - - - - - - - - - - - - - - - - - @@ -137,6 +115,14 @@ Data Structures + + + + + + + + @@ -144,6 +130,7 @@ Data Structures + @@ -153,19 +140,18 @@ Data Structures - - + - - - + + - + + - + - + @@ -192,7 +178,7 @@ Data Structures - + @@ -206,14 +192,14 @@ Data Structures - - + + @@ -237,51 +223,96 @@ Data Structures + + + + + + + + + + + + + + + + + + + + + + + - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + @@ -296,15 +327,16 @@ TypedefsServerAsyncReaderWriter
    < ByteBuffer, ByteBuffer >  - - - - + + + +

    Data Structures

    class  GenericServerContext
     
    class  AsyncGenericService
     
    class  ClientAsyncResponseReaderInterface
     
    class  ClientAsyncResponseReader
     
    class  ServerAsyncResponseWriter
     
    class  AuthContext
     
    class  AuthPropertyIterator
     
    class  ByteBuffer
     
    class  SerializationTraits< ByteBuffer, void >
     
    class  ChannelArguments
     
    class  ChannelInterface
     
    class  ClientReader
     
    class  ClientWriter
     
    class  ClientAsyncReaderWriter
     
    class  ClientAsyncResponseReader
     
    class  Channel
     Channels represent a connection to an endpoint. Created by CreateChannel. More...
     
    class  PropagationOptions
     Options for ClientContext::FromServerContext specifying which traits from the ServerContext to propagate (copy) from it into a new ClientContext. More...
     
    class  ClientContext
     
    class  ServerReader
    class  ServerWriter
     
    class  ServerReaderWriter
     Server-side interface for bi-directional streaming. More...
     
    class  RpcMethodHandler
     
     
    class  BidiStreamingHandler
     
    class  CompletionQueueTag
     
    class  CompletionQueue
     A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h). More...
     
    class  ServerCompletionQueue
     
    class  Credentials
    class  CompletionQueueTag
     An interface allowing implementors to process and filter event tags. More...
     
    struct  SslCredentialsOptions
    class  ServerCompletionQueue
     A specific type of completion queue used by the processing of notifications by servers. More...
     
    class  DynamicThreadPool
    class  GenericServerContext
     
    class  FixedSizeThreadPool
    class  AsyncGenericService
     
    class  GenericStub
     
    class  CallOpClientRecvStatus
     
    class  CallOpSetInterface
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     An abstract collection of call ops, used to generate the grpc_call_op structure to pass down to the lower layers, and as it is-a CompletionQueueTag, also massages the final completion into the correct form for consumption in the C++ API. More...
     
    class  CallOpSet
     Primary implementaiton of CallOpSetInterface. More...
     
    class  GrpcLibrary
     
    class  InternalStub
     
    class  SerializationTraits< T, typename std::enable_if< std::is_base_of< grpc::protobuf::Message, T >::value >::type >
     
    class  RpcMethod
     
    class  MethodHandler
     
    class  UnknownMethodHandler
     
    class  RpcServiceMethod
     
    class  RpcService
     
    class  thread
     
    class  AuthPropertyIterator
     
    class  AuthContext
     Class encapsulating the Authentication Information. More...
     
    class  AuthMetadataProcessor
     
    class  Credentials
     A credentials object encapsulates all the state needed by a client to authenticate with a server and make various assertions, e.g., about the client’s identity, role, or whether it is authorized to make a particular call. More...
     
    struct  SslCredentialsOptions
     Options used to build SslCredentials. More...
     
    class  ServerCredentials
     
    struct  SslServerCredentialsOptions
     Options to create ServerCredentials with SSL. More...
     
    class  Server
     Models a gRPC server. More...
     
    class  ServerBuilder
     A builder class for the creation and startup of grpc::Server instances. More...
     
    class  ServerAsyncReader
     
    class  ServerAsyncWriter
     
    class  ServerAsyncResponseWriter
     
    class  ServerAsyncReaderWriter
     Server-side interface for asynchronous bi-directional streaming. More...
     
    class  ServerContext
     
    class  ServerCredentials
    class  ClientAsyncStreamingInterface
     Common interface for all client side asynchronous streaming. More...
     
    struct  SslServerCredentialsOptions
    class  AsyncReaderInterface
     An interface that yields a sequence of messages of type R. More...
     
    class  AsyncWriterInterface
     An interface that can be fed a sequence of messages of type W. More...
     
    class  ClientAsyncReaderInterface
     
    class  ClientAsyncWriterInterface
     Common interface for client side asynchronous writing. More...
     
    class  ClientAsyncReaderWriterInterface
     Client-side interface for asynchronous bi-directional streaming. More...
     
    class  ClientAsyncResponseReaderInterface
     
    class  ByteBuffer
     A sequence of bytes. More...
     
    class  SerializationTraits< ByteBuffer, void >
     
    class  ChannelArguments
     Options for channel creation. More...
     
    class  Slice
     A wrapper around grpc_slice. More...
     
    class  Status
     Did it work? If it didn't, why? More...
     
    class  string_ref
     This class is a non owning reference to a string. More...
     
    class  StubOptions
     
    class  ClientStreamingInterface
     Common interface for all synchronous client side streaming. More...
     
    class  ReaderInterface
     An interface that yields a sequence of messages of type R. More...
     
    class  WriterInterface
     An interface that can be fed a sequence of messages of type W. More...
     
    class  ClientReaderInterface
     Client-side interface for streaming reads of message of type R. More...
     
    class  ClientWriterInterface
     Client-side interface for streaming writes of message of type W. More...
     
    class  ClientReaderWriterInterface
     
    class  ClientAsyncStreamingInterface
     
    class  AsyncReaderInterface
     
    class  AsyncWriterInterface
     
    class  ClientAsyncReaderInterface
     
    class  ClientAsyncWriterInterface
     
    class  ClientAsyncReaderWriterInterface
     
    class  ThreadPoolInterface
     Client-side interface for bi-directional streaming. More...
     
    class  TimePoint
     
    GenericServerAsyncReaderWriter
     
    typedef std::pair
    -< grpc::string, grpc::string
    AuthProperty
     
    typedef std::string string
     
    typedef
    ClientAsyncReaderWriter
    < ByteBuffer, ByteBuffer
    GenericClientAsyncReaderWriter
     
    typedef std::pair
    +< grpc::string_ref,
    +grpc::string_ref
    AuthProperty
     
    typedef std::string string
     
    @@ -337,47 +369,72 @@ Enumerations

    Enumerations

    - - + + + + + + + + + + + + + + + + + + + - - - - + + + + - - + + + + - - + + + + + - - - - - - - - - - - + + - - + + + + + + + + + + + + + + @@ -386,12 +443,12 @@ Functions

    Functions

    std::shared_ptr< ChannelInterfaceCreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
     
    std::shared_ptr< ChannelCreateChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds)
     Create a new Channel pointing to target. More...
     
    std::shared_ptr< ChannelCreateCustomChannel (const grpc::string &target, const std::shared_ptr< Credentials > &creds, const ChannelArguments &args)
     Create a new custom Channel pointing to target. More...
     
    void FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string_ref, grpc::string_ref > *metadata)
     
    grpc_metadata * FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
     
    template<class InputMessage , class OutputMessage >
    Status BlockingUnaryCall (Channel *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
     
    Status SerializeProto (const grpc::protobuf::Message &msg, grpc_byte_buffer **buffer)
     
    Status DeserializeProto (grpc_byte_buffer *buffer, grpc::protobuf::Message *msg, int max_message_size)
     
    std::shared_ptr< CredentialsGoogleDefaultCredentials ()
     Builds credentials with reasonable defaults. More...
     
    std::shared_ptr< CredentialsSslCredentials (const SslCredentialsOptions &options)
     Builds SSL Credentials given SSL specific options. More...
     
    std::shared_ptr< CredentialsComputeEngineCredentials ()
     
    std::shared_ptr< CredentialsServiceAccountCredentials (const grpc::string &json_key, const grpc::string &scope, long token_lifetime_seconds)
     
    std::shared_ptr< CredentialsGoogleComputeEngineCredentials ()
     Builds credentials for use when running in GCE. More...
     
    std::shared_ptr< CredentialsServiceAccountJWTAccessCredentials (const grpc::string &json_key, long token_lifetime_seconds)
     Builds Service Account JWT Access credentials. More...
     
    std::shared_ptr< CredentialsRefreshTokenCredentials (const grpc::string &json_refresh_token)
     
    std::shared_ptr< CredentialsGoogleRefreshTokenCredentials (const grpc::string &json_refresh_token)
     Builds refresh token credentials. More...
     
    std::shared_ptr< CredentialsAccessTokenCredentials (const grpc::string &access_token)
     Builds access token credentials. More...
     
    std::shared_ptr< CredentialsIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     
    std::shared_ptr< CredentialsGoogleIAMCredentials (const grpc::string &authorization_token, const grpc::string &authority_selector)
     Builds IAM credentials. More...
     
    std::shared_ptr< CredentialsCompositeCredentials (const std::shared_ptr< Credentials > &creds1, const std::shared_ptr< Credentials > &creds2)
     Combines two credentials objects into a composite credentials. More...
     
    std::shared_ptr< CredentialsInsecureCredentials ()
     Credentials for an unencrypted, unauthenticated channel. More...
     
    void FillMetadataMap (grpc_metadata_array *arr, std::multimap< grpc::string, grpc::string > *metadata)
     
    grpc_metadata * FillMetadataArray (const std::multimap< grpc::string, grpc::string > &metadata)
     
    template<class InputMessage , class OutputMessage >
    Status BlockingUnaryCall (ChannelInterface *channel, const RpcMethod &method, ClientContext *context, const InputMessage &request, OutputMessage *result)
     
    Status SerializeProto (const grpc::protobuf::Message &msg, grpc_byte_buffer **buffer)
     
    Status DeserializeProto (grpc_byte_buffer *buffer, grpc::protobuf::Message *msg, int max_message_size)
     
    std::shared_ptr
    < ServerCredentials
    SslServerCredentials (const SslServerCredentialsOptions &options)
     Builds SSL ServerCredentials given SSL specific options. More...
     
    std::shared_ptr
    < ServerCredentials
    InsecureServerCredentials ()
     Builds insecure server credentials. More...
     
    ThreadPoolInterfaceCreateDefaultThreadPool ()
     
    bool operator== (string_ref x, string_ref y)
     
    bool operator!= (string_ref x, string_ref y)
     
    bool operator< (string_ref x, string_ref y)
     
    bool operator> (string_ref x, string_ref y)
     
    bool operator<= (string_ref x, string_ref y)
     
    bool operator>= (string_ref x, string_ref y)
     
    std::ostream & operator<< (std::ostream &stream, const string_ref &string)
     
    void Timepoint2Timespec (const std::chrono::system_clock::time_point &from, gpr_timespec *to)
     
    void TimepointHR2Timespec (const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
     

    Typedef Documentation

    - +
    @@ -446,40 +503,71 @@ Functions
    Enumerator
    OK  +

    Not an error; returned on success.

    CANCELLED  +

    The operation was cancelled (typically by the caller).

    UNKNOWN  +

    Unknown error.

    +

    An example of where this error may be returned is if a Status value received from another address space belongs to an error-space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error.

    INVALID_ARGUMENT  +

    Client specified an invalid argument.

    +

    Note that this differs from FAILED_PRECONDITION. INVALID_ARGUMENT indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name).

    DEADLINE_EXCEEDED  +

    Deadline expired before operation could complete.

    +

    For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire.

    NOT_FOUND  +

    Some requested entity (e.g., file or directory) was not found.

    ALREADY_EXISTS  +

    Some entity that we attempted to create (e.g., file or directory) already exists.

    PERMISSION_DENIED  +

    The caller does not have permission to execute the specified operation.

    +

    PERMISSION_DENIED must not be used for rejections caused by exhausting some resource (use RESOURCE_EXHAUSTED instead for those errors). PERMISSION_DENIED must not be used if the caller can not be identified (use UNAUTHENTICATED instead for those errors).

    UNAUTHENTICATED  +

    The request does not have valid authentication credentials for the operation.

    RESOURCE_EXHAUSTED  +

    Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

    FAILED_PRECONDITION  +

    Operation was rejected because the system is not in a state required for the operation's execution.

    +

    For example, directory to be deleted may be non-empty, an rmdir operation is applied to a non-directory, etc.

    +

    A litmus test that may help a service implementor in deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE: (a) Use UNAVAILABLE if the client can retry just the failing call. (b) Use ABORTED if the client should retry at a higher-level (e.g., restarting a read-modify-write sequence). (c) Use FAILED_PRECONDITION if the client should not retry until the system state has been explicitly fixed. E.g., if an "rmdir" fails because the directory is non-empty, FAILED_PRECONDITION should be returned since the client should not retry unless they have first fixed up the directory by deleting files from it. (d) Use FAILED_PRECONDITION if the client performs conditional REST Get/Update/Delete on a resource and the resource on the server does not match the condition. E.g., conflicting read-modify-write on the same resource.

    ABORTED  +

    The operation was aborted, typically due to a concurrency issue like sequencer check failures, transaction aborts, etc.

    +

    See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE.

    OUT_OF_RANGE  +

    Operation was attempted past the valid range.

    +

    E.g., seeking or reading past end of file.

    +

    Unlike INVALID_ARGUMENT, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate INVALID_ARGUMENT if asked to read at an offset that is not in the range [0,2^32-1], but it will generate OUT_OF_RANGE if asked to read from an offset past the current file size.

    +

    There is a fair bit of overlap between FAILED_PRECONDITION and OUT_OF_RANGE. We recommend using OUT_OF_RANGE (the more specific error) when it applies so that callers who are iterating through a space can easily look for an OUT_OF_RANGE error to detect when they are done.

    UNIMPLEMENTED  +

    Operation is not implemented or not supported/enabled in this service.

    INTERNAL  +

    Internal errors.

    +

    Means some invariants expected by underlying System has been broken. If you see one of these errors, Something is very broken.

    UNAVAILABLE  +

    The service is currently unavailable.

    +

    This is a most likely a transient condition and may be corrected by retrying with a backoff.

    +

    See litmus test above for deciding between FAILED_PRECONDITION, ABORTED, and UNAVAILABLE.

    DATA_LOSS  +

    Unrecoverable data loss or corruption.

    DO_NOT_USE  +

    Force users to include a default branch:

    @@ -500,9 +588,13 @@ Functions
    +

    Builds access token credentials.

    +

    access_token is an oauth2 access token that was fetched using an out of band mechanism.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    - +
    @@ -511,7 +603,7 @@ template<class InputMessage , class OutputMessage >
    Status grpc::BlockingUnaryCall ( - ChannelInterface *  + Channel *  channel, @@ -572,29 +664,52 @@ template<class InputMessage , class OutputMessage >
    +

    Combines two credentials objects into a composite credentials.

    +
    - +
    - + - + + + + + + + + + + + +
    std::shared_ptr<Credentials> grpc::ComputeEngineCredentials std::shared_ptr<Channel> grpc::CreateChannel ()const grpc::stringtarget,
    const std::shared_ptr< Credentials > & creds 
    )
    +

    Create a new Channel pointing to target.

    +
    Parameters
    + + + + +
    targetThe URI of the endpoint to connect to.
    credsCredentials to use for the created channel. If it does not hold an object or is invalid, a lame channel is returned.
    argsOptions for channel creation.
    +
    +
    +
    - +
    - + @@ -619,20 +734,16 @@ template<class InputMessage , class OutputMessage >
    std::shared_ptr<ChannelInterface> grpc::CreateChannel std::shared_ptr<Channel> grpc::CreateCustomChannel ( const grpc::string target,
    -
    -
    - -
    -
    - - - - - - - -
    ThreadPoolInterface* grpc::CreateDefaultThreadPool ()
    -
    +

    Create a new custom Channel pointing to target.

    +
    Warning
    For advanced use and testing ONLY. Override default channel arguments only if necessary.
    +
    Parameters
    + + + + +
    targetThe URI of the endpoint to connect to.
    credsCredentials to use for the created channel. If it does not hold an object or is invalid, a lame channel is returned.
    argsOptions for channel creation.
    +
    +
    @@ -684,7 +795,7 @@ template<class InputMessage , class OutputMessage > - +
    @@ -697,7 +808,7 @@ template<class InputMessage , class OutputMessage > - + @@ -708,6 +819,24 @@ template<class InputMessage , class OutputMessage >
    std::multimap< grpc::string, grpc::string > * std::multimap< grpc::string_ref, grpc::string_ref > *  metadata 
    +
    +
    + +
    +
    + + + + + + + +
    std::shared_ptr<Credentials> grpc::GoogleComputeEngineCredentials ()
    +
    + +

    Builds credentials for use when running in GCE.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    @@ -723,14 +852,17 @@ template<class InputMessage , class OutputMessage >
    +

    Builds credentials with reasonable defaults.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    - +
    - + @@ -749,6 +881,29 @@ template<class InputMessage , class OutputMessage >
    std::shared_ptr<Credentials> grpc::IAMCredentials std::shared_ptr<Credentials> grpc::GoogleIAMCredentials ( const grpc::string authorization_token,
    +

    Builds IAM credentials.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    + +
    +
    + +
    +
    + + + + + + + + +
    std::shared_ptr<Credentials> grpc::GoogleRefreshTokenCredentials (const grpc::stringjson_refresh_token)
    +
    + +

    Builds refresh token credentials.

    +

    json_refresh_token is the JSON string containing the refresh token along with a client_id and client_secret.

    +
    Warning
    Only use these credentials when connecting to a Google endpoint. Using these credentials to connect to any other service may result in this service being able to impersonate your client for requests to Google services.
    +
    @@ -764,6 +919,8 @@ template<class InputMessage , class OutputMessage >
    +

    Credentials for an unencrypted, unauthenticated channel.

    +
    @@ -779,39 +936,51 @@ template<class InputMessage , class OutputMessage >
    +

    Builds insecure server credentials.

    +
    - +
    - + - - + + + + + + + + + + + +
    std::shared_ptr<Credentials> grpc::RefreshTokenCredentials bool grpc::operator!= (const grpc::stringjson_refresh_token)string_ref x,
    string_ref y 
    )
    - +
    - + - - + + - - + + @@ -823,27 +992,151 @@ template<class InputMessage , class OutputMessage > - +
    Status grpc::SerializeProto bool grpc::operator< (const grpc::protobuf::Messagemsg, string_ref x,
    grpc_byte_buffer ** buffer string_ref y 
    - + - - + + - - + + + + + + + + +
    std::shared_ptr<Credentials> grpc::ServiceAccountCredentials std::ostream& grpc::operator<< (const grpc::stringjson_key, std::ostream & stream,
    const grpc::stringscope, const string_ref & string 
    )
    +
    + +
    +
    + +
    +
    + + + + + + - - + + + + + + + + +
    bool grpc::operator<= (string_ref x,
    long token_lifetime_seconds string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator== (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator> (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool grpc::operator>= (string_ref x,
    string_ref y 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + @@ -879,6 +1172,9 @@ template<class InputMessage , class OutputMessage >
    Status grpc::SerializeProto (const grpc::protobuf::Messagemsg,
    grpc_byte_buffer ** buffer 
    +

    Builds Service Account JWT Access credentials.

    +

    json_key is the JSON key string containing the client's private key. token_lifetime_seconds is the lifetime in seconds of each Json Web Token (JWT) created with this credentials. It should not exceed grpc_max_auth_token_lifetime or will be cropped to this value.

    +
    @@ -895,6 +1191,8 @@ template<class InputMessage , class OutputMessage >
    +

    Builds SSL Credentials given SSL specific options.

    +
    @@ -911,6 +1209,8 @@ template<class InputMessage , class OutputMessage >
    +

    Builds SSL ServerCredentials given SSL specific options.

    +
    @@ -984,7 +1284,7 @@ template<class InputMessage , class OutputMessage > diff --git a/doc/ref/c++/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html b/doc/ref/c++/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html index c2f6e288f61..4c1781bf666 100644 --- a/doc/ref/c++/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html +++ b/doc/ref/c++/html/namespacegrpc_1_1_call_op_generic_recv_message_helper.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -102,7 +102,7 @@ Data Structures diff --git a/doc/ref/c++/html/namespacegrpc_1_1protobuf.html b/doc/ref/c++/html/namespacegrpc_1_1protobuf.html index 28ff53d968f..cfc85b3ce5d 100644 --- a/doc/ref/c++/html/namespacegrpc_1_1protobuf.html +++ b/doc/ref/c++/html/namespacegrpc_1_1protobuf.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -133,7 +133,7 @@ Typedefs diff --git a/doc/ref/c++/html/namespacegrpc_1_1protobuf_1_1io.html b/doc/ref/c++/html/namespacegrpc_1_1protobuf_1_1io.html index f1e405afeac..b4d29e18fbf 100644 --- a/doc/ref/c++/html/namespacegrpc_1_1protobuf_1_1io.html +++ b/doc/ref/c++/html/namespacegrpc_1_1protobuf_1_1io.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -144,7 +144,7 @@ Typedefs diff --git a/doc/ref/c++/html/namespacegrpc_1_1testing.html b/doc/ref/c++/html/namespacegrpc_1_1testing.html index a4b505642be..3efe4e799c4 100644 --- a/doc/ref/c++/html/namespacegrpc_1_1testing.html +++ b/doc/ref/c++/html/namespacegrpc_1_1testing.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/namespacemembers.html b/doc/ref/c++/html/namespacemembers.html index 05b81c39187..d3daca83b34 100644 --- a/doc/ref/c++/html/namespacemembers.html +++ b/doc/ref/c++/html/namespacemembers.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -123,14 +123,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc
  • AuthProperty -: grpc +: grpc
  • - b -

    @@ -145,14 +145,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • CompositeCredentials() : grpc
  • -
  • ComputeEngineCredentials() -: grpc -
  • CreateChannel() -: grpc +: grpc
  • -
  • CreateDefaultThreadPool() -: grpc +
  • CreateCustomChannel() +: grpc
  • @@ -181,7 +178,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); : grpc
  • FillMetadataMap() -: grpc +: grpc
  • @@ -193,16 +190,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
  • GenericServerAsyncReaderWriter : grpc
  • +
  • GoogleComputeEngineCredentials() +: grpc +
  • GoogleDefaultCredentials() : grpc
  • +
  • GoogleIAMCredentials() +: grpc +
  • +
  • GoogleRefreshTokenCredentials() +: grpc +
  • - i -

    +Functions
    -
    auth_property_iterator.h File Reference
    +
    string_ref.h File Reference
    #include <iterator>
    -#include <vector>
    -#include <grpc++/config.h>
    +#include <iosfwd>
    +#include <grpc++/support/config.h>
    -

    Go to the source code of this file.

    +

    Go to the source code of this file.

    - + +

    Data Structures

    class  grpc::AuthPropertyIterator
    class  grpc::string_ref
     This class is a non owning reference to a string. More...
     

    @@ -109,16 +110,27 @@ Namespaces

     grpc
     
    - - - + + + + + + + + + + + + + + +

    -Typedefs

    typedef std::pair
    -< grpc::string, grpc::string
    grpc::AuthProperty
     

    +Functions

    bool grpc::operator== (string_ref x, string_ref y)
     
    bool grpc::operator!= (string_ref x, string_ref y)
     
    bool grpc::operator< (string_ref x, string_ref y)
     
    bool grpc::operator> (string_ref x, string_ref y)
     
    bool grpc::operator<= (string_ref x, string_ref y)
     
    bool grpc::operator>= (string_ref x, string_ref y)
     
    std::ostream & grpc::operator<< (std::ostream &stream, const string_ref &string)
     
    diff --git a/doc/ref/c++/html/string__ref_8h_source.html b/doc/ref/c++/html/string__ref_8h_source.html new file mode 100644 index 00000000000..764e0d94edb --- /dev/null +++ b/doc/ref/c++/html/string__ref_8h_source.html @@ -0,0 +1,251 @@ + + + + + + +GRPC C++: include/grpc++/support/string_ref.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    string_ref.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_STRING_REF_H
    +
    35 #define GRPCXX_SUPPORT_STRING_REF_H
    +
    36 
    +
    37 #include <iterator>
    +
    38 #include <iosfwd>
    +
    39 
    +
    40 #include <grpc++/support/config.h>
    +
    41 
    +
    42 namespace grpc {
    +
    43 
    +
    52 class string_ref {
    +
    53  public:
    +
    54  // types
    +
    55  typedef const char* const_iterator;
    +
    56  typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
    +
    57 
    +
    58  // constants
    +
    59  const static size_t npos = size_t(-1);
    +
    60 
    +
    61  // construct/copy.
    +
    62  string_ref() : data_(nullptr), length_(0) {}
    +
    63  string_ref(const string_ref& other)
    +
    64  : data_(other.data_), length_(other.length_) {}
    +
    65  string_ref& operator=(const string_ref& rhs);
    +
    66  string_ref(const char* s);
    +
    67  string_ref(const char* s, size_t l) : data_(s), length_(l) {}
    +
    68  string_ref(const grpc::string& s) : data_(s.data()), length_(s.length()) {}
    +
    69 
    +
    70  // iterators
    +
    71  const_iterator begin() const { return data_; }
    +
    72  const_iterator end() const { return data_ + length_; }
    +
    73  const_iterator cbegin() const { return data_; }
    +
    74  const_iterator cend() const { return data_ + length_; }
    + +
    76  return const_reverse_iterator(end());
    +
    77  }
    + +
    79  return const_reverse_iterator(begin());
    +
    80  }
    + +
    82  return const_reverse_iterator(end());
    +
    83  }
    + +
    85  return const_reverse_iterator(begin());
    +
    86  }
    +
    87 
    +
    88  // capacity
    +
    89  size_t size() const { return length_; }
    +
    90  size_t length() const { return length_; }
    +
    91  size_t max_size() const { return length_; }
    +
    92  bool empty() const { return length_ == 0; }
    +
    93 
    +
    94  // element access
    +
    95  const char* data() const { return data_; }
    +
    96 
    +
    97  // string operations
    +
    98  int compare(string_ref x) const;
    +
    99  bool starts_with(string_ref x) const;
    +
    100  bool ends_with(string_ref x) const;
    +
    101  size_t find(string_ref s) const;
    +
    102  size_t find(char c) const;
    +
    103 
    +
    104  string_ref substr(size_t pos, size_t n = npos) const;
    +
    105 
    +
    106  private:
    +
    107  const char* data_;
    +
    108  size_t length_;
    +
    109 };
    +
    110 
    +
    111 // Comparison operators
    +
    112 bool operator==(string_ref x, string_ref y);
    +
    113 bool operator!=(string_ref x, string_ref y);
    +
    114 bool operator<(string_ref x, string_ref y);
    +
    115 bool operator>(string_ref x, string_ref y);
    +
    116 bool operator<=(string_ref x, string_ref y);
    +
    117 bool operator>=(string_ref x, string_ref y);
    +
    118 
    +
    119 std::ostream& operator<<(std::ostream& stream, const string_ref& string);
    +
    120 
    +
    121 } // namespace grpc
    +
    122 
    +
    123 #endif // GRPCXX_SUPPORT_STRING_REF_H
    +
    size_t max_size() const
    Definition: string_ref.h:91
    +
    const_iterator cend() const
    Definition: string_ref.h:74
    +
    const_reverse_iterator crend() const
    Definition: string_ref.h:84
    +
    const_iterator cbegin() const
    Definition: string_ref.h:73
    +
    std::string string
    Definition: config.h:112
    +
    size_t size() const
    Definition: string_ref.h:89
    +
    std::ostream & operator<<(std::ostream &stream, const string_ref &string)
    +
    string_ref(const string_ref &other)
    Definition: string_ref.h:63
    +
    size_t find(string_ref s) const
    +
    const_reverse_iterator crbegin() const
    Definition: string_ref.h:81
    +
    const char * const_iterator
    Definition: string_ref.h:55
    +
    const_reverse_iterator rbegin() const
    Definition: string_ref.h:75
    + +
    string_ref(const char *s, size_t l)
    Definition: string_ref.h:67
    +
    string_ref(const grpc::string &s)
    Definition: string_ref.h:68
    +
    const char * data() const
    Definition: string_ref.h:95
    +
    const_iterator end() const
    Definition: string_ref.h:72
    +
    string_ref()
    Definition: string_ref.h:62
    +
    bool operator<(string_ref x, string_ref y)
    +
    string_ref & operator=(const string_ref &rhs)
    +
    static const size_t npos
    Definition: string_ref.h:59
    +
    bool operator<=(string_ref x, string_ref y)
    +
    bool operator>(string_ref x, string_ref y)
    +
    const_reverse_iterator rend() const
    Definition: string_ref.h:78
    +
    This class is a non owning reference to a string.
    Definition: string_ref.h:52
    +
    bool starts_with(string_ref x) const
    +
    bool empty() const
    Definition: string_ref.h:92
    +
    bool operator==(string_ref x, string_ref y)
    +
    bool ends_with(string_ref x) const
    +
    std::reverse_iterator< const_iterator > const_reverse_iterator
    Definition: string_ref.h:56
    +
    const_iterator begin() const
    Definition: string_ref.h:71
    +
    bool operator!=(string_ref x, string_ref y)
    +
    string_ref substr(size_t pos, size_t n=npos) const
    +
    bool operator>=(string_ref x, string_ref y)
    +
    int compare(string_ref x) const
    +
    size_t length() const
    Definition: string_ref.h:90
    +
    + + + + diff --git a/doc/ref/c++/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html b/doc/ref/c++/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html index 03e99e756d0..8f65c7c4a2d 100644 --- a/doc/ref/c++/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html +++ b/doc/ref/c++/html/structgrpc_1_1_method_handler_1_1_handler_parameter.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -215,7 +215,7 @@ Data Fields diff --git a/doc/ref/c++/html/structgrpc_1_1_ssl_credentials_options.html b/doc/ref/c++/html/structgrpc_1_1_ssl_credentials_options.html index aa6d90144df..6d5e83d797d 100644 --- a/doc/ref/c++/html/structgrpc_1_1_ssl_credentials_options.html +++ b/doc/ref/c++/html/structgrpc_1_1_ssl_credentials_options.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -94,18 +94,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    Options used to build SslCredentials. + More...

    +

    #include <credentials.h>

    + + +

    Data Fields

    grpc::string pem_root_certs
     The buffer containing the PEM encoding of the server root certificates. More...
     
    grpc::string pem_private_key
     The buffer containing the PEM encoding of the client's private key. More...
     
    grpc::string pem_cert_chain
     The buffer containing the PEM encoding of the client's certificate chain. More...
     
    -

    Field Documentation

    +

    Detailed Description

    +

    Options used to build SslCredentials.

    +

    Field Documentation

    @@ -116,6 +124,9 @@ Data Fields
    +

    The buffer containing the PEM encoding of the client's certificate chain.

    +

    This parameter can be empty if the client does not have a certificate chain.

    +
    @@ -128,6 +139,9 @@ Data Fields
    +

    The buffer containing the PEM encoding of the client's private key.

    +

    This parameter can be empty if the client does not have a private key.

    +
    @@ -140,15 +154,18 @@ Data Fields
    +

    The buffer containing the PEM encoding of the server root certificates.

    +

    If this parameter is empty, the default roots will be used. The default roots can be overridden using the GRPC_DEFAULT_SSL_ROOTS_FILE_PATH environment variable pointing to a file on the file system containing the roots.

    +

    The documentation for this struct was generated from the following file: diff --git a/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options.html b/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options.html index 985761eb8b5..10b52e122ce 100644 --- a/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options.html +++ b/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -96,6 +96,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +

    Options to create ServerCredentials with SSL. + More...

    +

    #include <server_credentials.h>

    @@ -117,7 +120,9 @@ Data Fields

    bool force_client_auth
     
    -

    Constructor & Destructor Documentation

    +

    Detailed Description

    +

    Options to create ServerCredentials with SSL.

    +

    Constructor & Destructor Documentation

    @@ -179,12 +184,12 @@ Data Fields

    The documentation for this struct was generated from the following file:
    diff --git a/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html b/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html index a5a88b969ab..70cacd15dfe 100644 --- a/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html +++ b/doc/ref/c++/html/structgrpc_1_1_ssl_server_credentials_options_1_1_pem_key_cert_pair.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -129,12 +129,12 @@ Data Fields
    The documentation for this struct was generated from the following file: diff --git a/doc/ref/c++.internal/html/channel__interface_8h.html b/doc/ref/c++/html/stub__options_8h.html similarity index 89% rename from doc/ref/c++.internal/html/channel__interface_8h.html rename to doc/ref/c++/html/stub__options_8h.html index bdb105e4fc1..0f2f262667b 100644 --- a/doc/ref/c++.internal/html/channel__interface_8h.html +++ b/doc/ref/c++/html/stub__options_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/channel_interface.h File Reference +GRPC C++: include/grpc++/support/stub_options.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -89,18 +89,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Data Structures | Namespaces
    -
    channel_interface.h File Reference
    +
    stub_options.h File Reference
    -
    #include <memory>
    -#include <grpc++/status.h>
    -#include <grpc++/impl/call.h>
    -
    -

    Go to the source code of this file.

    + +

    Go to the source code of this file.

    - +

    Data Structures

    class  grpc::ChannelInterface
    class  grpc::StubOptions
     
    diff --git a/doc/ref/c++/html/stub__options_8h_source.html b/doc/ref/c++/html/stub__options_8h_source.html new file mode 100644 index 00000000000..def700a2068 --- /dev/null +++ b/doc/ref/c++/html/stub__options_8h_source.html @@ -0,0 +1,144 @@ + + + + + + +GRPC C++: include/grpc++/support/stub_options.h Source File + + + + + + + + + +
    +
    +

    @@ -111,7 +108,7 @@ Namespaces

    + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + +
    + All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
    + + +
    + +
    + + + +
    +
    +
    stub_options.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_STUB_OPTIONS_H
    +
    35 #define GRPCXX_SUPPORT_STUB_OPTIONS_H
    +
    36 
    +
    37 namespace grpc {
    +
    38 
    +
    39 class StubOptions {};
    +
    40 
    +
    41 } // namespace grpc
    +
    42 
    +
    43 #endif // GRPCXX_SUPPORT_STUB_OPTIONS_H
    +
    Definition: stub_options.h:39
    +
    + + + + diff --git a/doc/ref/c++/html/sync_8h.html b/doc/ref/c++/html/sync_8h.html index a0099ef8d99..602fbe116d6 100644 --- a/doc/ref/c++/html/sync_8h.html +++ b/doc/ref/c++/html/sync_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -89,14 +89,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    sync.h File Reference
    - diff --git a/doc/ref/c++/html/sync_8h_source.html b/doc/ref/c++/html/sync_8h_source.html index bd2546d6a4c..d7128d918c2 100644 --- a/doc/ref/c++/html/sync_8h_source.html +++ b/doc/ref/c++/html/sync_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_SYNC_H
    35 #define GRPCXX_IMPL_SYNC_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 #ifdef GRPC_CXX0X_NO_THREAD
    @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++/html/sync__cxx11_8h.html b/doc/ref/c++/html/sync__cxx11_8h.html index 421b95bb8cf..cbd41495a25 100644 --- a/doc/ref/c++/html/sync__cxx11_8h.html +++ b/doc/ref/c++/html/sync__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -104,7 +104,7 @@ Namespaces diff --git a/doc/ref/c++/html/sync__cxx11_8h_source.html b/doc/ref/c++/html/sync__cxx11_8h_source.html index 1b96369fab3..5a46db883d0 100644 --- a/doc/ref/c++/html/sync__cxx11_8h_source.html +++ b/doc/ref/c++/html/sync__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -141,7 +141,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/sync__no__cxx11_8h.html b/doc/ref/c++/html/sync__no__cxx11_8h.html index 24ca43e89d1..0f00bb33c45 100644 --- a/doc/ref/c++/html/sync__no__cxx11_8h.html +++ b/doc/ref/c++/html/sync__no__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -117,7 +117,7 @@ Namespaces diff --git a/doc/ref/c++/html/sync__no__cxx11_8h_source.html b/doc/ref/c++/html/sync__no__cxx11_8h_source.html index e510bf5ff4e..32b3a36302e 100644 --- a/doc/ref/c++/html/sync__no__cxx11_8h_source.html +++ b/doc/ref/c++/html/sync__no__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -129,7 +129,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    38 
    39 namespace grpc {
    40 
    -
    41 template<class mutex>
    +
    41 template <class mutex>
    42 class lock_guard;
    43 class condition_variable;
    44 
    @@ -137,81 +137,85 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    46  public:
    47  mutex() { gpr_mu_init(&mu_); }
    48  ~mutex() { gpr_mu_destroy(&mu_); }
    -
    49  private:
    -
    50  ::gpr_mu mu_;
    -
    51  template <class mutex>
    -
    52  friend class lock_guard;
    -
    53  friend class condition_variable;
    -
    54 };
    -
    55 
    -
    56 template <class mutex>
    -
    57 class lock_guard {
    -
    58  public:
    -
    59  lock_guard(mutex &mu) : mu_(mu), locked(true) { gpr_mu_lock(&mu.mu_); }
    -
    60  ~lock_guard() { unlock_internal(); }
    -
    61  protected:
    -
    62  void lock_internal() {
    -
    63  if (!locked) gpr_mu_lock(&mu_.mu_);
    -
    64  locked = true;
    -
    65  }
    -
    66  void unlock_internal() {
    -
    67  if (locked) gpr_mu_unlock(&mu_.mu_);
    -
    68  locked = false;
    -
    69  }
    -
    70  private:
    -
    71  mutex &mu_;
    -
    72  bool locked;
    -
    73  friend class condition_variable;
    -
    74 };
    -
    75 
    -
    76 template <class mutex>
    -
    77 class unique_lock : public lock_guard<mutex> {
    -
    78  public:
    -
    79  unique_lock(mutex &mu) : lock_guard<mutex>(mu) { }
    -
    80  void lock() { this->lock_internal(); }
    -
    81  void unlock() { this->unlock_internal(); }
    -
    82 };
    -
    83 
    -
    84 class condition_variable {
    -
    85  public:
    -
    86  condition_variable() { gpr_cv_init(&cv_); }
    -
    87  ~condition_variable() { gpr_cv_destroy(&cv_); }
    -
    88  void wait(lock_guard<mutex> &mu) {
    -
    89  mu.locked = false;
    -
    90  gpr_cv_wait(&cv_, &mu.mu_.mu_, gpr_inf_future(GPR_CLOCK_REALTIME));
    -
    91  mu.locked = true;
    -
    92  }
    -
    93  void notify_one() { gpr_cv_signal(&cv_); }
    -
    94  void notify_all() { gpr_cv_broadcast(&cv_); }
    -
    95  private:
    -
    96  gpr_cv cv_;
    -
    97 };
    +
    49 
    +
    50  private:
    +
    51  ::gpr_mu mu_;
    +
    52  template <class mutex>
    +
    53  friend class lock_guard;
    +
    54  friend class condition_variable;
    +
    55 };
    +
    56 
    +
    57 template <class mutex>
    +
    58 class lock_guard {
    +
    59  public:
    +
    60  lock_guard(mutex &mu) : mu_(mu), locked(true) { gpr_mu_lock(&mu.mu_); }
    +
    61  ~lock_guard() { unlock_internal(); }
    +
    62 
    +
    63  protected:
    +
    64  void lock_internal() {
    +
    65  if (!locked) gpr_mu_lock(&mu_.mu_);
    +
    66  locked = true;
    +
    67  }
    +
    68  void unlock_internal() {
    +
    69  if (locked) gpr_mu_unlock(&mu_.mu_);
    +
    70  locked = false;
    +
    71  }
    +
    72 
    +
    73  private:
    +
    74  mutex &mu_;
    +
    75  bool locked;
    +
    76  friend class condition_variable;
    +
    77 };
    +
    78 
    +
    79 template <class mutex>
    +
    80 class unique_lock : public lock_guard<mutex> {
    +
    81  public:
    +
    82  unique_lock(mutex &mu) : lock_guard<mutex>(mu) {}
    +
    83  void lock() { this->lock_internal(); }
    +
    84  void unlock() { this->unlock_internal(); }
    +
    85 };
    +
    86 
    +
    87 class condition_variable {
    +
    88  public:
    +
    89  condition_variable() { gpr_cv_init(&cv_); }
    +
    90  ~condition_variable() { gpr_cv_destroy(&cv_); }
    +
    91  void wait(lock_guard<mutex> &mu) {
    +
    92  mu.locked = false;
    +
    93  gpr_cv_wait(&cv_, &mu.mu_.mu_, gpr_inf_future(GPR_CLOCK_REALTIME));
    +
    94  mu.locked = true;
    +
    95  }
    +
    96  void notify_one() { gpr_cv_signal(&cv_); }
    +
    97  void notify_all() { gpr_cv_broadcast(&cv_); }
    98 
    -
    99 } // namespace grpc
    -
    100 
    -
    101 #endif // GRPCXX_IMPL_SYNC_NO_CXX11_H
    +
    99  private:
    +
    100  gpr_cv cv_;
    +
    101 };
    +
    102 
    +
    103 } // namespace grpc
    +
    104 
    +
    105 #endif // GRPCXX_IMPL_SYNC_NO_CXX11_H
    Definition: sync_no_cxx11.h:45
    -
    void unlock_internal()
    Definition: sync_no_cxx11.h:66
    -
    void lock_internal()
    Definition: sync_no_cxx11.h:62
    -
    Definition: sync_no_cxx11.h:84
    -
    ~condition_variable()
    Definition: sync_no_cxx11.h:87
    -
    ~lock_guard()
    Definition: sync_no_cxx11.h:60
    -
    void notify_all()
    Definition: sync_no_cxx11.h:94
    +
    void unlock_internal()
    Definition: sync_no_cxx11.h:68
    +
    void lock_internal()
    Definition: sync_no_cxx11.h:64
    +
    Definition: sync_no_cxx11.h:87
    +
    ~condition_variable()
    Definition: sync_no_cxx11.h:90
    +
    ~lock_guard()
    Definition: sync_no_cxx11.h:61
    +
    void notify_all()
    Definition: sync_no_cxx11.h:97
    mutex()
    Definition: sync_no_cxx11.h:47
    -
    void notify_one()
    Definition: sync_no_cxx11.h:93
    -
    void unlock()
    Definition: sync_no_cxx11.h:81
    -
    lock_guard(mutex &mu)
    Definition: sync_no_cxx11.h:59
    -
    void lock()
    Definition: sync_no_cxx11.h:80
    +
    void notify_one()
    Definition: sync_no_cxx11.h:96
    +
    void unlock()
    Definition: sync_no_cxx11.h:84
    +
    lock_guard(mutex &mu)
    Definition: sync_no_cxx11.h:60
    +
    void lock()
    Definition: sync_no_cxx11.h:83
    ~mutex()
    Definition: sync_no_cxx11.h:48
    Definition: sync_no_cxx11.h:42
    -
    condition_variable()
    Definition: sync_no_cxx11.h:86
    -
    Definition: sync_no_cxx11.h:77
    -
    unique_lock(mutex &mu)
    Definition: sync_no_cxx11.h:79
    -
    void wait(lock_guard< mutex > &mu)
    Definition: sync_no_cxx11.h:88
    +
    condition_variable()
    Definition: sync_no_cxx11.h:89
    +
    Definition: sync_no_cxx11.h:80
    +
    unique_lock(mutex &mu)
    Definition: sync_no_cxx11.h:82
    +
    void wait(lock_guard< mutex > &mu)
    Definition: sync_no_cxx11.h:91
    diff --git a/doc/ref/c++/html/sync__stream_8h.html b/doc/ref/c++/html/sync__stream_8h.html new file mode 100644 index 00000000000..50c17c1c741 --- /dev/null +++ b/doc/ref/c++/html/sync__stream_8h.html @@ -0,0 +1,153 @@ + + + + + + +GRPC C++: include/grpc++/support/sync_stream.h File Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    + +
    +
    sync_stream.h File Reference
    +
    +
    +
    #include <grpc/support/log.h>
    +#include <grpc++/channel.h>
    +#include <grpc++/client_context.h>
    +#include <grpc++/completion_queue.h>
    +#include <grpc++/impl/call.h>
    +#include <grpc++/impl/service_type.h>
    +#include <grpc++/server_context.h>
    +#include <grpc++/support/status.h>
    +
    +

    Go to the source code of this file.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +Data Structures

    class  grpc::ClientStreamingInterface
     Common interface for all synchronous client side streaming. More...
     
    class  grpc::ReaderInterface< R >
     An interface that yields a sequence of messages of type R. More...
     
    class  grpc::WriterInterface< W >
     An interface that can be fed a sequence of messages of type W. More...
     
    class  grpc::ClientReaderInterface< R >
     Client-side interface for streaming reads of message of type R. More...
     
    class  grpc::ClientReader< R >
     
    class  grpc::ClientWriterInterface< W >
     Client-side interface for streaming writes of message of type W. More...
     
    class  grpc::ClientWriter< W >
     
    class  grpc::ClientReaderWriterInterface< W, R >
     Client-side interface for bi-directional streaming. More...
     
    class  grpc::ClientReaderWriter< R, W >
     
    class  grpc::ServerReader< R >
     
    class  grpc::ServerWriter< W >
     
    class  grpc::ServerReaderWriter< R, W >
     Server-side interface for bi-directional streaming. More...
     
    + + + +

    +Namespaces

     grpc
     
    +
    + + + + diff --git a/doc/ref/c++/html/sync__stream_8h_source.html b/doc/ref/c++/html/sync__stream_8h_source.html new file mode 100644 index 00000000000..c96d221ec79 --- /dev/null +++ b/doc/ref/c++/html/sync__stream_8h_source.html @@ -0,0 +1,529 @@ + + + + + + +GRPC C++: include/grpc++/support/sync_stream.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC C++ +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    sync_stream.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    35 #define GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    36 
    +
    37 #include <grpc/support/log.h>
    +
    38 #include <grpc++/channel.h>
    +
    39 #include <grpc++/client_context.h>
    + +
    41 #include <grpc++/impl/call.h>
    + +
    43 #include <grpc++/server_context.h>
    +
    44 #include <grpc++/support/status.h>
    +
    45 
    +
    46 namespace grpc {
    +
    47 
    + +
    50  public:
    + +
    52 
    +
    63  virtual Status Finish() = 0;
    +
    64 };
    +
    65 
    +
    67 template <class R>
    + +
    69  public:
    +
    70  virtual ~ReaderInterface() {}
    +
    71 
    +
    79  virtual bool Read(R* msg) = 0;
    +
    80 };
    +
    81 
    +
    83 template <class W>
    + +
    85  public:
    +
    86  virtual ~WriterInterface() {}
    +
    87 
    +
    94  virtual bool Write(const W& msg, const WriteOptions& options) = 0;
    +
    95 
    +
    101  inline bool Write(const W& msg) { return Write(msg, WriteOptions()); }
    +
    102 };
    +
    103 
    +
    105 template <class R>
    + +
    107  public ReaderInterface<R> {
    +
    108  public:
    +
    113  virtual void WaitForInitialMetadata() = 0;
    +
    114 };
    +
    115 
    +
    116 template <class R>
    + +
    118  public:
    +
    120  template <class W>
    +
    121  ClientReader(Channel* channel, const RpcMethod& method,
    +
    122  ClientContext* context, const W& request)
    +
    123  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    + + +
    126  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    127  // TODO(ctiller): don't assert
    +
    128  GPR_ASSERT(ops.SendMessage(request).ok());
    +
    129  ops.ClientSendClose();
    +
    130  call_.PerformOps(&ops);
    +
    131  cq_.Pluck(&ops);
    +
    132  }
    +
    133 
    + +
    135  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    136 
    + +
    138  ops.RecvInitialMetadata(context_);
    +
    139  call_.PerformOps(&ops);
    +
    140  cq_.Pluck(&ops);
    +
    141  }
    +
    142 
    +
    143  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    145  if (!context_->initial_metadata_received_) {
    +
    146  ops.RecvInitialMetadata(context_);
    +
    147  }
    +
    148  ops.RecvMessage(msg);
    +
    149  call_.PerformOps(&ops);
    +
    150  return cq_.Pluck(&ops) && ops.got_message;
    +
    151  }
    +
    152 
    + + +
    155  Status status;
    +
    156  ops.ClientRecvStatus(context_, &status);
    +
    157  call_.PerformOps(&ops);
    +
    158  GPR_ASSERT(cq_.Pluck(&ops));
    +
    159  return status;
    +
    160  }
    +
    161 
    +
    162  private:
    +
    163  ClientContext* context_;
    +
    164  CompletionQueue cq_;
    +
    165  Call call_;
    +
    166 };
    +
    167 
    +
    169 template <class W>
    + +
    171  public WriterInterface<W> {
    +
    172  public:
    +
    177  virtual bool WritesDone() = 0;
    +
    178 };
    +
    179 
    +
    180 template <class W>
    +
    181 class ClientWriter : public ClientWriterInterface<W> {
    +
    182  public:
    +
    184  template <class R>
    +
    185  ClientWriter(Channel* channel, const RpcMethod& method,
    +
    186  ClientContext* context, R* response)
    +
    187  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    +
    188  finish_ops_.RecvMessage(response);
    +
    189 
    + +
    191  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    192  call_.PerformOps(&ops);
    +
    193  cq_.Pluck(&ops);
    +
    194  }
    +
    195 
    + +
    197  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    199  if (!ops.SendMessage(msg, options).ok()) {
    +
    200  return false;
    +
    201  }
    +
    202  call_.PerformOps(&ops);
    +
    203  return cq_.Pluck(&ops);
    +
    204  }
    +
    205 
    + + +
    208  ops.ClientSendClose();
    +
    209  call_.PerformOps(&ops);
    +
    210  return cq_.Pluck(&ops);
    +
    211  }
    +
    212 
    + +
    215  Status status;
    +
    216  finish_ops_.ClientRecvStatus(context_, &status);
    +
    217  call_.PerformOps(&finish_ops_);
    +
    218  GPR_ASSERT(cq_.Pluck(&finish_ops_));
    +
    219  return status;
    +
    220  }
    +
    221 
    +
    222  private:
    +
    223  ClientContext* context_;
    + +
    225  CompletionQueue cq_;
    +
    226  Call call_;
    +
    227 };
    +
    228 
    +
    230 template <class W, class R>
    + +
    232  public WriterInterface<W>,
    +
    233  public ReaderInterface<R> {
    +
    234  public:
    +
    239  virtual void WaitForInitialMetadata() = 0;
    +
    240 
    +
    244  virtual bool WritesDone() = 0;
    +
    245 };
    +
    246 
    +
    247 template <class W, class R>
    + +
    249  public:
    +
    251  ClientReaderWriter(Channel* channel, const RpcMethod& method,
    +
    252  ClientContext* context)
    +
    253  : context_(context), call_(channel->CreateCall(method, context, &cq_)) {
    + +
    255  ops.SendInitialMetadata(context->send_initial_metadata_);
    +
    256  call_.PerformOps(&ops);
    +
    257  cq_.Pluck(&ops);
    +
    258  }
    +
    259 
    + +
    261  GPR_ASSERT(!context_->initial_metadata_received_);
    +
    262 
    + +
    264  ops.RecvInitialMetadata(context_);
    +
    265  call_.PerformOps(&ops);
    +
    266  cq_.Pluck(&ops); // status ignored
    +
    267  }
    +
    268 
    +
    269  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    271  if (!context_->initial_metadata_received_) {
    +
    272  ops.RecvInitialMetadata(context_);
    +
    273  }
    +
    274  ops.RecvMessage(msg);
    +
    275  call_.PerformOps(&ops);
    +
    276  return cq_.Pluck(&ops) && ops.got_message;
    +
    277  }
    +
    278 
    + +
    280  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    282  if (!ops.SendMessage(msg, options).ok()) return false;
    +
    283  call_.PerformOps(&ops);
    +
    284  return cq_.Pluck(&ops);
    +
    285  }
    +
    286 
    + + +
    289  ops.ClientSendClose();
    +
    290  call_.PerformOps(&ops);
    +
    291  return cq_.Pluck(&ops);
    +
    292  }
    +
    293 
    + + +
    296  Status status;
    +
    297  ops.ClientRecvStatus(context_, &status);
    +
    298  call_.PerformOps(&ops);
    +
    299  GPR_ASSERT(cq_.Pluck(&ops));
    +
    300  return status;
    +
    301  }
    +
    302 
    +
    303  private:
    +
    304  ClientContext* context_;
    +
    305  CompletionQueue cq_;
    +
    306  Call call_;
    +
    307 };
    +
    308 
    +
    309 template <class R>
    +
    310 class ServerReader GRPC_FINAL : public ReaderInterface<R> {
    +
    311  public:
    +
    312  ServerReader(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    313 
    + +
    315  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    316 
    + +
    318  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    319  ctx_->sent_initial_metadata_ = true;
    +
    320  call_->PerformOps(&ops);
    +
    321  call_->cq()->Pluck(&ops);
    +
    322  }
    +
    323 
    +
    324  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    326  ops.RecvMessage(msg);
    +
    327  call_->PerformOps(&ops);
    +
    328  return call_->cq()->Pluck(&ops) && ops.got_message;
    +
    329  }
    +
    330 
    +
    331  private:
    +
    332  Call* const call_;
    +
    333  ServerContext* const ctx_;
    +
    334 };
    +
    335 
    +
    336 template <class W>
    +
    337 class ServerWriter GRPC_FINAL : public WriterInterface<W> {
    +
    338  public:
    +
    339  ServerWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    340 
    + +
    342  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    343 
    + +
    345  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    346  ctx_->sent_initial_metadata_ = true;
    +
    347  call_->PerformOps(&ops);
    +
    348  call_->cq()->Pluck(&ops);
    +
    349  }
    +
    350 
    + +
    352  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    354  if (!ops.SendMessage(msg, options).ok()) {
    +
    355  return false;
    +
    356  }
    +
    357  if (!ctx_->sent_initial_metadata_) {
    +
    358  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    359  ctx_->sent_initial_metadata_ = true;
    +
    360  }
    +
    361  call_->PerformOps(&ops);
    +
    362  return call_->cq()->Pluck(&ops);
    +
    363  }
    +
    364 
    +
    365  private:
    +
    366  Call* const call_;
    +
    367  ServerContext* const ctx_;
    +
    368 };
    +
    369 
    +
    371 template <class W, class R>
    +
    372 class ServerReaderWriter GRPC_FINAL : public WriterInterface<W>,
    +
    373  public ReaderInterface<R> {
    +
    374  public:
    +
    375  ServerReaderWriter(Call* call, ServerContext* ctx) : call_(call), ctx_(ctx) {}
    +
    376 
    + +
    378  GPR_ASSERT(!ctx_->sent_initial_metadata_);
    +
    379 
    + +
    381  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    382  ctx_->sent_initial_metadata_ = true;
    +
    383  call_->PerformOps(&ops);
    +
    384  call_->cq()->Pluck(&ops);
    +
    385  }
    +
    386 
    +
    387  bool Read(R* msg) GRPC_OVERRIDE {
    + +
    389  ops.RecvMessage(msg);
    +
    390  call_->PerformOps(&ops);
    +
    391  return call_->cq()->Pluck(&ops) && ops.got_message;
    +
    392  }
    +
    393 
    + +
    395  bool Write(const W& msg, const WriteOptions& options) GRPC_OVERRIDE {
    + +
    397  if (!ops.SendMessage(msg, options).ok()) {
    +
    398  return false;
    +
    399  }
    +
    400  if (!ctx_->sent_initial_metadata_) {
    +
    401  ops.SendInitialMetadata(ctx_->initial_metadata_);
    +
    402  ctx_->sent_initial_metadata_ = true;
    +
    403  }
    +
    404  call_->PerformOps(&ops);
    +
    405  return call_->cq()->Pluck(&ops);
    +
    406  }
    +
    407 
    +
    408  private:
    +
    409  Call* const call_;
    +
    410  ServerContext* const ctx_;
    +
    411 };
    +
    412 
    +
    413 } // namespace grpc
    +
    414 
    +
    415 #endif // GRPCXX_SUPPORT_SYNC_STREAM_H
    +
    Definition: channel.h:54
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:269
    +
    Client-side interface for streaming writes of message of type W.
    Definition: sync_stream.h:170
    +
    ClientReaderWriter(Channel *channel, const RpcMethod &method, ClientContext *context)
    Blocking create a stream.
    Definition: sync_stream.h:251
    +
    virtual void WaitForInitialMetadata()=0
    Blocking wait for initial metadata from server.
    + +
    CompletionQueue * cq()
    Definition: call.h:570
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:377
    +
    Client-side interface for streaming reads of message of type R.
    Definition: sync_stream.h:106
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:341
    +
    ServerReaderWriter(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:375
    +
    An interface that yields a sequence of messages of type R.
    Definition: sync_stream.h:68
    +
    void SendInitialMetadata()
    Definition: sync_stream.h:314
    +
    virtual ~ReaderInterface()
    Definition: sync_stream.h:70
    +
    #define GRPC_FINAL
    Definition: config.h:71
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:352
    +
    Status Finish() GRPC_OVERRIDE
    Wait until the stream finishes, and return the final status.
    Definition: sync_stream.h:153
    +
    Definition: client_context.h:149
    +
    Status Finish() GRPC_OVERRIDE
    Wait until the stream finishes, and return the final status.
    Definition: sync_stream.h:294
    +
    Definition: call.h:179
    +
    ServerReader(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:312
    + +
    bool WritesDone() GRPC_OVERRIDE
    Half close writing from the client.
    Definition: sync_stream.h:206
    +
    ClientWriter(Channel *channel, const RpcMethod &method, ClientContext *context, R *response)
    Blocking create a stream.
    Definition: sync_stream.h:185
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:197
    +
    Definition: call.h:333
    +
    virtual ~ClientStreamingInterface()
    Definition: sync_stream.h:51
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:387
    +
    Status Finish() GRPC_OVERRIDE
    Read the final response and wait for the final status.
    Definition: sync_stream.h:214
    +
    Definition: call.h:560
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:143
    +
    virtual bool WritesDone()=0
    Half close writing from the client.
    + +
    Primary implementaiton of CallOpSetInterface.
    Definition: call.h:502
    +
    void ClientSendClose()
    Definition: call.h:337
    +
    Definition: server_context.h:89
    +
    Per-message write options.
    Definition: call.h:64
    +
    virtual void WaitForInitialMetadata()=0
    Blocking wait for initial metadata from server.
    +
    virtual bool WritesDone()=0
    Block until writes are completed.
    +
    bool Write(const W &msg)
    Blocking write msg to the stream with default options.
    Definition: sync_stream.h:101
    +
    A thin wrapper around grpc_completion_queue (see / src/core/surface/completion_queue.h).
    Definition: completion_queue.h:81
    + +
    Definition: rpc_method.h:43
    +
    virtual Status Finish()=0
    Wait until the stream finishes, and return the final status.
    + +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:395
    +
    void PerformOps(CallOpSetInterface *ops)
    +
    An interface that can be fed a sequence of messages of type W.
    Definition: sync_stream.h:84
    + +
    Client-side interface for bi-directional streaming.
    Definition: sync_stream.h:231
    +
    Did it work? If it didn't, why?
    Definition: status.h:45
    +
    virtual bool Read(R *msg)=0
    Blocking read a message and parse to msg.
    +
    Common interface for all synchronous client side streaming.
    Definition: sync_stream.h:49
    +
    ClientReader(Channel *channel, const RpcMethod &method, ClientContext *context, const W &request)
    Blocking create a stream and write the first request out.
    Definition: sync_stream.h:121
    +
    ServerWriter(Call *call, ServerContext *ctx)
    Definition: sync_stream.h:339
    +
    Definition: call.h:147
    +
    void WaitForInitialMetadata()
    Blocking wait for initial metadata from server.
    Definition: sync_stream.h:260
    +
    bool Read(R *msg) GRPC_OVERRIDE
    Blocking read a message and parse to msg.
    Definition: sync_stream.h:324
    +
    virtual bool Write(const W &msg, const WriteOptions &options)=0
    Blocking write msg to the stream with options.
    +
    Definition: channel.h:58
    +
    void WaitForInitialMetadata()
    Blocking wait for initial metadata from server.
    Definition: sync_stream.h:134
    +
    #define GRPC_OVERRIDE
    Definition: config.h:77
    +
    Definition: channel.h:56
    +
    bool Write(const W &msg, const WriteOptions &options) GRPC_OVERRIDE
    Blocking write msg to the stream with options.
    Definition: sync_stream.h:280
    +
    virtual ~WriterInterface()
    Definition: sync_stream.h:86
    + +
    bool WritesDone() GRPC_OVERRIDE
    Block until writes are completed.
    Definition: sync_stream.h:287
    +
    Channels represent a connection to an endpoint. Created by CreateChannel.
    Definition: channel.h:69
    +
    + + + + diff --git a/doc/ref/c++/html/thd_8h.html b/doc/ref/c++/html/thd_8h.html index f91ed35630e..981bf84914b 100644 --- a/doc/ref/c++/html/thd_8h.html +++ b/doc/ref/c++/html/thd_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -89,14 +89,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    thd.h File Reference
    - diff --git a/doc/ref/c++/html/thd_8h_source.html b/doc/ref/c++/html/thd_8h_source.html index 6aee28de4a9..a4ac6049ca9 100644 --- a/doc/ref/c++/html/thd_8h_source.html +++ b/doc/ref/c++/html/thd_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -125,7 +125,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPCXX_IMPL_THD_H
    35 #define GRPCXX_IMPL_THD_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 #ifdef GRPC_CXX0X_NO_THREAD
    @@ -140,7 +140,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/c++/html/thd__cxx11_8h.html b/doc/ref/c++/html/thd__cxx11_8h.html index 5328f876fa4..26ef24a1208 100644 --- a/doc/ref/c++/html/thd__cxx11_8h.html +++ b/doc/ref/c++/html/thd__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -103,7 +103,7 @@ Namespaces diff --git a/doc/ref/c++/html/thd__cxx11_8h_source.html b/doc/ref/c++/html/thd__cxx11_8h_source.html index 34c03bf588d..e1a1afeb287 100644 --- a/doc/ref/c++/html/thd__cxx11_8h_source.html +++ b/doc/ref/c++/html/thd__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -137,7 +137,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/c++/html/thd__no__cxx11_8h.html b/doc/ref/c++/html/thd__no__cxx11_8h.html index 63c4ba7b561..9d3bf25f91d 100644 --- a/doc/ref/c++/html/thd__no__cxx11_8h.html +++ b/doc/ref/c++/html/thd__no__cxx11_8h.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -109,7 +109,7 @@ Namespaces diff --git a/doc/ref/c++/html/thd__no__cxx11_8h_source.html b/doc/ref/c++/html/thd__no__cxx11_8h_source.html index a14272e6819..2bb4658e277 100644 --- a/doc/ref/c++/html/thd__no__cxx11_8h_source.html +++ b/doc/ref/c++/html/thd__no__cxx11_8h_source.html @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -131,65 +131,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    40 
    41 class thread {
    42  public:
    -
    43  template<class T> thread(void (T::*fptr)(), T *obj) {
    -
    44  func_ = new thread_function<T>(fptr, obj);
    -
    45  joined_ = false;
    -
    46  start();
    -
    47  }
    -
    48  ~thread() {
    -
    49  if (!joined_) std::terminate();
    -
    50  delete func_;
    -
    51  }
    -
    52  void join() {
    -
    53  gpr_thd_join(thd_);
    -
    54  joined_ = true;
    -
    55  }
    -
    56  private:
    -
    57  void start() {
    -
    58  gpr_thd_options options = gpr_thd_options_default();
    -
    59  gpr_thd_options_set_joinable(&options);
    -
    60  gpr_thd_new(&thd_, thread_func, (void *) func_, &options);
    -
    61  }
    -
    62  static void thread_func(void *arg) {
    -
    63  thread_function_base *func = (thread_function_base *) arg;
    -
    64  func->call();
    -
    65  }
    -
    66  class thread_function_base {
    -
    67  public:
    -
    68  virtual ~thread_function_base() { }
    -
    69  virtual void call() = 0;
    -
    70  };
    -
    71  template<class T>
    -
    72  class thread_function : public thread_function_base {
    -
    73  public:
    -
    74  thread_function(void (T::*fptr)(), T *obj)
    -
    75  : fptr_(fptr)
    -
    76  , obj_(obj) { }
    +
    43  template <class T>
    +
    44  thread(void (T::*fptr)(), T *obj) {
    +
    45  func_ = new thread_function<T>(fptr, obj);
    +
    46  joined_ = false;
    +
    47  start();
    +
    48  }
    +
    49  ~thread() {
    +
    50  if (!joined_) std::terminate();
    +
    51  delete func_;
    +
    52  }
    +
    53  void join() {
    +
    54  gpr_thd_join(thd_);
    +
    55  joined_ = true;
    +
    56  }
    +
    57 
    +
    58  private:
    +
    59  void start() {
    +
    60  gpr_thd_options options = gpr_thd_options_default();
    +
    61  gpr_thd_options_set_joinable(&options);
    +
    62  gpr_thd_new(&thd_, thread_func, (void *)func_, &options);
    +
    63  }
    +
    64  static void thread_func(void *arg) {
    +
    65  thread_function_base *func = (thread_function_base *)arg;
    +
    66  func->call();
    +
    67  }
    +
    68  class thread_function_base {
    +
    69  public:
    +
    70  virtual ~thread_function_base() {}
    +
    71  virtual void call() = 0;
    +
    72  };
    +
    73  template <class T>
    +
    74  class thread_function : public thread_function_base {
    +
    75  public:
    +
    76  thread_function(void (T::*fptr)(), T *obj) : fptr_(fptr), obj_(obj) {}
    77  virtual void call() { (obj_->*fptr_)(); }
    -
    78  private:
    -
    79  void (T::*fptr_)();
    -
    80  T *obj_;
    -
    81  };
    -
    82  thread_function_base *func_;
    -
    83  gpr_thd_id thd_;
    -
    84  bool joined_;
    -
    85 
    -
    86  // Disallow copy and assign.
    -
    87  thread(const thread&);
    -
    88  void operator=(const thread&);
    -
    89 };
    -
    90 
    -
    91 } // namespace grpc
    -
    92 
    -
    93 #endif // GRPCXX_IMPL_THD_NO_CXX11_H
    -
    thread(void(T::*fptr)(), T *obj)
    Definition: thd_no_cxx11.h:43
    -
    void join()
    Definition: thd_no_cxx11.h:52
    +
    78 
    +
    79  private:
    +
    80  void (T::*fptr_)();
    +
    81  T *obj_;
    +
    82  };
    +
    83  thread_function_base *func_;
    +
    84  gpr_thd_id thd_;
    +
    85  bool joined_;
    +
    86 
    +
    87  // Disallow copy and assign.
    +
    88  thread(const thread &);
    +
    89  void operator=(const thread &);
    +
    90 };
    +
    91 
    +
    92 } // namespace grpc
    +
    93 
    +
    94 #endif // GRPCXX_IMPL_THD_NO_CXX11_H
    +
    thread(void(T::*fptr)(), T *obj)
    Definition: thd_no_cxx11.h:44
    +
    void join()
    Definition: thd_no_cxx11.h:53
    Definition: thd_no_cxx11.h:41
    -
    ~thread()
    Definition: thd_no_cxx11.h:48
    +
    ~thread()
    Definition: thd_no_cxx11.h:49
    diff --git a/doc/ref/c++/html/time_8h.html b/doc/ref/c++/html/time_8h.html index e55c9fbdfbb..40832eabddc 100644 --- a/doc/ref/c++/html/time_8h.html +++ b/doc/ref/c++/html/time_8h.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/time.h File Reference +GRPC C++: include/grpc++/support/time.h File Reference @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -93,7 +93,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    time.h File Reference
    -
    #include <grpc++/config.h>
    +
    #include <grpc++/support/config.h>
    #include <chrono>
    #include <grpc/support/time.h>
    @@ -125,7 +125,7 @@ Functions
    diff --git a/doc/ref/c++/html/time_8h_source.html b/doc/ref/c++/html/time_8h_source.html index f42eb5ad3c2..663555a7e79 100644 --- a/doc/ref/c++/html/time_8h_source.html +++ b/doc/ref/c++/html/time_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/time.h Source File +GRPC C++: include/grpc++/support/time.h Source File @@ -23,7 +23,7 @@
    GRPC C++ -  0.10.0.0 +  0.11.0.0
    @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    @@ -122,10 +122,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_TIME_H
    -
    35 #define GRPCXX_TIME_H
    +
    34 #ifndef GRPCXX_SUPPORT_TIME_H
    +
    35 #define GRPCXX_SUPPORT_TIME_H
    36 
    -
    37 #include <grpc++/config.h>
    +
    37 #include <grpc++/support/config.h>
    38 
    39 namespace grpc {
    40 
    @@ -198,7 +198,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    107 
    108 #endif // !GRPC_CXX0X_NO_CHRONO
    109 
    -
    110 #endif // GRPCXX_TIME_H
    +
    110 #endif // GRPCXX_SUPPORT_TIME_H
    void TimepointHR2Timespec(const std::chrono::high_resolution_clock::time_point &from, gpr_timespec *to)
    gpr_timespec raw_time()
    Definition: time.h:56
    @@ -213,7 +213,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/core.internal/html/add__channel__arg_8c.html b/doc/ref/core.internal/html/add__channel__arg_8c.html index 501666f6c87..7a99276c18e 100644 --- a/doc/ref/core.internal/html/add__channel__arg_8c.html +++ b/doc/ref/core.internal/html/add__channel__arg_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -131,7 +131,7 @@ Functions diff --git a/doc/ref/core.internal/html/add__channel__arg_8h.html b/doc/ref/core.internal/html/add__channel__arg_8h.html index 8b8715fb8db..b17c1d43af1 100644 --- a/doc/ref/core.internal/html/add__channel__arg_8h.html +++ b/doc/ref/core.internal/html/add__channel__arg_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -132,7 +132,7 @@ Functions diff --git a/doc/ref/core.internal/html/add__channel__arg_8h_source.html b/doc/ref/core.internal/html/add__channel__arg_8h_source.html index 48c0cf15336..68c9439c260 100644 --- a/doc/ref/core.internal/html/add__channel__arg_8h_source.html +++ b/doc/ref/core.internal/html/add__channel__arg_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -129,16 +129,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    42 grpc_subchannel_factory *grpc_subchannel_factory_add_channel_arg(
    43  grpc_subchannel_factory *input, const grpc_arg *arg);
    44 
    -
    45 #endif /* GRPC_INTERNAL_CORE_CLIENT_CONFIG_SUBCHANNEL_FACTORY_DECORATORS_ADD_CHANNEL_ARG_H */
    +
    45 #endif /* GRPC_INTERNAL_CORE_CLIENT_CONFIG_SUBCHANNEL_FACTORY_DECORATORS_ADD_CHANNEL_ARG_H \
    +
    46  */
    -
    A single argument...
    Definition: grpc.h:91
    +
    A single argument...
    Definition: grpc.h:89
    Definition: cmdline.c:47
    grpc_subchannel_factory * grpc_subchannel_factory_add_channel_arg(grpc_subchannel_factory *input, const grpc_arg *arg)
    Takes a subchannel factory, returns a new one that mutates incoming channel_args by adding a new argu...
    Definition: add_channel_arg.c:37
    Constructor for new configured channels.
    Definition: subchannel_factory.h:45
    diff --git a/doc/ref/core/html/cancellable__platform_8h.html b/doc/ref/core.internal/html/aggregation_8h.html similarity index 80% rename from doc/ref/core/html/cancellable__platform_8h.html rename to doc/ref/core.internal/html/aggregation_8h.html index af02bbaee30..19045a290b0 100644 --- a/doc/ref/core/html/cancellable__platform_8h.html +++ b/doc/ref/core.internal/html/aggregation_8h.html @@ -4,7 +4,7 @@ -GRPC Core: include/grpc/support/cancellable_platform.h File Reference +GRPC Core: src/core/census/aggregation.h File Reference @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -80,32 +80,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    cancellable_platform.h File Reference
    +
    aggregation.h File Reference
    -
    #include <grpc/support/atm.h>
    -#include <grpc/support/sync.h>
    +
    #include <stddef.h>
    -

    Go to the source code of this file.

    +

    Go to the source code of this file.

    - - - + +

    Data Structures

    struct  gpr_cancellable_list_
     
    struct  gpr_cancellable
    struct  census_aggregation_ops
     Structure used to describe an aggregation type. More...
     
    diff --git a/doc/ref/core.internal/html/cancellable__platform_8h_source.html b/doc/ref/core.internal/html/aggregation_8h_source.html similarity index 51% rename from doc/ref/core.internal/html/cancellable__platform_8h_source.html rename to doc/ref/core.internal/html/aggregation_8h_source.html index 27c6e8acf36..c3cdd20800b 100644 --- a/doc/ref/core.internal/html/cancellable__platform_8h_source.html +++ b/doc/ref/core.internal/html/aggregation_8h_source.html @@ -4,7 +4,7 @@ -GRPC Core: include/grpc/support/cancellable_platform.h Source File +GRPC Core: src/core/census/aggregation.h Source File @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -80,15 +80,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    cancellable_platform.h
    +
    aggregation.h
    -Go to the documentation of this file.
    1 /*
    +Go to the documentation of this file.
    1 /*
    2  *
    3  * Copyright 2015, Google Inc.
    4  * All rights reserved.
    @@ -121,46 +121,51 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPC_SUPPORT_CANCELLABLE_PLATFORM_H
    -
    35 #define GRPC_SUPPORT_CANCELLABLE_PLATFORM_H
    -
    36 
    -
    37 #include <grpc/support/atm.h>
    -
    38 #include <grpc/support/sync.h>
    -
    39 
    - -
    41  /* a doubly-linked list on cancellable's waiters queue */
    - - -
    44  /* The following two fields are arguments to gpr_cv_cancellable_wait() */
    - - -
    47 };
    -
    48 
    -
    49 /* Internal definition of gpr_cancellable. */
    -
    50 typedef struct {
    -
    51  gpr_mu mu; /* protects waiters and modifications to cancelled */
    - -
    53  struct gpr_cancellable_list_ waiters;
    - -
    55 
    -
    56 #endif /* GRPC_SUPPORT_CANCELLABLE_PLATFORM_H */
    - -
    struct gpr_cancellable_list_ * prev
    Definition: cancellable_platform.h:43
    -
    Definition: cancellable_platform.h:40
    -
    gpr_cv * cv
    Definition: cancellable_platform.h:46
    -
    gpr_atm cancelled
    Definition: cancellable_platform.h:52
    -
    pthread_cond_t gpr_cv
    Definition: sync_posix.h:42
    -
    Definition: cancellable_platform.h:50
    -
    Definition: sync_win32.h:39
    -
    gpr_mu * mu
    Definition: cancellable_platform.h:45
    -
    gpr_mu mu
    Definition: cancellable_platform.h:51
    - -
    struct gpr_cancellable_list_ * next
    Definition: cancellable_platform.h:42
    -
    gpr_intptr gpr_atm
    Definition: atm_gcc_atomic.h:41
    +
    34 #include <stddef.h>
    +
    35 
    +
    36 #ifndef GRPC_INTERNAL_CORE_CENSUS_AGGREGATION_H
    +
    37 #define GRPC_INTERNAL_CORE_CENSUS_AGGREGATION_H
    +
    38 
    + +
    41  /* Create a new aggregation. The pointer returned can be used in future calls
    +
    42  to clone(), free(), record(), data() and reset(). */
    +
    43  void *(*create)(const void *create_arg);
    +
    44  /* Make a copy of an aggregation created by create() */
    +
    45  void *(*clone)(const void *aggregation);
    +
    46  /* Destroy an aggregation created by create() */
    +
    47  void (*free)(void *aggregation);
    +
    48  /* Record a new value against aggregation. */
    +
    49  void (*record)(void *aggregation, double value);
    +
    50  /* Return current aggregation data. The caller must cast this object into
    +
    51  the correct type for the aggregation result. The object returned can be
    +
    52  freed by using free_data(). */
    +
    53  void *(*data)(const void *aggregation);
    +
    54  /* free data returned by data() */
    +
    55  void (*free_data)(void *data);
    +
    56  /* Reset an aggregation to default (zero) values. */
    +
    57  void (*reset)(void *aggregation);
    +
    58  /* Merge 'from' aggregation into 'to'. Both aggregations must be compatible */
    +
    59  void (*merge)(void *to, const void *from);
    +
    60  /* Fill buffer with printable string version of aggregation contents. For
    +
    61  debugging only. Returns the number of bytes added to buffer (a value == n
    +
    62  implies the buffer was of insufficient size). */
    +
    63  size_t (*print)(const void *aggregation, char *buffer, size_t n);
    +
    64 };
    +
    65 
    +
    66 #endif /* GRPC_INTERNAL_CORE_CENSUS_AGGREGATION_H */
    +
    const char * value
    Definition: hpack_table.c:44
    +
    Structure used to describe an aggregation type.
    Definition: aggregation.h:40
    +
    void *(* data)(const void *aggregation)
    Definition: aggregation.h:53
    +
    void(* free)(void *aggregation)
    Definition: aggregation.h:47
    +
    void(* record)(void *aggregation, double value)
    Definition: aggregation.h:49
    +
    void(* reset)(void *aggregation)
    Definition: aggregation.h:57
    +
    void(* merge)(void *to, const void *from)
    Definition: aggregation.h:59
    +
    size_t(* print)(const void *aggregation, char *buffer, size_t n)
    Definition: aggregation.h:63
    +
    void(* free_data)(void *data)
    Definition: aggregation.h:55
    diff --git a/doc/ref/core.internal/html/alarm_8c.html b/doc/ref/core.internal/html/alarm_8c.html index 339609c4499..19e17cc034d 100644 --- a/doc/ref/core.internal/html/alarm_8c.html +++ b/doc/ref/core.internal/html/alarm_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -366,7 +366,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/alarm_8h.html b/doc/ref/core.internal/html/alarm_8h.html index 9ea5a2a4820..86d3290f308 100644 --- a/doc/ref/core.internal/html/alarm_8h.html +++ b/doc/ref/core.internal/html/alarm_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -192,7 +192,7 @@ Functions diff --git a/doc/ref/core.internal/html/alarm_8h_source.html b/doc/ref/core.internal/html/alarm_8h_source.html index 3677d544cde..8c4b7137aed 100644 --- a/doc/ref/core.internal/html/alarm_8h_source.html +++ b/doc/ref/core.internal/html/alarm_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -176,28 +176,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    86  Requires: cancel() must happen after add() on a given alarm */
    87 void grpc_alarm_cancel(grpc_alarm *alarm);
    88 
    -
    89 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_H */
    +
    89 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_H */
    Definition: alarm.h:41
    -
    void grpc_alarm_cancel(grpc_alarm *alarm)
    Definition: alarm.c:227
    +
    void grpc_alarm_cancel(grpc_alarm *alarm)
    Definition: alarm.c:226
    grpc_iomgr_cb_func cb
    Definition: alarm.h:47
    struct grpc_alarm * next
    Definition: alarm.h:45
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    void * cb_arg
    Definition: alarm.h:48
    -
    void grpc_alarm_init(grpc_alarm *alarm, gpr_timespec deadline, grpc_iomgr_cb_func alarm_cb, void *alarm_cb_arg, gpr_timespec now)
    Definition: alarm.c:176
    +
    void grpc_alarm_init(grpc_alarm *alarm, gpr_timespec deadline, grpc_iomgr_cb_func alarm_cb, void *alarm_cb_arg, gpr_timespec now)
    Definition: alarm.c:175
    gpr_uint32 heap_index
    Definition: alarm.h:43
    gpr_timespec deadline
    Definition: alarm.h:42
    void(* grpc_iomgr_cb_func)(void *arg, int success)
    gRPC Callback definition.
    Definition: iomgr.h:42
    struct grpc_alarm grpc_alarm
    int triggered
    Definition: alarm.h:44
    struct grpc_alarm * prev
    Definition: alarm.h:46
    -
    Definition: time.h:60
    +
    Definition: time.h:63
    diff --git a/doc/ref/core.internal/html/alarm__heap_8c.html b/doc/ref/core.internal/html/alarm__heap_8c.html index 39e8fecd3c5..d9dda6cb502 100644 --- a/doc/ref/core.internal/html/alarm__heap_8c.html +++ b/doc/ref/core.internal/html/alarm__heap_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -281,7 +281,7 @@ Functions diff --git a/doc/ref/core.internal/html/alarm__heap_8h.html b/doc/ref/core.internal/html/alarm__heap_8h.html index f28312f1266..e2bc684562f 100644 --- a/doc/ref/core.internal/html/alarm__heap_8h.html +++ b/doc/ref/core.internal/html/alarm__heap_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -253,7 +253,7 @@ Functions diff --git a/doc/ref/core.internal/html/alarm__heap_8h_source.html b/doc/ref/core.internal/html/alarm__heap_8h_source.html index cd8052d36bc..553b9cfa363 100644 --- a/doc/ref/core.internal/html/alarm__heap_8h_source.html +++ b/doc/ref/core.internal/html/alarm__heap_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    54 
    55 int grpc_alarm_heap_is_empty(grpc_alarm_heap *heap);
    56 
    -
    57 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_HEAP_H */
    +
    57 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_HEAP_H */
    Definition: alarm.h:41
    int alarm_capacity
    Definition: alarm_heap.h:42
    void grpc_alarm_heap_pop(grpc_alarm_heap *heap)
    Definition: alarm_heap.c:146
    @@ -161,7 +161,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/alarm__internal_8h.html b/doc/ref/core.internal/html/alarm__internal_8h.html index 0d72b6c868a..1c61e6de7d3 100644 --- a/doc/ref/core.internal/html/alarm__internal_8h.html +++ b/doc/ref/core.internal/html/alarm__internal_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -208,7 +208,7 @@ Functions diff --git a/doc/ref/core.internal/html/alarm__internal_8h_source.html b/doc/ref/core.internal/html/alarm__internal_8h_source.html index cec947087f6..9dfe69cdff6 100644 --- a/doc/ref/core.internal/html/alarm__internal_8h_source.html +++ b/doc/ref/core.internal/html/alarm__internal_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -149,20 +149,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    59 
    60 void grpc_kick_poller(void);
    61 
    -
    62 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H */
    +
    62 #endif /* GRPC_INTERNAL_CORE_IOMGR_ALARM_INTERNAL_H */
    void grpc_alarm_list_init(gpr_timespec now)
    Definition: alarm.c:85
    -
    int grpc_alarm_check(gpr_mu *drop_mu, gpr_timespec now, gpr_timespec *next)
    Definition: alarm.c:362
    +
    int grpc_alarm_check(gpr_mu *drop_mu, gpr_timespec now, gpr_timespec *next)
    Definition: alarm.c:361
    Definition: sync_win32.h:39
    void grpc_kick_poller(void)
    Definition: iomgr.c:82
    -
    gpr_timespec grpc_alarm_list_next_timeout(void)
    Definition: alarm.c:369
    -
    Definition: time.h:60
    +
    gpr_timespec grpc_alarm_list_next_timeout(void)
    Definition: alarm.c:368
    +
    Definition: time.h:63
    void grpc_alarm_list_shutdown(void)
    Definition: alarm.c:106
    diff --git a/doc/ref/core.internal/html/algorithm_8c.html b/doc/ref/core.internal/html/algorithm_8c.html index 6636fa645dd..fce38371cff 100644 --- a/doc/ref/core.internal/html/algorithm_8c.html +++ b/doc/ref/core.internal/html/algorithm_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -96,9 +96,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - + + + @@ -158,7 +158,7 @@ Functions - +

    Functions

    int grpc_compression_algorithm_parse (const char *name, grpc_compression_algorithm *algorithm)
     Parses name as a grpc_compression_algorithm instance, updating algorithm. More...
     
    int grpc_compression_algorithm_parse (const char *name, size_t name_length, grpc_compression_algorithm *algorithm)
     Parses the first name_length bytes of name as a grpc_compression_algorithm instance, updating algorithm. More...
     
    int grpc_compression_algorithm_name (grpc_compression_algorithm algorithm, char **name)
     Updates name with the encoding name corresponding to a valid algorithm. More...
     
    @@ -168,6 +168,12 @@ Functions + + + + + + @@ -182,7 +188,7 @@ Functions
    const char *  name,
    size_t name_length,
    -

    Parses name as a grpc_compression_algorithm instance, updating algorithm.

    +

    Parses the first name_length bytes of name as a grpc_compression_algorithm instance, updating algorithm.

    Returns 1 upon success, 0 otherwise.

    @@ -209,7 +215,7 @@ Functions diff --git a/doc/ref/core.internal/html/alloc_8c.html b/doc/ref/core.internal/html/alloc_8c.html index 79ef1003575..c74066a4c22 100644 --- a/doc/ref/core.internal/html/alloc_8c.html +++ b/doc/ref/core.internal/html/alloc_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -211,7 +211,7 @@ Functions diff --git a/doc/ref/core.internal/html/alloc_8h.html b/doc/ref/core.internal/html/alloc_8h.html index 56ac3fc42ee..6938d4e9c55 100644 --- a/doc/ref/core.internal/html/alloc_8h.html +++ b/doc/ref/core.internal/html/alloc_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -211,7 +211,7 @@ Functions diff --git a/doc/ref/core.internal/html/alloc_8h_source.html b/doc/ref/core.internal/html/alloc_8h_source.html index 027820fe042..ad73ad78f23 100644 --- a/doc/ref/core.internal/html/alloc_8h_source.html +++ b/doc/ref/core.internal/html/alloc_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -145,7 +145,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    55 }
    56 #endif
    57 
    -
    58 #endif /* GRPC_SUPPORT_ALLOC_H */
    +
    58 #endif /* GRPC_SUPPORT_ALLOC_H */
    void gpr_free_aligned(void *ptr)
    Definition: alloc.c:66
    void * gpr_realloc(void *p, size_t size)
    Definition: alloc.c:49
    void * gpr_malloc(size_t size)
    Definition: alloc.c:39
    @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/alpn_8c.html b/doc/ref/core.internal/html/alpn_8c.html index 31e29d64330..ab0e0ba6234 100644 --- a/doc/ref/core.internal/html/alpn_8c.html +++ b/doc/ref/core.internal/html/alpn_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -165,7 +165,7 @@ Functions diff --git a/doc/ref/core.internal/html/alpn_8h.html b/doc/ref/core.internal/html/alpn_8h.html index 69259eb80a2..4e13b30ffe8 100644 --- a/doc/ref/core.internal/html/alpn_8h.html +++ b/doc/ref/core.internal/html/alpn_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -165,7 +165,7 @@ Functions diff --git a/doc/ref/core.internal/html/alpn_8h_source.html b/doc/ref/core.internal/html/alpn_8h_source.html index cafd87846b7..59a3b18e425 100644 --- a/doc/ref/core.internal/html/alpn_8h_source.html +++ b/doc/ref/core.internal/html/alpn_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -144,7 +144,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/annotated.html b/doc/ref/core.internal/html/annotated.html index 53ac2d6c94f..a934a4d397c 100644 --- a/doc/ref/core.internal/html/annotated.html +++ b/doc/ref/core.internal/html/annotated.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -91,254 +91,267 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); oCb64_huff_sym oCcall_data oCcall_link -oCcensus_context -oCcensus_stat -oCchannel_broadcaster -oCchannel_data -oCchannel_registered_method -oCcompleted_request -oCcompute_engine_detector -oCconnected_channel_call_data -oCconnected_channel_channel_data -oCconnection -oCconnector -oCdns_resolver -oCdump_out -oCemail_key_mapping -oCfinished_loose_op_allocated_args -oCframer_state -oCgpr_cancellable -oCgpr_cancellable_list_ -oCgpr_cmdline -oCgpr_event -oCgpr_gcc_thread_local -oCgpr_histogram -oCgpr_log_func_args -oCgpr_msvc_thread_local -oCgpr_mu -oCgpr_pthread_thread_local -oCgpr_refcount -oCgpr_slice -oCgpr_slice_buffer -oCgpr_slice_refcount -oCgpr_stack_lockfree -oCgpr_stats_counter -oCgpr_strvec -oCgpr_thd_options -oCgpr_timespec -oCgrpc_access_token_credentials -oCgrpc_alarm -oCgrpc_alarm_heap -oCgrpc_argA single argument.. -oCgrpc_auth_context -oCgrpc_auth_json_key -oCgrpc_auth_property -oCgrpc_auth_property_iterator -oCgrpc_auth_refresh_token -oCgrpc_bbq_array -oCgrpc_begin_message -oCgrpc_byte_buffer -oCgrpc_byte_buffer_queue -oCgrpc_byte_buffer_reader -oCgrpc_call -oCgrpc_call_context_element -oCgrpc_call_details -oCgrpc_call_element -oCgrpc_call_stack -oCgrpc_channel -oCgrpc_channel_argsAn array of arguments that can be passed around -oCgrpc_channel_element -oCgrpc_channel_filter -oCgrpc_channel_security_connector -oCgrpc_channel_stack -oCgrpc_chttp2_data_parser -oCgrpc_chttp2_goaway_parser -oCgrpc_chttp2_hpack_compressor -oCgrpc_chttp2_hpack_parser -oCgrpc_chttp2_hpack_parser_string -oCgrpc_chttp2_hptbl -oCgrpc_chttp2_hptbl_find_result -oCgrpc_chttp2_huffsym -oCgrpc_chttp2_incoming_metadata_buffer -oCgrpc_chttp2_incoming_metadata_live_op_buffer -oCgrpc_chttp2_outstanding_ping -oCgrpc_chttp2_ping_parser -oCgrpc_chttp2_rst_stream_parser -oCgrpc_chttp2_setting_parameters -oCgrpc_chttp2_settings_parser -oCgrpc_chttp2_stream -oCgrpc_chttp2_stream_global -oCgrpc_chttp2_stream_link -oCgrpc_chttp2_stream_list -oCgrpc_chttp2_stream_map -oCgrpc_chttp2_stream_parsing -oCgrpc_chttp2_stream_writing -oCgrpc_chttp2_transport -oCgrpc_chttp2_transport_global -oCgrpc_chttp2_transport_parsing -oCgrpc_chttp2_transport_writing -oCgrpc_chttp2_window_update_parser -oCgrpc_client_config -oCgrpc_client_security_context -oCgrpc_completion_queue -oCgrpc_composite_credentials -oCgrpc_composite_credentials_metadata_context -oCgrpc_connect_in_args -oCgrpc_connect_out_args -oCgrpc_connectivity_state_tracker -oCgrpc_connectivity_state_watcher -oCgrpc_connector -oCgrpc_connector_vtable -oCgrpc_cq_completion -oCgrpc_credentials -oCgrpc_credentials_array -oCgrpc_credentials_md -oCgrpc_credentials_md_store -oCgrpc_credentials_metadata_request -oCgrpc_credentials_vtable -oCgrpc_endpoint -oCgrpc_endpoint_pair -oCgrpc_endpoint_vtable -oCgrpc_eventThe result of an operation -oCgrpc_fake_channel_security_connector -oCgrpc_fake_oauth2_credentials -oCgrpc_fd -oCgrpc_fd_watcher -oCgrpc_httpcli_context -oCgrpc_httpcli_header -oCgrpc_httpcli_parser -oCgrpc_httpcli_request -oCgrpc_httpcli_response -oCgrpc_httpcli_ssl_channel_security_connector -oCgrpc_iam_credentials -oCgrpc_iomgr_closureA closure over a grpc_iomgr_cb_func -oCgrpc_iomgr_object -oCgrpc_ioreq -oCgrpc_ioreq_data -oCgrpc_json -oCgrpc_json_reader -oCgrpc_json_reader_vtable -oCgrpc_json_writer -oCgrpc_json_writer_vtable -oCgrpc_jwt_claims -oCgrpc_jwt_verifier -oCgrpc_jwt_verifier_email_domain_key_url_mapping -oCgrpc_kick_fd_info -oCgrpc_lb_policy -oCgrpc_lb_policy_vtable -oCgrpc_linked_mdelem -oCgrpc_mdctx -oCgrpc_mdelem -oCgrpc_mdelem_list -oCgrpc_mdstr -oCgrpc_metadataA single metadata element -oCgrpc_metadata_array -oCgrpc_metadata_batch -oCgrpc_oauth2_token_fetcher_credentials -oCgrpc_opOperation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) -oCgrpc_pollset -oCgrpc_pollset_kick_state -oCgrpc_pollset_set -oCgrpc_pollset_vtable -oCgrpc_precise_clock -oCgrpc_refresh_token_credentials -oCgrpc_resolved_address -oCgrpc_resolved_addresses -oCgrpc_resolverGrpc_resolver provides grpc_client_config objects to grpc_channel objects -oCgrpc_resolver_factoryGrpc_resolver provides grpc_client_config objects to grpc_channel objects -oCgrpc_resolver_factory_vtable -oCgrpc_resolver_vtable -oCgrpc_secure_transport_setup -oCgrpc_security_connector -oCgrpc_security_connector_vtable -oCgrpc_server -oCgrpc_server_credentials -oCgrpc_server_credentials_vtable -oCgrpc_server_secure_state -oCgrpc_server_security_context -oCgrpc_service_account_credentials -oCgrpc_service_account_jwt_access_credentials -oCgrpc_ssl_channel_security_connector -oCgrpc_ssl_config -oCgrpc_ssl_credentials -oCgrpc_ssl_pem_key_cert_pair -oCgrpc_ssl_server_config -oCgrpc_ssl_server_credentials -oCgrpc_ssl_server_security_connector -oCgrpc_stream_op -oCgrpc_stream_op_bufferA stream op buffer is a wrapper around stream operations that is dynamically extendable -oCgrpc_subchannel -oCgrpc_subchannel_args -oCgrpc_subchannel_call -oCgrpc_subchannel_factoryConstructor for new configured channels -oCgrpc_subchannel_factory_vtable -oCgrpc_time_averaged_stats -oCgrpc_transport -oCgrpc_transport_opTransport op: a set of operations to perform on a transport as a whole -oCgrpc_transport_stream_op -oCgrpc_transport_vtable -oCgrpc_uri -oCgrpc_wakeup_fd_info -oCgrpc_wakeup_fd_vtable -oCgrpc_winsocket -oCgrpc_winsocket_callback_info -oChuff_out -oCinternal_metadata -oCinternal_request -oCinternal_string -oCjose_header -oCjson_reader_userdata -oCjson_writer_userdata -oClb_policy_connectivity_watcherWe create one watcher for each new lb_policy that is returned from a resolver, to watch for state changes from the lb_policy -oClistener -oClockfree_node -oClockfree_node_contents -oCmalloc_refcount -oCmerge_args_factory -oCnew_slice_refcount -oCnew_with_len_slice_refcount -oCpending_pick -oCpick_first_lb_policy -oCreceived_status -oCregistered_call -oCregistered_method -oCregistered_resolver -oCreqinfo_master -oCrequest_killer -oCrequest_matcher -oCrequested_call -oCsecure_endpoint -oCshard_type -oCshutdown_cleanup_args -oCshutdown_tag -oCsockaddr_resolver -oCstate_watcher -oCsubchannel_factory -oCtcp_endpoint_list -oCtracer -oCtsi_fake_frame -oCtsi_fake_frame_protector -oCtsi_fake_handshaker -oCtsi_frame_protector -oCtsi_frame_protector_vtable -oCtsi_handshaker -oCtsi_handshaker_vtable -oCtsi_peer -oCtsi_peer_property -oCtsi_ssl_client_handshaker_factory -oCtsi_ssl_frame_protector -oCtsi_ssl_handshaker -oCtsi_ssl_handshaker_factory -oCtsi_ssl_server_handshaker_factory -oCverifier_cb_ctx -oCwaiting_call -\Cwaiting_for_connect +oCcensus_aggregated_rpc_stats +oCcensus_aggregationInformation needed to instantiate a new aggregation +oCcensus_aggregation_opsStructure used to describe an aggregation type +oCcensus_context +oCcensus_op_id +oCcensus_per_method_rpc_stats +oCcensus_rpc_name_infoRepresent functions to map RPC name ID to service/method names +oCcensus_rpc_stats +oCcensus_tag_const +oCcensus_timestampThis structure represents a timestamp as used by census to record the time at which an operation begins +oCcensus_trace_recordTrace record +oCcensus_value +oCcensus_view_aggregation_dataHolds all the aggregation data for a particular view instantiation +oCcensus_view_dataCensus view data as returned by census_view_get_data() +oCchannel_broadcaster +oCchannel_data +oCchannel_registered_method +oCclose_message_data +oCcompleted_request +oCcompute_engine_detector +oCconnected_channel_call_data +oCconnected_channel_channel_data +oCconnection +oCconnector +oCdns_resolver +oCdump_out +oCemail_key_mapping +oCfinished_loose_op_allocated_args +oCframer_state +oCgpr_cmdline +oCgpr_event +oCgpr_gcc_thread_local +oCgpr_histogram +oCgpr_log_func_args +oCgpr_msvc_thread_local +oCgpr_mu +oCgpr_pthread_thread_local +oCgpr_refcount +oCgpr_slice +oCgpr_slice_buffer +oCgpr_slice_refcount +oCgpr_stack_lockfree +oCgpr_stats_counter +oCgpr_strvec +oCgpr_thd_options +oCgpr_timespec +oCgrpc_access_token_credentials +oCgrpc_alarm +oCgrpc_alarm_heap +oCgrpc_argA single argument.. +oCgrpc_auth_context +oCgrpc_auth_json_key +oCgrpc_auth_metadata_processor +oCgrpc_auth_property +oCgrpc_auth_property_array +oCgrpc_auth_property_iterator +oCgrpc_auth_refresh_token +oCgrpc_bbq_array +oCgrpc_begin_message +oCgrpc_byte_buffer +oCgrpc_byte_buffer_queue +oCgrpc_byte_buffer_reader +oCgrpc_call +oCgrpc_call_context_element +oCgrpc_call_details +oCgrpc_call_element +oCgrpc_call_stack +oCgrpc_channel +oCgrpc_channel_argsAn array of arguments that can be passed around +oCgrpc_channel_element +oCgrpc_channel_filter +oCgrpc_channel_security_connector +oCgrpc_channel_stack +oCgrpc_chttp2_data_parser +oCgrpc_chttp2_goaway_parser +oCgrpc_chttp2_hpack_compressor +oCgrpc_chttp2_hpack_parser +oCgrpc_chttp2_hpack_parser_string +oCgrpc_chttp2_hptbl +oCgrpc_chttp2_hptbl_find_result +oCgrpc_chttp2_huffsym +oCgrpc_chttp2_incoming_metadata_buffer +oCgrpc_chttp2_incoming_metadata_live_op_buffer +oCgrpc_chttp2_outstanding_ping +oCgrpc_chttp2_ping_parser +oCgrpc_chttp2_rst_stream_parser +oCgrpc_chttp2_setting_parameters +oCgrpc_chttp2_settings_parser +oCgrpc_chttp2_stream +oCgrpc_chttp2_stream_global +oCgrpc_chttp2_stream_link +oCgrpc_chttp2_stream_list +oCgrpc_chttp2_stream_map +oCgrpc_chttp2_stream_parsing +oCgrpc_chttp2_stream_writing +oCgrpc_chttp2_transport +oCgrpc_chttp2_transport_global +oCgrpc_chttp2_transport_parsing +oCgrpc_chttp2_transport_writing +oCgrpc_chttp2_window_update_parser +oCgrpc_client_config +oCgrpc_client_security_context +oCgrpc_completion_queue +oCgrpc_composite_credentials +oCgrpc_composite_credentials_metadata_context +oCgrpc_compression_options +oCgrpc_connect_in_args +oCgrpc_connect_out_args +oCgrpc_connectivity_state_tracker +oCgrpc_connectivity_state_watcher +oCgrpc_connector +oCgrpc_connector_vtable +oCgrpc_cq_completion +oCgrpc_credentials +oCgrpc_credentials_array +oCgrpc_credentials_md +oCgrpc_credentials_md_store +oCgrpc_credentials_metadata_request +oCgrpc_credentials_vtable +oCgrpc_endpoint +oCgrpc_endpoint_pair +oCgrpc_endpoint_vtable +oCgrpc_eventThe result of an operation +oCgrpc_fake_channel_security_connector +oCgrpc_fd +oCgrpc_fd_watcher +oCgrpc_google_iam_credentials +oCgrpc_google_refresh_token_credentials +oCgrpc_httpcli_context +oCgrpc_httpcli_handshaker +oCgrpc_httpcli_header +oCgrpc_httpcli_parser +oCgrpc_httpcli_request +oCgrpc_httpcli_response +oCgrpc_httpcli_ssl_channel_security_connector +oCgrpc_iomgr_closureA closure over a grpc_iomgr_cb_func +oCgrpc_iomgr_object +oCgrpc_ioreq +oCgrpc_ioreq_data +oCgrpc_json +oCgrpc_json_reader +oCgrpc_json_reader_vtable +oCgrpc_json_writer +oCgrpc_json_writer_vtable +oCgrpc_jwt_claims +oCgrpc_jwt_verifier +oCgrpc_jwt_verifier_email_domain_key_url_mapping +oCgrpc_lb_policy +oCgrpc_lb_policy_vtable +oCgrpc_linked_mdelem +oCgrpc_md_only_test_credentials +oCgrpc_mdctx +oCgrpc_mdelem +oCgrpc_mdelem_list +oCgrpc_mdstr +oCgrpc_metadataA single metadata element +oCgrpc_metadata_array +oCgrpc_metadata_batch +oCgrpc_oauth2_token_fetcher_credentials +oCgrpc_opOperation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) +oCgrpc_plugin +oCgrpc_pollset +oCgrpc_pollset_set +oCgrpc_pollset_vtable +oCgrpc_pollset_worker +oCgrpc_resolved_address +oCgrpc_resolved_addresses +oCgrpc_resolverGrpc_resolver provides grpc_client_config objects to grpc_channel objects +oCgrpc_resolver_factoryGrpc_resolver provides grpc_client_config objects to grpc_channel objects +oCgrpc_resolver_factory_vtable +oCgrpc_resolver_vtable +oCgrpc_secure_transport_setup +oCgrpc_security_connector +oCgrpc_security_connector_vtable +oCgrpc_server +oCgrpc_server_credentials +oCgrpc_server_credentials_vtable +oCgrpc_server_secure_state +oCgrpc_server_security_context +oCgrpc_service_account_jwt_access_credentials +oCgrpc_ssl_channel_security_connector +oCgrpc_ssl_config +oCgrpc_ssl_credentials +oCgrpc_ssl_pem_key_cert_pair +oCgrpc_ssl_server_config +oCgrpc_ssl_server_credentials +oCgrpc_ssl_server_security_connector +oCgrpc_stream_op +oCgrpc_stream_op_bufferA stream op buffer is a wrapper around stream operations that is dynamically extendable +oCgrpc_subchannel +oCgrpc_subchannel_args +oCgrpc_subchannel_call +oCgrpc_subchannel_factoryConstructor for new configured channels +oCgrpc_subchannel_factory_vtable +oCgrpc_time_averaged_stats +oCgrpc_transport +oCgrpc_transport_opTransport op: a set of operations to perform on a transport as a whole +oCgrpc_transport_stream_op +oCgrpc_transport_vtable +oCgrpc_uri +oCgrpc_wakeup_fd +oCgrpc_wakeup_fd_vtable +oCgrpc_winsocket +oCgrpc_winsocket_callback_info +oChuff_out +oCinternal_metadata +oCinternal_request +oCinternal_string +oCjose_header +oCjson_reader_userdata +oCjson_writer_userdata +oClb_policy_connectivity_watcherWe create one watcher for each new lb_policy that is returned from a resolver, to watch for state changes from the lb_policy +oClistener +oClockfree_node +oClockfree_node_contents +oCmalloc_refcount +oCmerge_args_factory +oCnew_slice_refcount +oCnew_with_len_slice_refcount +oCon_done_closure +oCpending_pick +oCpick_first_lb_policy +oCplucker +oCreceived_status +oCregistered_call +oCregistered_method +oCreqinfo_master +oCrequest_matcher +oCrequested_call +oCsecure_endpoint +oCshard_type +oCshutdown_cleanup_args +oCshutdown_tag +oCsockaddr_resolver +oCstate_watcher +oCsubchannel_factory +oCtcp_endpoint_list +oCtracer +oCtsi_fake_frame +oCtsi_fake_frame_protector +oCtsi_fake_handshaker +oCtsi_frame_protector +oCtsi_frame_protector_vtable +oCtsi_handshaker +oCtsi_handshaker_vtable +oCtsi_peer +oCtsi_peer_property +oCtsi_ssl_client_handshaker_factory +oCtsi_ssl_frame_protector +oCtsi_ssl_handshaker +oCtsi_ssl_handshaker_factory +oCtsi_ssl_server_handshaker_factory +oCverifier_cb_ctx +oCwaiting_call +\Cwaiting_for_connect diff --git a/doc/ref/core.internal/html/atm_8h.html b/doc/ref/core.internal/html/atm_8h.html index b3ad30f705c..153ce448f20 100644 --- a/doc/ref/core.internal/html/atm_8h.html +++ b/doc/ref/core.internal/html/atm_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -94,7 +94,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/atm_8h_source.html b/doc/ref/core.internal/html/atm_8h_source.html index 7cfe4b08e23..df55815450f 100644 --- a/doc/ref/core.internal/html/atm_8h_source.html +++ b/doc/ref/core.internal/html/atm_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -179,7 +179,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    89 #error could not determine platform for atm
    90 #endif
    91 
    -
    92 #endif /* GRPC_SUPPORT_ATM_H */
    +
    92 #endif /* GRPC_SUPPORT_ATM_H */
    @@ -187,7 +187,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/atm__gcc__atomic_8h.html b/doc/ref/core.internal/html/atm__gcc__atomic_8h.html index fe86186f00a..0730013c378 100644 --- a/doc/ref/core.internal/html/atm__gcc__atomic_8h.html +++ b/doc/ref/core.internal/html/atm__gcc__atomic_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -285,7 +285,7 @@ Typedefs diff --git a/doc/ref/core.internal/html/atm__gcc__atomic_8h_source.html b/doc/ref/core.internal/html/atm__gcc__atomic_8h_source.html index ac370067f2c..f4fce8af14e 100644 --- a/doc/ref/core.internal/html/atm__gcc__atomic_8h_source.html +++ b/doc/ref/core.internal/html/atm__gcc__atomic_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -159,9 +159,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    69  __ATOMIC_RELAXED);
    70 }
    71 
    -
    72 #endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */
    +
    72 #endif /* GRPC_SUPPORT_ATM_GCC_ATOMIC_H */
    -
    intptr_t gpr_intptr
    Definition: port_platform.h:312
    +
    intptr_t gpr_intptr
    Definition: port_platform.h:315
    #define gpr_atm_acq_cas(p, o, n)
    Definition: atm_gcc_sync.h:84
    #define gpr_atm_no_barrier_cas(p, o, n)
    Definition: atm_gcc_sync.h:83
    #define gpr_atm_rel_cas(p, o, n)
    Definition: atm_gcc_sync.h:85
    @@ -169,7 +169,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/atm__gcc__sync_8h.html b/doc/ref/core.internal/html/atm__gcc__sync_8h.html index 80a174c5c0a..540f7560774 100644 --- a/doc/ref/core.internal/html/atm__gcc__sync_8h.html +++ b/doc/ref/core.internal/html/atm__gcc__sync_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -329,7 +329,7 @@ Typedefs diff --git a/doc/ref/core.internal/html/atm__gcc__sync_8h_source.html b/doc/ref/core.internal/html/atm__gcc__sync_8h_source.html index 94344f76f58..a04f8a22faf 100644 --- a/doc/ref/core.internal/html/atm__gcc__sync_8h_source.html +++ b/doc/ref/core.internal/html/atm__gcc__sync_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -174,10 +174,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    84 #define gpr_atm_acq_cas(p, o, n) (__sync_bool_compare_and_swap((p), (o), (n)))
    85 #define gpr_atm_rel_cas(p, o, n) gpr_atm_acq_cas((p), (o), (n))
    86 
    -
    87 #endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */
    +
    87 #endif /* GRPC_SUPPORT_ATM_GCC_SYNC_H */
    const char * value
    Definition: hpack_table.c:44
    -
    intptr_t gpr_intptr
    Definition: port_platform.h:312
    +
    intptr_t gpr_intptr
    Definition: port_platform.h:315
    #define GPR_ATM_LS_BARRIER_()
    Definition: atm_gcc_sync.h:49
    #define GPR_ATM_COMPILE_BARRIER_()
    Definition: atm_gcc_sync.h:43
    #define gpr_atm_acq_load(p)
    Definition: atm_gcc_atomic.h:45
    @@ -189,7 +189,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/atm__win32_8h.html b/doc/ref/core.internal/html/atm__win32_8h.html index fb6f677fd84..82bc31813cb 100644 --- a/doc/ref/core.internal/html/atm__win32_8h.html +++ b/doc/ref/core.internal/html/atm__win32_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -134,7 +134,7 @@ Typedefs diff --git a/doc/ref/core.internal/html/atm__win32_8h_source.html b/doc/ref/core.internal/html/atm__win32_8h_source.html index 905ef110213..d0d605226c9 100644 --- a/doc/ref/core.internal/html/atm__win32_8h_source.html +++ b/doc/ref/core.internal/html/atm__win32_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -156,31 +156,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    66 /* InterlockedCompareExchangePointerNoFence() not available on vista or
    67  windows7 */
    68 #ifdef GPR_ARCH_64
    -
    69  return o == (gpr_atm)InterlockedCompareExchangeAcquire64((volatile LONGLONG *) p,
    -
    70  (LONGLONG) n, (LONGLONG) o);
    +
    69  return o == (gpr_atm)InterlockedCompareExchangeAcquire64(
    +
    70  (volatile LONGLONG *)p, (LONGLONG)n, (LONGLONG)o);
    71 #else
    -
    72  return o == (gpr_atm)InterlockedCompareExchangeAcquire((volatile LONG *) p,
    -
    73  (LONG) n, (LONG) o);
    +
    72  return o == (gpr_atm)InterlockedCompareExchangeAcquire((volatile LONG *)p,
    +
    73  (LONG)n, (LONG)o);
    74 #endif
    75 }
    76 
    77 static __inline int gpr_atm_acq_cas(gpr_atm *p, gpr_atm o, gpr_atm n) {
    78 #ifdef GPR_ARCH_64
    -
    79  return o == (gpr_atm)InterlockedCompareExchangeAcquire64((volatile LONGLONG *) p,
    -
    80  (LONGLONG) n, (LONGLONG) o);
    +
    79  return o == (gpr_atm)InterlockedCompareExchangeAcquire64(
    +
    80  (volatile LONGLONG *)p, (LONGLONG)n, (LONGLONG)o);
    81 #else
    -
    82  return o == (gpr_atm)InterlockedCompareExchangeAcquire((volatile LONG *) p,
    -
    83  (LONG) n, (LONG) o);
    +
    82  return o == (gpr_atm)InterlockedCompareExchangeAcquire((volatile LONG *)p,
    +
    83  (LONG)n, (LONG)o);
    84 #endif
    85 }
    86 
    87 static __inline int gpr_atm_rel_cas(gpr_atm *p, gpr_atm o, gpr_atm n) {
    88 #ifdef GPR_ARCH_64
    -
    89  return o == (gpr_atm)InterlockedCompareExchangeRelease64((volatile LONGLONG *) p,
    -
    90  (LONGLONG) n, (LONGLONG) o);
    +
    89  return o == (gpr_atm)InterlockedCompareExchangeRelease64(
    +
    90  (volatile LONGLONG *)p, (LONGLONG)n, (LONGLONG)o);
    91 #else
    -
    92  return o == (gpr_atm)InterlockedCompareExchangeRelease((volatile LONG *) p,
    -
    93  (LONG) n, (LONG) o);
    +
    92  return o == (gpr_atm)InterlockedCompareExchangeRelease((volatile LONG *)p,
    +
    93  (LONG)n, (LONG)o);
    94 #endif
    95 }
    96 
    @@ -200,23 +200,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    110 #ifdef GPR_ARCH_64
    111  do {
    112  old = *p;
    -
    113  } while (old != (gpr_atm)InterlockedCompareExchange64((volatile LONGLONG *) p,
    -
    114  (LONGLONG) old + delta,
    -
    115  (LONGLONG) old));
    +
    113  } while (old != (gpr_atm)InterlockedCompareExchange64((volatile LONGLONG *)p,
    +
    114  (LONGLONG)old + delta,
    +
    115  (LONGLONG)old));
    116 #else
    117  do {
    118  old = *p;
    -
    119  } while (old != (gpr_atm)InterlockedCompareExchange((volatile LONG *) p,
    -
    120  (LONG) old + delta,
    -
    121  (LONG) old));
    -
    122 #endif
    -
    123  return old;
    -
    124 }
    -
    125 
    -
    126 #endif /* GRPC_SUPPORT_ATM_WIN32_H */
    +
    119  } while (old != (gpr_atm)InterlockedCompareExchange(
    +
    120  (volatile LONG *)p, (LONG)old + delta, (LONG)old));
    +
    121 #endif
    +
    122  return old;
    +
    123 }
    +
    124 
    +
    125 #endif /* GRPC_SUPPORT_ATM_WIN32_H */
    const char * value
    Definition: hpack_table.c:44
    -
    intptr_t gpr_intptr
    Definition: port_platform.h:312
    +
    intptr_t gpr_intptr
    Definition: port_platform.h:315
    #define gpr_atm_no_barrier_fetch_add(p, delta)
    Definition: atm_gcc_atomic.h:52
    #define gpr_atm_acq_load(p)
    Definition: atm_gcc_atomic.h:45
    #define gpr_atm_no_barrier_load(p)
    Definition: atm_gcc_atomic.h:46
    @@ -232,7 +231,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/auth__filters_8h.html b/doc/ref/core.internal/html/auth__filters_8h.html index 8bd3b1124ce..0803d951f2d 100644 --- a/doc/ref/core.internal/html/auth__filters_8h.html +++ b/doc/ref/core.internal/html/auth__filters_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -129,7 +129,7 @@ Variables diff --git a/doc/ref/core.internal/html/auth__filters_8h_source.html b/doc/ref/core.internal/html/auth__filters_8h_source.html index 2488272922a..5444beaf4a7 100644 --- a/doc/ref/core.internal/html/auth__filters_8h_source.html +++ b/doc/ref/core.internal/html/auth__filters_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -129,15 +129,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    39 extern const grpc_channel_filter grpc_client_auth_filter;
    40 extern const grpc_channel_filter grpc_server_auth_filter;
    41 
    -
    42 #endif /* GRPC_INTERNAL_CORE_SECURITY_AUTH_FILTERS_H */
    +
    42 #endif /* GRPC_INTERNAL_CORE_SECURITY_AUTH_FILTERS_H */
    Definition: channel_stack.h:64
    -
    const grpc_channel_filter grpc_client_auth_filter
    Definition: client_auth_filter.c:346
    -
    const grpc_channel_filter grpc_server_auth_filter
    Definition: server_auth_filter.c:122
    +
    const grpc_channel_filter grpc_client_auth_filter
    Definition: client_auth_filter.c:349
    +
    const grpc_channel_filter grpc_server_auth_filter
    Definition: server_auth_filter.c:265
    diff --git a/doc/ref/core.internal/html/base64_8c.html b/doc/ref/core.internal/html/base64_8c.html index e90fe234c3b..f44c2304829 100644 --- a/doc/ref/core.internal/html/base64_8c.html +++ b/doc/ref/core.internal/html/base64_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -266,7 +266,7 @@ Functions diff --git a/doc/ref/core.internal/html/base64_8h.html b/doc/ref/core.internal/html/base64_8h.html index 893c52b8023..1562b4f3e3c 100644 --- a/doc/ref/core.internal/html/base64_8h.html +++ b/doc/ref/core.internal/html/base64_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -203,7 +203,7 @@ Functions diff --git a/doc/ref/core.internal/html/base64_8h_source.html b/doc/ref/core.internal/html/base64_8h_source.html index de94bcc1def..6154067f29f 100644 --- a/doc/ref/core.internal/html/base64_8h_source.html +++ b/doc/ref/core.internal/html/base64_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -139,7 +139,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    49 gpr_slice grpc_base64_decode_with_len(const char *b64, size_t b64_len,
    50  int url_safe);
    51 
    -
    52 #endif /* GRPC_INTERNAL_CORE_SECURITY_BASE64_H */
    +
    52 #endif /* GRPC_INTERNAL_CORE_SECURITY_BASE64_H */
    gpr_slice grpc_base64_decode(const char *b64, int url_safe)
    Definition: base64.c:122
    gpr_slice grpc_base64_decode_with_len(const char *b64, size_t b64_len, int url_safe)
    Definition: base64.c:183
    @@ -148,7 +148,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/basic__timers_8c.html b/doc/ref/core.internal/html/basic__timers_8c.html index 78969d07d9b..a755ff914a5 100644 --- a/doc/ref/core.internal/html/basic__timers_8c.html +++ b/doc/ref/core.internal/html/basic__timers_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -135,7 +135,7 @@ Functions diff --git a/doc/ref/core.internal/html/bin__encoder_8c.html b/doc/ref/core.internal/html/bin__encoder_8c.html index ee0084324e8..26213809084 100644 --- a/doc/ref/core.internal/html/bin__encoder_8c.html +++ b/doc/ref/core.internal/html/bin__encoder_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -192,7 +192,7 @@ Functions diff --git a/doc/ref/core.internal/html/bin__encoder_8h.html b/doc/ref/core.internal/html/bin__encoder_8h.html index d71b52f6068..3c9e20ae1bb 100644 --- a/doc/ref/core.internal/html/bin__encoder_8h.html +++ b/doc/ref/core.internal/html/bin__encoder_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -183,7 +183,7 @@ Functions diff --git a/doc/ref/core.internal/html/bin__encoder_8h_source.html b/doc/ref/core.internal/html/bin__encoder_8h_source.html index 80f899abc9a..3bf60eb3d91 100644 --- a/doc/ref/core.internal/html/bin__encoder_8h_source.html +++ b/doc/ref/core.internal/html/bin__encoder_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -154,7 +154,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/byte__buffer_8c.html b/doc/ref/core.internal/html/byte__buffer_8c.html index 4389d60bbc5..e63a962991d 100644 --- a/doc/ref/core.internal/html/byte__buffer_8c.html +++ b/doc/ref/core.internal/html/byte__buffer_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -257,7 +257,7 @@ Functions diff --git a/doc/ref/core.internal/html/byte__buffer_8h.html b/doc/ref/core.internal/html/byte__buffer_8h.html index a3871f8b5a5..e99442b54fc 100644 --- a/doc/ref/core.internal/html/byte__buffer_8h.html +++ b/doc/ref/core.internal/html/byte__buffer_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -408,7 +408,7 @@ Functions diff --git a/doc/ref/core.internal/html/byte__buffer_8h_source.html b/doc/ref/core.internal/html/byte__buffer_8h_source.html index d4fbcf97f6f..64f4df2f424 100644 --- a/doc/ref/core.internal/html/byte__buffer_8h_source.html +++ b/doc/ref/core.internal/html/byte__buffer_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -137,54 +137,59 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    47 } grpc_byte_buffer_type;
    48 
    49 struct grpc_byte_buffer {
    -
    50  grpc_byte_buffer_type type;
    -
    51  union {
    -
    52  struct {
    -
    53  grpc_compression_algorithm compression;
    -
    54  gpr_slice_buffer slice_buffer;
    -
    55  } raw;
    -
    56  } data;
    -
    57 };
    -
    58 typedef struct grpc_byte_buffer grpc_byte_buffer;
    -
    59 
    -
    64 grpc_byte_buffer *grpc_raw_byte_buffer_create(gpr_slice *slices,
    -
    65  size_t nslices);
    -
    66 
    -
    73 grpc_byte_buffer *grpc_raw_compressed_byte_buffer_create(
    -
    74  gpr_slice *slices, size_t nslices, grpc_compression_algorithm compression);
    -
    75 
    -
    80 grpc_byte_buffer *grpc_byte_buffer_copy(grpc_byte_buffer *bb);
    -
    81 
    -
    83 size_t grpc_byte_buffer_length(grpc_byte_buffer *bb);
    -
    84 
    -
    86 void grpc_byte_buffer_destroy(grpc_byte_buffer *byte_buffer);
    -
    87 
    -
    89 struct grpc_byte_buffer_reader;
    -
    90 typedef struct grpc_byte_buffer_reader grpc_byte_buffer_reader;
    +
    50  void *reserved;
    +
    51  grpc_byte_buffer_type type;
    +
    52  union {
    +
    53  struct {
    +
    54  void *reserved[8];
    +
    55  } reserved;
    +
    56  struct {
    +
    57  grpc_compression_algorithm compression;
    +
    58  gpr_slice_buffer slice_buffer;
    +
    59  } raw;
    +
    60  } data;
    +
    61 };
    +
    62 typedef struct grpc_byte_buffer grpc_byte_buffer;
    +
    63 
    +
    68 grpc_byte_buffer *grpc_raw_byte_buffer_create(gpr_slice *slices,
    +
    69  size_t nslices);
    +
    70 
    +
    77 grpc_byte_buffer *grpc_raw_compressed_byte_buffer_create(
    +
    78  gpr_slice *slices, size_t nslices, grpc_compression_algorithm compression);
    +
    79 
    +
    84 grpc_byte_buffer *grpc_byte_buffer_copy(grpc_byte_buffer *bb);
    +
    85 
    +
    87 size_t grpc_byte_buffer_length(grpc_byte_buffer *bb);
    +
    88 
    +
    90 void grpc_byte_buffer_destroy(grpc_byte_buffer *byte_buffer);
    91 
    -
    93 void grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader,
    -
    94  grpc_byte_buffer *buffer);
    +
    93 struct grpc_byte_buffer_reader;
    +
    94 typedef struct grpc_byte_buffer_reader grpc_byte_buffer_reader;
    95 
    -
    97 void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader);
    -
    98 
    -
    102 int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader,
    -
    103  gpr_slice *slice);
    -
    104 
    -
    106 grpc_byte_buffer *grpc_raw_byte_buffer_from_reader(
    -
    107  grpc_byte_buffer_reader *reader);
    +
    97 void grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader,
    +
    98  grpc_byte_buffer *buffer);
    +
    99 
    +
    101 void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader);
    +
    102 
    +
    106 int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader,
    +
    107  gpr_slice *slice);
    108 
    -
    109 #ifdef __cplusplus
    -
    110 }
    -
    111 #endif
    -
    112 
    -
    113 #endif /* GRPC_BYTE_BUFFER_H */
    +
    110 grpc_byte_buffer *grpc_raw_byte_buffer_from_reader(
    +
    111  grpc_byte_buffer_reader *reader);
    +
    112 
    +
    113 #ifdef __cplusplus
    +
    114 }
    +
    115 #endif
    +
    116 
    +
    117 #endif /* GRPC_BYTE_BUFFER_H */
    -
    grpc_compression_algorithm
    Definition: compression.h:45
    +
    grpc_compression_algorithm
    Definition: compression.h:50
    int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, gpr_slice *slice)
    Updates slice with the next piece of data from from reader and returns.
    Definition: byte_buffer_reader.c:90
    union grpc_byte_buffer::@0 data
    void grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
    Initialize reader to read over buffer.
    Definition: byte_buffer_reader.c:56
    -
    gpr_slice_buffer slice_buffer
    Definition: byte_buffer.h:54
    -
    grpc_byte_buffer_type type
    Definition: byte_buffer.h:50
    +
    gpr_slice_buffer slice_buffer
    Definition: byte_buffer.h:58
    +
    void * reserved
    Definition: byte_buffer.h:50
    +
    grpc_byte_buffer_type type
    Definition: byte_buffer.h:51
    Definition: byte_buffer.h:49
    Definition: slice_buffer.h:48
    Definition: byte_buffer.h:45
    @@ -192,11 +197,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    void grpc_byte_buffer_destroy(grpc_byte_buffer *byte_buffer)
    Destroys byte_buffer deallocating all its memory.
    Definition: byte_buffer.c:83
    grpc_byte_buffer * grpc_raw_compressed_byte_buffer_create(gpr_slice *slices, size_t nslices, grpc_compression_algorithm compression)
    Returns a compressed RAW byte buffer instance over the given slices (up to nslices).
    Definition: byte_buffer.c:44
    grpc_byte_buffer * grpc_raw_byte_buffer_from_reader(grpc_byte_buffer_reader *reader)
    Returns a RAW byte buffer instance from the output of reader.
    Definition: byte_buffer.c:58
    -
    struct grpc_byte_buffer::@0::@1 raw
    -
    grpc_compression_algorithm compression
    Definition: byte_buffer.h:53
    +
    grpc_compression_algorithm compression
    Definition: byte_buffer.h:57
    void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader)
    Cleanup and destroy reader.
    Definition: byte_buffer_reader.c:79
    size_t grpc_byte_buffer_length(grpc_byte_buffer *bb)
    Returns the size of the given byte buffer, in bytes.
    Definition: byte_buffer.c:93
    +
    struct grpc_byte_buffer::@0::@2 raw
    grpc_byte_buffer * grpc_raw_byte_buffer_create(gpr_slice *slices, size_t nslices)
    Returns a RAW byte buffer instance over the given slices (up to nslices).
    Definition: byte_buffer.c:38
    Definition: byte_buffer_reader.h:44
    Definition: slice.h:79
    @@ -204,7 +209,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/byte__buffer__queue_8c.html b/doc/ref/core.internal/html/byte__buffer__queue_8c.html index 44b76ee8076..3a15e6c6397 100644 --- a/doc/ref/core.internal/html/byte__buffer__queue_8c.html +++ b/doc/ref/core.internal/html/byte__buffer__queue_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -219,7 +219,7 @@ Functions diff --git a/doc/ref/core.internal/html/byte__buffer__queue_8h.html b/doc/ref/core.internal/html/byte__buffer__queue_8h.html index ea55c37e09d..2b6904f009b 100644 --- a/doc/ref/core.internal/html/byte__buffer__queue_8h.html +++ b/doc/ref/core.internal/html/byte__buffer__queue_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -227,7 +227,7 @@ Functions diff --git a/doc/ref/core.internal/html/byte__buffer__queue_8h_source.html b/doc/ref/core.internal/html/byte__buffer__queue_8h_source.html index 12d0d9eb200..fa0746bde7b 100644 --- a/doc/ref/core.internal/html/byte__buffer__queue_8h_source.html +++ b/doc/ref/core.internal/html/byte__buffer__queue_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -149,7 +149,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    59 void grpc_bbq_push(grpc_byte_buffer_queue *q, grpc_byte_buffer *bb);
    60 size_t grpc_bbq_bytes(grpc_byte_buffer_queue *q);
    61 
    -
    62 #endif /* GRPC_INTERNAL_CORE_SURFACE_BYTE_BUFFER_QUEUE_H */
    +
    62 #endif /* GRPC_INTERNAL_CORE_SURFACE_BYTE_BUFFER_QUEUE_H */
    Definition: byte_buffer_queue.h:48
    size_t count
    Definition: byte_buffer_queue.h:43
    @@ -170,7 +170,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/byte__buffer__reader_8c.html b/doc/ref/core.internal/html/byte__buffer__reader_8c.html index 4095b36851e..9912178a47a 100644 --- a/doc/ref/core.internal/html/byte__buffer__reader_8c.html +++ b/doc/ref/core.internal/html/byte__buffer__reader_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -192,7 +192,7 @@ Functions diff --git a/doc/ref/core.internal/html/byte__buffer__reader_8h.html b/doc/ref/core.internal/html/byte__buffer__reader_8h.html index 7aedcc52384..0b9bc5b2491 100644 --- a/doc/ref/core.internal/html/byte__buffer__reader_8h.html +++ b/doc/ref/core.internal/html/byte__buffer__reader_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -103,7 +103,7 @@ Data Structures diff --git a/doc/ref/core.internal/html/byte__buffer__reader_8h_source.html b/doc/ref/core.internal/html/byte__buffer__reader_8h_source.html index cb98285b546..9cf8e9292fe 100644 --- a/doc/ref/core.internal/html/byte__buffer__reader_8h_source.html +++ b/doc/ref/core.internal/html/byte__buffer__reader_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -138,7 +138,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    48  union {
    49  /* Index into a slice buffer's array of slices */
    50  unsigned index;
    -
    51  } current;
    +
    51  } current;
    52 };
    53 
    54 #ifdef __cplusplus
    @@ -147,17 +147,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    57 
    58 #endif /* GRPC_BYTE_BUFFER_READER_H */
    +
    union grpc_byte_buffer_reader::@3 current
    grpc_byte_buffer * buffer_out
    Definition: byte_buffer_reader.h:46
    Definition: byte_buffer.h:49
    unsigned index
    Definition: byte_buffer_reader.h:50
    -
    union grpc_byte_buffer_reader::@2 current
    grpc_byte_buffer * buffer_in
    Definition: byte_buffer_reader.h:45
    Definition: byte_buffer_reader.h:44
    diff --git a/doc/ref/core.internal/html/call_8c.html b/doc/ref/core.internal/html/call_8c.html index 6150b09518c..8dbc42718f9 100644 --- a/doc/ref/core.internal/html/call_8c.html +++ b/doc/ref/core.internal/html/call_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -101,6 +101,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include <grpc/support/alloc.h>
    #include <grpc/support/log.h>
    #include <grpc/support/string_util.h>
    +#include <grpc/support/useful.h>
    #include "src/core/channel/channel_stack.h"
    #include "src/core/iomgr/alarm.h"
    #include "src/core/profiling/timers.h"
    @@ -189,8 +190,8 @@ Enumerations - - + + @@ -201,17 +202,22 @@ Functions + + + + + - - - - - - + + + + + + @@ -219,9 +225,9 @@ Functions - - - + + + @@ -503,7 +509,7 @@ Functions

    Function Documentation

    - +

    Functions

    grpc_callgrpc_call_create (grpc_channel *channel, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
     
    grpc_callgrpc_call_create (grpc_channel *channel, grpc_call *parent_call, gpr_uint32 propagation_mask, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
     
    void grpc_call_set_completion_queue (grpc_call *call, grpc_completion_queue *cq)
     
    grpc_completion_queuegrpc_call_get_completion_queue (grpc_call *call)
     
    grpc_compression_algorithm grpc_call_get_compression_algorithm (const grpc_call *call)
     
    gpr_uint32 grpc_call_get_encodings_accepted_by_peer (grpc_call *call)
     Returns a bitset for the encodings (compression algorithms) supported by call's peer. More...
     
    gpr_uint32 grpc_call_get_message_flags (const grpc_call *call)
     
    grpc_call_error grpc_call_start_ioreq_and_call_back (grpc_call *call, const grpc_ioreq *reqs, size_t nreqs, grpc_ioreq_completion_func on_complete, void *user_data)
     
    void grpc_call_destroy (grpc_call *c)
     Destroy a call. More...
     
    grpc_call_error grpc_call_cancel (grpc_call *call)
     Called by clients to cancel an RPC on the server. More...
     
    grpc_call_error grpc_call_cancel_with_status (grpc_call *c, grpc_status_code status, const char *description)
     Called by clients to cancel an RPC on the server. More...
     
    grpc_call_error grpc_call_cancel (grpc_call *call, void *reserved)
     Called by clients to cancel an RPC on the server. More...
     
    grpc_call_error grpc_call_cancel_with_status (grpc_call *c, grpc_status_code status, const char *description, void *reserved)
     Called by clients to cancel an RPC on the server. More...
     
    char * grpc_call_get_peer (grpc_call *call)
     Returns a newly allocated string representing the endpoint to which this call is communicating with. More...
     
     
    grpc_call_stackgrpc_call_get_call_stack (grpc_call *call)
     
    grpc_call_error grpc_call_start_batch (grpc_call *call, const grpc_op *ops, size_t nops, void *tag)
     Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' to the completion queue bound to the call. More...
     
    grpc_call_error grpc_call_start_batch (grpc_call *call, const grpc_op *ops, size_t nops, void *tag, void *reserved)
     Start a batch of operations defined in the array ops; when complete, post a completion of type 'tag' to the completion queue bound to the call. More...
     
    void grpc_call_context_set (grpc_call *call, grpc_context_index elem, void *value, void(*destroy)(void *value))
     
    void * grpc_call_context_get (grpc_call *call, grpc_context_index elem)
    @@ -511,8 +517,18 @@ Functions - + + + + + + + + + + +
    grpc_call_error grpc_call_cancel ( grpc_callcall)call,
    void * reserved 
    )
    @@ -522,7 +538,7 @@ Functions
    - +
    @@ -542,7 +558,13 @@ Functions - + + + + + + + @@ -621,7 +643,7 @@ Functions - +
    const char * description description,
    void * reserved 
    @@ -631,6 +653,18 @@ Functions + + + + + + + + + + + + @@ -752,6 +786,41 @@ Functions
    grpc_channel channel,
    grpc_callparent_call,
    gpr_uint32 propagation_mask,
    +
    +
    + +
    +
    + + + + + + + + +
    gpr_uint32 grpc_call_get_encodings_accepted_by_peer (grpc_callcall)
    +
    + +

    Returns a bitset for the encodings (compression algorithms) supported by call's peer.

    +

    To be indexed by grpc_compression_algorithm enum values.

    + +
    +
    + +
    +
    + + + + + + + + +
    gpr_uint32 grpc_call_get_message_flags (const grpc_callcall)
    +
    +
    @@ -858,7 +927,7 @@ Functions - +
    @@ -884,7 +953,13 @@ Functions - + + + + + + + @@ -946,7 +1021,7 @@ Functions diff --git a/doc/ref/core.internal/html/call_8h.html b/doc/ref/core.internal/html/call_8h.html index f4c86dbf842..98c631cfadf 100644 --- a/doc/ref/core.internal/html/call_8h.html +++ b/doc/ref/core.internal/html/call_8h.html @@ -23,7 +23,7 @@ @@ -149,8 +149,8 @@ Enumerations
    void * tag tag,
    void * reserved 
    GRPC Core -  0.10.0.0 +  0.11.0.0
    - - + + @@ -177,6 +177,13 @@ Functions + + + + + + +

    Functions

    grpc_callgrpc_call_create (grpc_channel *channel, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
     
    grpc_callgrpc_call_create (grpc_channel *channel, grpc_call *parent_call, gpr_uint32 propagation_mask, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
     
    void grpc_call_set_completion_queue (grpc_call *call, grpc_completion_queue *cq)
     
    grpc_completion_queuegrpc_call_get_completion_queue (grpc_call *call)
     
    gpr_uint8 grpc_call_is_client (grpc_call *call)
     
    grpc_compression_algorithm grpc_call_get_compression_algorithm (const grpc_call *call)
     
    gpr_uint32 grpc_call_get_message_flags (const grpc_call *call)
     
    gpr_uint32 grpc_call_get_encodings_accepted_by_peer (grpc_call *call)
     Returns a bitset for the encodings (compression algorithms) supported by call's peer. More...
     
    @@ -348,7 +355,7 @@ VariablesValue:
    grpc_server_log_request_call(sev, server, call, details, initial_metadata, \
    cq_bound_to_call, cq_for_notifications, tag)
    -
    void grpc_server_log_request_call(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_call **call, grpc_call_details *details, grpc_metadata_array *initial_metadata, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag)
    Definition: call_log_batch.c:124
    +
    void grpc_server_log_request_call(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_call **call, grpc_call_details *details, grpc_metadata_array *initial_metadata, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag)
    Definition: call_log_batch.c:125
    int grpc_trace_batch
    Definition: call_log_batch.c:40
    @@ -508,7 +515,7 @@ Variables - +

    Variables

    @@ -518,6 +525,18 @@ Variables + + + + + + + + + + + + @@ -604,6 +623,57 @@ Variables
    grpc_channel channel,
    grpc_callparent_call,
    gpr_uint32 propagation_mask,
    +
    +
    + +
    +
    + + + + + + + + +
    grpc_compression_algorithm grpc_call_get_compression_algorithm (const grpc_callcall)
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    gpr_uint32 grpc_call_get_encodings_accepted_by_peer (grpc_callcall)
    +
    + +

    Returns a bitset for the encodings (compression algorithms) supported by call's peer.

    +

    To be indexed by grpc_compression_algorithm enum values.

    + +
    +
    + +
    +
    + + + + + + + + +
    gpr_uint32 grpc_call_get_message_flags (const grpc_callcall)
    +
    +
    @@ -930,7 +1000,7 @@ Variables diff --git a/doc/ref/core.internal/html/call_8h_source.html b/doc/ref/core.internal/html/call_8h_source.html index 0ea32c40a1b..b52940e4b80 100644 --- a/doc/ref/core.internal/html/call_8h_source.html +++ b/doc/ref/core.internal/html/call_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -128,201 +128,222 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    38 #include "src/core/channel/context.h"
    39 #include <grpc/grpc.h>
    40 
    -
    41 /* Primitive operation types - grpc_op's get rewritten into these */
    -
    42 typedef enum {
    -
    43  GRPC_IOREQ_RECV_INITIAL_METADATA,
    -
    44  GRPC_IOREQ_RECV_MESSAGE,
    -
    45  GRPC_IOREQ_RECV_TRAILING_METADATA,
    -
    46  GRPC_IOREQ_RECV_STATUS,
    -
    47  GRPC_IOREQ_RECV_STATUS_DETAILS,
    -
    48  GRPC_IOREQ_RECV_CLOSE,
    -
    49  GRPC_IOREQ_SEND_INITIAL_METADATA,
    -
    50  GRPC_IOREQ_SEND_MESSAGE,
    -
    51  GRPC_IOREQ_SEND_TRAILING_METADATA,
    -
    52  GRPC_IOREQ_SEND_STATUS,
    -
    53  GRPC_IOREQ_SEND_CLOSE,
    -
    54  GRPC_IOREQ_OP_COUNT
    -
    55 } grpc_ioreq_op;
    -
    56 
    -
    57 typedef union {
    -
    58  grpc_metadata_array *recv_metadata;
    -
    59  grpc_byte_buffer **recv_message;
    -
    60  struct {
    -
    61  void (*set_value)(grpc_status_code status, void *user_data);
    -
    62  void *user_data;
    -
    63  } recv_status;
    +
    41 #ifdef __cplusplus
    +
    42 extern "C" {
    +
    43 #endif
    +
    44 
    +
    45 /* Primitive operation types - grpc_op's get rewritten into these */
    +
    46 typedef enum {
    +
    47  GRPC_IOREQ_RECV_INITIAL_METADATA,
    +
    48  GRPC_IOREQ_RECV_MESSAGE,
    +
    49  GRPC_IOREQ_RECV_TRAILING_METADATA,
    +
    50  GRPC_IOREQ_RECV_STATUS,
    +
    51  GRPC_IOREQ_RECV_STATUS_DETAILS,
    +
    52  GRPC_IOREQ_RECV_CLOSE,
    +
    53  GRPC_IOREQ_SEND_INITIAL_METADATA,
    +
    54  GRPC_IOREQ_SEND_MESSAGE,
    +
    55  GRPC_IOREQ_SEND_TRAILING_METADATA,
    +
    56  GRPC_IOREQ_SEND_STATUS,
    +
    57  GRPC_IOREQ_SEND_CLOSE,
    +
    58  GRPC_IOREQ_OP_COUNT
    +
    59 } grpc_ioreq_op;
    +
    60 
    +
    61 typedef union {
    +
    62  grpc_metadata_array *recv_metadata;
    +
    63  grpc_byte_buffer **recv_message;
    64  struct {
    -
    65  char **details;
    -
    66  size_t *details_capacity;
    -
    67  } recv_status_details;
    +
    65  void (*set_value)(grpc_status_code status, void *user_data);
    +
    66  void *user_data;
    +
    67  } recv_status;
    68  struct {
    -
    69  size_t count;
    -
    70  grpc_metadata *metadata;
    -
    71  } send_metadata;
    -
    72  grpc_byte_buffer *send_message;
    -
    73  struct {
    -
    74  grpc_status_code code;
    -
    75  grpc_mdstr *details;
    -
    76  } send_status;
    -
    77 } grpc_ioreq_data;
    -
    78 
    -
    79 typedef struct {
    -
    80  grpc_ioreq_op op;
    -
    81  gpr_uint32 flags;
    -
    82  grpc_ioreq_data data;
    -
    83 } grpc_ioreq;
    -
    84 
    -
    85 typedef void (*grpc_ioreq_completion_func)(grpc_call *call, int success,
    -
    86  void *user_data);
    -
    87 
    -
    88 grpc_call *grpc_call_create(grpc_channel *channel, grpc_completion_queue *cq,
    -
    89  const void *server_transport_data,
    -
    90  grpc_mdelem **add_initial_metadata,
    -
    91  size_t add_initial_metadata_count,
    -
    92  gpr_timespec send_deadline);
    -
    93 
    -
    94 void grpc_call_set_completion_queue(grpc_call *call, grpc_completion_queue *cq);
    -
    95 grpc_completion_queue *grpc_call_get_completion_queue(grpc_call *call);
    -
    96 
    -
    97 #ifdef GRPC_CALL_REF_COUNT_DEBUG
    -
    98 void grpc_call_internal_ref(grpc_call *call, const char *reason);
    -
    99 void grpc_call_internal_unref(grpc_call *call, const char *reason,
    -
    100  int allow_immediate_deletion);
    -
    101 #define GRPC_CALL_INTERNAL_REF(call, reason) \
    -
    102  grpc_call_internal_ref(call, reason)
    -
    103 #define GRPC_CALL_INTERNAL_UNREF(call, reason, allow_immediate_deletion) \
    -
    104  grpc_call_internal_unref(call, reason, allow_immediate_deletion)
    -
    105 #else
    -
    106 void grpc_call_internal_ref(grpc_call *call);
    -
    107 void grpc_call_internal_unref(grpc_call *call, int allow_immediate_deletion);
    -
    108 #define GRPC_CALL_INTERNAL_REF(call, reason) grpc_call_internal_ref(call)
    -
    109 #define GRPC_CALL_INTERNAL_UNREF(call, reason, allow_immediate_deletion) \
    -
    110  grpc_call_internal_unref(call, allow_immediate_deletion)
    -
    111 #endif
    -
    112 
    -
    113 grpc_call_error grpc_call_start_ioreq_and_call_back(
    -
    114  grpc_call *call, const grpc_ioreq *reqs, size_t nreqs,
    -
    115  grpc_ioreq_completion_func on_complete, void *user_data);
    -
    116 
    -
    117 grpc_call_stack *grpc_call_get_call_stack(grpc_call *call);
    -
    118 
    -
    119 /* Given the top call_element, get the call object. */
    -
    120 grpc_call *grpc_call_from_top_element(grpc_call_element *surface_element);
    -
    121 
    -
    122 extern int grpc_trace_batch;
    -
    123 
    -
    124 void grpc_call_log_batch(char *file, int line, gpr_log_severity severity,
    -
    125  grpc_call *call, const grpc_op *ops, size_t nops,
    -
    126  void *tag);
    +
    69  char **details;
    +
    70  size_t *details_capacity;
    +
    71  } recv_status_details;
    +
    72  struct {
    +
    73  size_t count;
    +
    74  grpc_metadata *metadata;
    +
    75  } send_metadata;
    +
    76  grpc_byte_buffer *send_message;
    +
    77  struct {
    +
    78  grpc_status_code code;
    +
    79  grpc_mdstr *details;
    +
    80  } send_status;
    +
    81 } grpc_ioreq_data;
    +
    82 
    +
    83 typedef struct {
    +
    84  grpc_ioreq_op op;
    +
    85  gpr_uint32 flags;
    +
    86  grpc_ioreq_data data;
    +
    87 } grpc_ioreq;
    +
    88 
    +
    89 typedef void (*grpc_ioreq_completion_func)(grpc_call *call, int success,
    +
    90  void *user_data);
    +
    91 
    +
    92 grpc_call *grpc_call_create(grpc_channel *channel, grpc_call *parent_call,
    +
    93  gpr_uint32 propagation_mask,
    +
    94  grpc_completion_queue *cq,
    +
    95  const void *server_transport_data,
    +
    96  grpc_mdelem **add_initial_metadata,
    +
    97  size_t add_initial_metadata_count,
    +
    98  gpr_timespec send_deadline);
    +
    99 
    +
    100 void grpc_call_set_completion_queue(grpc_call *call, grpc_completion_queue *cq);
    +
    101 grpc_completion_queue *grpc_call_get_completion_queue(grpc_call *call);
    +
    102 
    +
    103 #ifdef GRPC_CALL_REF_COUNT_DEBUG
    +
    104 void grpc_call_internal_ref(grpc_call *call, const char *reason);
    +
    105 void grpc_call_internal_unref(grpc_call *call, const char *reason,
    +
    106  int allow_immediate_deletion);
    +
    107 #define GRPC_CALL_INTERNAL_REF(call, reason) \
    +
    108  grpc_call_internal_ref(call, reason)
    +
    109 #define GRPC_CALL_INTERNAL_UNREF(call, reason, allow_immediate_deletion) \
    +
    110  grpc_call_internal_unref(call, reason, allow_immediate_deletion)
    +
    111 #else
    +
    112 void grpc_call_internal_ref(grpc_call *call);
    +
    113 void grpc_call_internal_unref(grpc_call *call, int allow_immediate_deletion);
    +
    114 #define GRPC_CALL_INTERNAL_REF(call, reason) grpc_call_internal_ref(call)
    +
    115 #define GRPC_CALL_INTERNAL_UNREF(call, reason, allow_immediate_deletion) \
    +
    116  grpc_call_internal_unref(call, allow_immediate_deletion)
    +
    117 #endif
    +
    118 
    +
    119 grpc_call_error grpc_call_start_ioreq_and_call_back(
    +
    120  grpc_call *call, const grpc_ioreq *reqs, size_t nreqs,
    +
    121  grpc_ioreq_completion_func on_complete, void *user_data);
    +
    122 
    +
    123 grpc_call_stack *grpc_call_get_call_stack(grpc_call *call);
    +
    124 
    +
    125 /* Given the top call_element, get the call object. */
    +
    126 grpc_call *grpc_call_from_top_element(grpc_call_element *surface_element);
    127 
    -
    128 void grpc_server_log_request_call(char *file, int line,
    -
    129  gpr_log_severity severity,
    -
    130  grpc_server *server, grpc_call **call,
    -
    131  grpc_call_details *details,
    -
    132  grpc_metadata_array *initial_metadata,
    -
    133  grpc_completion_queue *cq_bound_to_call,
    -
    134  grpc_completion_queue *cq_for_notification,
    -
    135  void *tag);
    -
    136 
    -
    137 void grpc_server_log_shutdown(char *file, int line, gpr_log_severity severity,
    -
    138  grpc_server *server, grpc_completion_queue *cq,
    -
    139  void *tag);
    -
    140 
    -
    141 /* Set a context pointer.
    -
    142  No thread safety guarantees are made wrt this value. */
    -
    143 void grpc_call_context_set(grpc_call *call, grpc_context_index elem,
    -
    144  void *value, void (*destroy)(void *value));
    -
    145 /* Get a context pointer. */
    -
    146 void *grpc_call_context_get(grpc_call *call, grpc_context_index elem);
    -
    147 
    -
    148 #define GRPC_CALL_LOG_BATCH(sev, call, ops, nops, tag) \
    -
    149  if (grpc_trace_batch) grpc_call_log_batch(sev, call, ops, nops, tag)
    -
    150 
    -
    151 #define GRPC_SERVER_LOG_REQUEST_CALL(sev, server, call, details, \
    -
    152  initial_metadata, cq_bound_to_call, \
    -
    153  cq_for_notifications, tag) \
    -
    154  if (grpc_trace_batch) \
    -
    155  grpc_server_log_request_call(sev, server, call, details, initial_metadata, \
    -
    156  cq_bound_to_call, cq_for_notifications, tag)
    -
    157 
    -
    158 #define GRPC_SERVER_LOG_SHUTDOWN(sev, server, cq, tag) \
    -
    159  if (grpc_trace_batch) grpc_server_log_shutdown(sev, server, cq, tag)
    -
    160 
    -
    161 gpr_uint8 grpc_call_is_client(grpc_call *call);
    -
    162 
    -
    163 #endif /* GRPC_INTERNAL_CORE_SURFACE_CALL_H */
    -
    Definition: call.h:52
    +
    128 extern int grpc_trace_batch;
    +
    129 
    +
    130 void grpc_call_log_batch(char *file, int line, gpr_log_severity severity,
    +
    131  grpc_call *call, const grpc_op *ops, size_t nops,
    +
    132  void *tag);
    +
    133 
    +
    134 void grpc_server_log_request_call(char *file, int line,
    +
    135  gpr_log_severity severity,
    +
    136  grpc_server *server, grpc_call **call,
    +
    137  grpc_call_details *details,
    +
    138  grpc_metadata_array *initial_metadata,
    +
    139  grpc_completion_queue *cq_bound_to_call,
    +
    140  grpc_completion_queue *cq_for_notification,
    +
    141  void *tag);
    +
    142 
    +
    143 void grpc_server_log_shutdown(char *file, int line, gpr_log_severity severity,
    +
    144  grpc_server *server, grpc_completion_queue *cq,
    +
    145  void *tag);
    +
    146 
    +
    147 /* Set a context pointer.
    +
    148  No thread safety guarantees are made wrt this value. */
    +
    149 void grpc_call_context_set(grpc_call *call, grpc_context_index elem,
    +
    150  void *value, void (*destroy)(void *value));
    +
    151 /* Get a context pointer. */
    +
    152 void *grpc_call_context_get(grpc_call *call, grpc_context_index elem);
    +
    153 
    +
    154 #define GRPC_CALL_LOG_BATCH(sev, call, ops, nops, tag) \
    +
    155  if (grpc_trace_batch) grpc_call_log_batch(sev, call, ops, nops, tag)
    +
    156 
    +
    157 #define GRPC_SERVER_LOG_REQUEST_CALL(sev, server, call, details, \
    +
    158  initial_metadata, cq_bound_to_call, \
    +
    159  cq_for_notifications, tag) \
    +
    160  if (grpc_trace_batch) \
    +
    161  grpc_server_log_request_call(sev, server, call, details, initial_metadata, \
    +
    162  cq_bound_to_call, cq_for_notifications, tag)
    +
    163 
    +
    164 #define GRPC_SERVER_LOG_SHUTDOWN(sev, server, cq, tag) \
    +
    165  if (grpc_trace_batch) grpc_server_log_shutdown(sev, server, cq, tag)
    +
    166 
    +
    167 gpr_uint8 grpc_call_is_client(grpc_call *call);
    +
    168 
    +
    169 grpc_compression_algorithm grpc_call_get_compression_algorithm(
    +
    170  const grpc_call *call);
    +
    171 
    +
    172 gpr_uint32 grpc_call_get_message_flags(const grpc_call *call);
    +
    173 
    +
    178 gpr_uint32 grpc_call_get_encodings_accepted_by_peer(grpc_call *call);
    +
    179 
    +
    180 #ifdef __cplusplus
    +
    181 }
    +
    182 #endif
    +
    183 
    +
    184 #endif /* GRPC_INTERNAL_CORE_SURFACE_CALL_H */
    +
    Definition: call.h:56
    const char * value
    Definition: hpack_table.c:44
    -
    grpc_call * grpc_call_create(grpc_channel *channel, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
    Definition: call.c:293
    -
    void grpc_server_log_shutdown(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_completion_queue *cq, void *tag)
    Definition: call_log_batch.c:140
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    -
    Definition: call.h:54
    -
    Definition: call.h:57
    -
    Definition: channel.c:61
    -
    Definition: call.h:45
    -
    size_t * details_capacity
    Definition: call.h:66
    -
    Definition: call.h:46
    +
    void grpc_server_log_shutdown(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_completion_queue *cq, void *tag)
    Definition: call_log_batch.c:141
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    +
    Definition: call.h:58
    +
    Definition: call.h:61
    +
    grpc_compression_algorithm
    Definition: compression.h:50
    +
    Definition: channel.c:62
    +
    Definition: call.h:49
    +
    size_t * details_capacity
    Definition: call.h:70
    +
    Definition: call.h:50
    +
    gpr_uint32 grpc_call_get_message_flags(const grpc_call *call)
    Definition: call.c:576
    Definition: metadata.h:70
    -
    void * grpc_call_context_get(grpc_call *call, grpc_context_index elem)
    Definition: call.c:1583
    -
    Definition: grpc.h:244
    +
    void * grpc_call_context_get(grpc_call *call, grpc_context_index elem)
    Definition: call.c:1743
    +
    Definition: grpc.h:254
    Definition: byte_buffer.h:49
    -
    Definition: grpc.h:235
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    -
    grpc_ioreq_op op
    Definition: call.h:80
    -
    void(* grpc_ioreq_completion_func)(grpc_call *call, int success, void *user_data)
    Definition: call.h:85
    -
    size_t count
    Definition: call.h:69
    +
    Definition: grpc.h:245
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    +
    grpc_ioreq_op op
    Definition: call.h:84
    +
    void(* grpc_ioreq_completion_func)(grpc_call *call, int success, void *user_data)
    Definition: call.h:89
    +
    size_t count
    Definition: call.h:73
    gpr_log_severity
    Definition: log.h:56
    -
    void grpc_server_log_request_call(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_call **call, grpc_call_details *details, grpc_metadata_array *initial_metadata, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag)
    Definition: call_log_batch.c:124
    -
    grpc_call_error grpc_call_start_ioreq_and_call_back(grpc_call *call, const grpc_ioreq *reqs, size_t nreqs, grpc_ioreq_completion_func on_complete, void *user_data)
    Definition: call.c:1167
    -
    Definition: call.h:47
    -
    grpc_call_error
    Result of a grpc call.
    Definition: grpc.h:156
    -
    grpc_status_code code
    Definition: call.h:74
    -
    grpc_metadata * metadata
    Definition: call.h:70
    -
    char ** details
    Definition: call.h:65
    -
    grpc_call_stack * grpc_call_get_call_stack(grpc_call *call)
    Definition: call.c:1397
    -
    A single metadata element.
    Definition: grpc.h:197
    -
    void grpc_call_internal_ref(grpc_call *call)
    Definition: call.c:399
    +
    void grpc_server_log_request_call(char *file, int line, gpr_log_severity severity, grpc_server *server, grpc_call **call, grpc_call_details *details, grpc_metadata_array *initial_metadata, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag)
    Definition: call_log_batch.c:125
    +
    grpc_call_error grpc_call_start_ioreq_and_call_back(grpc_call *call, const grpc_ioreq *reqs, size_t nreqs, grpc_ioreq_completion_func on_complete, void *user_data)
    Definition: call.c:1280
    +
    Definition: call.h:51
    +
    grpc_call_error
    Result of a grpc call.
    Definition: grpc.h:162
    +
    grpc_status_code code
    Definition: call.h:78
    +
    grpc_metadata * metadata
    Definition: call.h:74
    +
    char ** details
    Definition: call.h:69
    +
    grpc_call_stack * grpc_call_get_call_stack(grpc_call *call)
    Definition: call.c:1535
    +
    A single metadata element.
    Definition: grpc.h:207
    +
    void grpc_call_internal_ref(grpc_call *call)
    Definition: call.c:457
    Definition: metadata.h:78
    -
    Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) ...
    Definition: grpc.h:287
    -
    grpc_ioreq_op
    Definition: call.h:42
    -
    gpr_uint32 flags
    A copy of the write flags from grpc_op.
    Definition: call.h:81
    -
    gpr_uint8 grpc_call_is_client(grpc_call *call)
    Definition: call.c:1587
    -
    grpc_metadata_array * recv_metadata
    Definition: call.h:58
    -
    Definition: completion_queue.c:49
    -
    void grpc_call_set_completion_queue(grpc_call *call, grpc_completion_queue *cq)
    Definition: call.c:357
    -
    Definition: call.h:43
    +
    Operation data: one field for each op type (except SEND_CLOSE_FROM_CLIENT which has no arguments) ...
    Definition: grpc.h:311
    +
    grpc_ioreq_op
    Definition: call.h:46
    +
    gpr_uint32 flags
    A copy of the write flags from grpc_op.
    Definition: call.h:85
    +
    gpr_uint8 grpc_call_is_client(grpc_call *call)
    Definition: call.c:1747
    +
    grpc_metadata_array * recv_metadata
    Definition: call.h:62
    +
    Definition: completion_queue.c:54
    +
    void grpc_call_set_completion_queue(grpc_call *call, grpc_completion_queue *cq)
    Definition: call.c:415
    +
    Definition: call.h:47
    void grpc_call_log_batch(char *file, int line, gpr_log_severity severity, grpc_call *call, const grpc_op *ops, size_t nops, void *tag)
    Definition: call_log_batch.c:110
    -
    grpc_ioreq_data data
    Definition: call.h:82
    +
    grpc_ioreq_data data
    Definition: call.h:86
    -
    void grpc_call_context_set(grpc_call *call, grpc_context_index elem, void *value, void(*destroy)(void *value))
    Definition: call.c:1574
    +
    grpc_compression_algorithm grpc_call_get_compression_algorithm(const grpc_call *call)
    Definition: call.c:536
    +
    void grpc_call_context_set(grpc_call *call, grpc_context_index elem, void *value, void(*destroy)(void *value))
    Definition: call.c:1734
    +
    grpc_call * grpc_call_create(grpc_channel *channel, grpc_call *parent_call, gpr_uint32 propagation_mask, grpc_completion_queue *cq, const void *server_transport_data, grpc_mdelem **add_initial_metadata, size_t add_initial_metadata_count, gpr_timespec send_deadline)
    Definition: call.c:307
    Definition: channel_stack.h:141
    -
    void grpc_call_internal_unref(grpc_call *call, int allow_immediate_deletion)
    Definition: call.c:447
    +
    gpr_uint32 grpc_call_get_encodings_accepted_by_peer(grpc_call *call)
    Returns a bitset for the encodings (compression algorithms) supported by call's peer.
    Definition: call.c:572
    +
    void grpc_call_internal_unref(grpc_call *call, int allow_immediate_deletion)
    Definition: call.c:505
    grpc_context_index
    Definition: context.h:38
    -
    grpc_byte_buffer ** recv_message
    Definition: call.h:59
    -
    grpc_mdstr * details
    Definition: call.h:75
    -
    Definition: call.h:51
    -
    grpc_byte_buffer * send_message
    Definition: call.h:72
    -
    grpc_call * grpc_call_from_top_element(grpc_call_element *surface_element)
    Definition: call.c:1261
    -
    Definition: time.h:60
    +
    grpc_byte_buffer ** recv_message
    Definition: call.h:63
    +
    grpc_mdstr * details
    Definition: call.h:79
    +
    Definition: call.h:55
    +
    grpc_byte_buffer * send_message
    Definition: call.h:76
    +
    grpc_call * grpc_call_from_top_element(grpc_call_element *surface_element)
    Definition: call.c:1394
    +
    Definition: time.h:63
    grpc_status_code
    Definition: status.h:41
    Definition: channel_stack.h:124
    -
    Definition: call.h:44
    -
    grpc_completion_queue * grpc_call_get_completion_queue(grpc_call *call)
    Definition: call.c:367
    -
    Definition: call.h:48
    -
    void * user_data
    Definition: call.h:62
    -
    Definition: call.h:53
    +
    Definition: call.h:48
    +
    grpc_completion_queue * grpc_call_get_completion_queue(grpc_call *call)
    Definition: call.c:425
    +
    Definition: call.h:52
    +
    void * user_data
    Definition: call.h:66
    +
    Definition: call.h:57
    -
    Definition: call.h:49
    +
    Definition: call.h:53
    int grpc_trace_batch
    Definition: call_log_batch.c:40
    -
    Definition: call.c:143
    -
    Definition: call.h:50
    -
    Definition: call.h:79
    +
    Definition: call.c:144
    +
    Definition: call.h:54
    +
    Definition: call.h:83
    Definition: server.c:181
    diff --git a/doc/ref/core.internal/html/call__details_8c.html b/doc/ref/core.internal/html/call__details_8c.html index f3326c16ab2..123e3e66430 100644 --- a/doc/ref/core.internal/html/call__details_8c.html +++ b/doc/ref/core.internal/html/call__details_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -137,7 +137,7 @@ Functions diff --git a/doc/ref/core.internal/html/call__log__batch_8c.html b/doc/ref/core.internal/html/call__log__batch_8c.html index 59e9a1fbbc5..275123da459 100644 --- a/doc/ref/core.internal/html/call__log__batch_8c.html +++ b/doc/ref/core.internal/html/call__log__batch_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -325,7 +325,7 @@ Variables diff --git a/doc/ref/core.internal/html/cancellable_8c.html b/doc/ref/core.internal/html/cancellable_8c.html deleted file mode 100644 index 1f038329b44..00000000000 --- a/doc/ref/core.internal/html/cancellable_8c.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - -GRPC Core: src/core/support/cancellable.c File Reference - - - - - - - - - -
    -
    - - - - - - -
    -
    GRPC Core -  0.10.0.0 -
    -
    -
    - - - - - - - - - -
    - -
    - - -
    -
    - -
    -
    cancellable.c File Reference
    -
    -
    -
    #include <grpc/support/atm.h>
    -#include <grpc/support/sync.h>
    -#include <grpc/support/time.h>
    -
    - - - - - - - - - - - -

    -Functions

    void gpr_cancellable_init (gpr_cancellable *c)
     
    void gpr_cancellable_destroy (gpr_cancellable *c)
     
    int gpr_cancellable_is_cancelled (gpr_cancellable *c)
     
    void gpr_cancellable_cancel (gpr_cancellable *c)
     
    int gpr_cv_cancellable_wait (gpr_cv *cv, gpr_mu *mu, gpr_timespec abs_deadline, gpr_cancellable *c)
     
    -

    Function Documentation

    - -
    -
    - - - - - - - - -
    void gpr_cancellable_cancel (gpr_cancellablec)
    -
    - -
    -
    - -
    -
    - - - - - - - - -
    void gpr_cancellable_destroy (gpr_cancellablec)
    -
    - -
    -
    - -
    -
    - - - - - - - - -
    void gpr_cancellable_init (gpr_cancellablec)
    -
    - -
    -
    - -
    -
    - - - - - - - - -
    int gpr_cancellable_is_cancelled (gpr_cancellablec)
    -
    - -
    -
    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    int gpr_cv_cancellable_wait (gpr_cvcv,
    gpr_mumu,
    gpr_timespec abs_deadline,
    gpr_cancellablec 
    )
    -
    - -
    -
    -
    - - - - diff --git a/doc/ref/core.internal/html/census_2context_8h.html b/doc/ref/core.internal/html/census_2context_8h.html index 2d3d69fca1f..b9a54c06f1a 100644 --- a/doc/ref/core.internal/html/census_2context_8h.html +++ b/doc/ref/core.internal/html/census_2context_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -102,7 +102,7 @@ Data Structures diff --git a/doc/ref/core.internal/html/census_2context_8h_source.html b/doc/ref/core.internal/html/census_2context_8h_source.html index 946ecfbe318..a85382ee810 100644 --- a/doc/ref/core.internal/html/census_2context_8h_source.html +++ b/doc/ref/core.internal/html/census_2context_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -140,12 +140,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    gpr_uint64 trace_id
    Definition: context.h:43
    Definition: context.h:41
    -
    uint64_t gpr_uint64
    Definition: port_platform.h:310
    +
    uint64_t gpr_uint64
    Definition: port_platform.h:313
    gpr_uint64 op_id
    Definition: context.h:42
    diff --git a/doc/ref/core.internal/html/census_8h.html b/doc/ref/core.internal/html/census_8h.html index 8129fdf0644..817beeed1e5 100644 --- a/doc/ref/core.internal/html/census_8h.html +++ b/doc/ref/core.internal/html/census_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -86,9 +86,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    +Functions | +Variables
    census.h File Reference
    @@ -99,13 +101,57 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - + + + + + + + + + + + + + + + + + + + + + +

    Data Structures

    struct  census_stat
    struct  census_timestamp
     This structure represents a timestamp as used by census to record the time at which an operation begins. More...
     
    struct  census_rpc_name_info
     Represent functions to map RPC name ID to service/method names. More...
     
    struct  census_trace_record
     Trace record. More...
     
    struct  census_tag_const
     
    struct  census_value
     
    struct  census_aggregation
     Information needed to instantiate a new aggregation. More...
     
    struct  census_view_aggregation_data
     Holds all the aggregation data for a particular view instantiation. More...
     
    struct  census_view_data
     Census view data as returned by census_view_get_data(). More...
     
    + + + + + + + + +

    +Macros

    #define CENSUS_TRACE_RECORD_START_OP   ((gpr_uint32)0)
     
    #define CENSUS_TRACE_RECORD_END_OP   ((gpr_uint32)1)
     
    #define CENSUS_MAX_TAG_KEY_LENGTH   20
     
    #define CENSUS_MAX_TAG_VALUE_LENGTH   50
     
    + + + + + + + + + + +

    Typedefs

    typedef struct census_context census_context
     Context is a handle used by census to represent the current tracing and tagging information. More...
     
    typedef struct census_tag_set census_tag_set
     
    typedef struct
    +census_tag_set_iterator 
    census_tag_set_iterator
     
    typedef struct
    +census_aggregation_ops 
    census_aggregation_ops
     Type representing a particular aggregation. More...
     
    typedef struct census_view census_view
     A census view type. More...
     
    @@ -119,6 +165,10 @@ Enumerations
    } + +

    Enumerations

     
    enum  census_trace_mask_values { CENSUS_TRACE_MASK_NONE = 0, +CENSUS_TRACE_MASK_IS_SAMPLED = 1 + }
     
    @@ -135,14 +185,158 @@ Functions - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    Functions

     
    size_t census_context_serialize (const census_context *context, char *buffer, size_t buf_size)
     
    int census_context_deserialize (const char *buffer, census_context **context)
     
    void census_context_destroy (census_context *context)
     
    void census_record_stat (census_context *context, census_stat *stats, size_t nstats)
     
    int census_trace_mask (const census_context *context)
     Get the current trace mask associated with this context. More...
     
    void census_set_trace_mask (int trace_mask)
     Set the trace mask associated with a context. More...
     
    census_timestamp census_start_rpc_op_timestamp (void)
     Mark the beginning of an RPC operation. More...
     
    census_contextcensus_start_client_rpc_op (const census_context *context, gpr_int64 rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, const census_timestamp *start_time)
     Start a client rpc operation. More...
     
    void census_set_rpc_client_peer (census_context *context, const char *peer)
     Add peer information to a context representing a client RPC operation. More...
     
    census_contextcensus_start_server_rpc_op (const char *buffer, gpr_int64 rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, census_timestamp *start_time)
     Start a server RPC operation. More...
     
    census_contextcensus_start_op (census_context *context, const char *family, const char *name, int trace_mask)
     Start a new, non-RPC operation. More...
     
    void census_end_op (census_context *context, int status)
     End an operation started by any of the census_start_*_op*() calls. More...
     
    void census_trace_print (census_context *context, gpr_uint32 type, const char *buffer, size_t n)
     Insert a trace record into the trace stream. More...
     
    int census_trace_scan_start (int consume)
     Start a scan of existing trace records. More...
     
    int census_get_trace_record (census_trace_record *trace_record)
     Get a trace record. More...
     
    void census_trace_scan_end ()
     End a scan previously started by census_trace_scan_start() More...
     
    census_tag_setcensus_tag_set_create (size_t size_hint)
     
    int census_tag_set_add (census_tag_set *tags, const char *key, const char *value)
     
    void census_tag_set_destroy (census_tag_set *tags)
     
    census_tag_setcensus_context_tag_set (census_context *context)
     
    census_tag_set_iteratorcensus_tag_set_open (census_tag_set *tags)
     
    int census_tag_set_next (census_tag_set_iterator *it, census_tag_const *tag)
     
    void census_tag_set_close (census_tag_set_iterator *it)
     
    void census_record_values (census_context *context, census_value *values, size_t nvalues)
     
    census_viewcensus_view_create (gpr_uint32 metric_id, const census_tag_set *tags, const census_aggregation *aggregations, size_t naggregations)
     Create a new view. More...
     
    void census_view_delete (census_view *view)
     Destroy a previously created view. More...
     
    size_t census_view_metric (const census_view *view)
     Metric ID associated with a view. More...
     
    size_t census_view_naggregations (const census_view *view)
     Number of aggregations associated with view. More...
     
    const census_tag_setcensus_view_tags (const census_view *view)
     Get tags associated with view. More...
     
    const census_aggregationcensus_view_aggregrations (const census_view *view)
     Get aggregation descriptors associated with a view. More...
     
    const census_view_datacensus_view_get_data (const census_view *view)
     Get data from aggregations associated with a view. More...
     
    void census_view_reset (census_view *view)
     Reset all view data to zero for the specified view. More...
     
    + + + + + + + + +

    +Variables

    census_aggregation_ops census_agg_sum
     
    census_aggregation_ops census_agg_distribution
     
    census_aggregation_ops census_agg_histogram
     
    census_aggregation_ops census_agg_window
     
    +

    Macro Definition Documentation

    + +
    +
    + + + + +
    #define CENSUS_MAX_TAG_KEY_LENGTH   20
    +
    + +
    +
    + +
    +
    + + + + +
    #define CENSUS_MAX_TAG_VALUE_LENGTH   50
    +
    + +
    +
    + +
    +
    + + + + +
    #define CENSUS_TRACE_RECORD_END_OP   ((gpr_uint32)1)
    +
    + +
    +
    + +
    +
    + + + + +
    #define CENSUS_TRACE_RECORD_START_OP   ((gpr_uint32)0)
    +
    + +
    +

    Typedef Documentation

    + +
    +
    + +

    Type representing a particular aggregation.

    + +
    +
    @@ -153,6 +347,48 @@ Functions
    +

    Context is a handle used by census to represent the current tracing and tagging information.

    +

    Contexts should be propagated across RPC's. Contexts are created by any of the census_start_*_op() functions. A context is typically used as argument to most census functions. Conceptually, contexts should be thought of as specific to single RPC/thread. The context can be serialized for passing across the wire, via census_context_serialize().

    + +
    +
    + +
    +
    + + + + +
    typedef struct census_tag_set census_tag_set
    +
    + +
    +
    + +
    +
    + +
    +
    + +
    +
    + + + + +
    typedef struct census_view census_view
    +
    + +

    A census view type.

    +

    Opaque.

    +

    Enumeration Type Documentation

    @@ -178,24 +414,48 @@ Functions + + + +
    +
    + + + + +
    enum census_trace_mask_values
    +
    + + + +
    Enumerator
    CENSUS_TRACE_MASK_NONE  +
    CENSUS_TRACE_MASK_IS_SAMPLED  +
    +

    Function Documentation

    - +
    - + - + + + + + + + - - + + @@ -207,12 +467,12 @@ Functions - +
    int census_context_deserialize size_t census_context_serialize (const char * const census_contextcontext,
    char *  buffer,
    census_context ** context size_t buf_size 
    - + @@ -223,27 +483,39 @@ Functions - +
    void census_context_destroy census_tag_set* census_context_tag_set ( census_context context)
    - + - - + + + +
    size_t census_context_serialize int census_enabled (const census_contextcontext, void )
    +
    + +

    Return the census features currently enabled.

    + +
    +
    + +
    +
    + - - - - + + + + - - + + @@ -253,23 +525,41 @@ Functions
    char * buffer, void census_end_op (census_contextcontext,
    size_t buf_size int status 
    +

    End an operation started by any of the census_start_*_op*() calls.

    +

    The context used in this call will no longer be valid once this function completes.

    +
    Parameters
    + + + +
    contextContext associated with operation which is ending.
    statusstatus associated with the operation. Not interpreted by census.
    +
    +
    +
    - +
    - + - - + +
    int census_enabled int census_get_trace_record (void )census_trace_recordtrace_record)
    -

    Return the census features currently enabled.

    +

    Get a trace record.

    +

    The data pointed to by the trace buffer is guaranteed stable until the next census_get_trace_record() call (if the consume argument to census_trace_scan_start was non-zero) or census_trace_scan_end() is called (otherwise).

    +
    Parameters
    + + +
    trace_recordstructure that will be filled in with oldest trace record.
    +
    +
    +
    Returns
    -1 if an error occurred (e.g. no previous call to census_trace_scan_start()), 0 if there is no more trace data (and trace_record will not be modified) or 1 otherwise.
    @@ -292,12 +582,12 @@ Functions - +
    - + @@ -305,14 +595,40 @@ Functions - - + + - + + + + + + + +
    void census_record_stat void census_record_values ( census_context context,
    census_statstats, census_valuevalues,
    size_t nstats nvalues 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + @@ -322,6 +638,26 @@ Functions
    void census_set_rpc_client_peer (census_contextcontext,
    const char * peer 
    +

    Add peer information to a context representing a client RPC operation.

    + +
    +
    + +
    +
    + + + + + + + + +
    void census_set_trace_mask (int trace_mask)
    +
    + +

    Set the trace mask associated with a context.

    +
    @@ -340,28 +676,706 @@ Functions - +
    - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    int census_supported census_context* census_start_client_rpc_op (void )const census_contextcontext,
    gpr_int64 rpc_name_id,
    const census_rpc_name_inforpc_name_info,
    const char * peer,
    int trace_mask,
    const census_timestampstart_time 
    )
    -

    Return the features supported by the current census implementation (not all features will be available on all platforms).

    +

    Start a client rpc operation.

    +

    This function should be called as early in the client RPC path as possible. This function will create a new context. If the context argument is non-null, then the new context will inherit all its properties, with the following changes:

    +
      +
    • create a new operation ID for the new context, marking it as a child of the previous operation.
    • +
    • use the new RPC path and peer information for tracing and stats collection purposes, rather than those from the original context
    • +
    +

    If the context argument is NULL, then a new root context is created. This is particularly important for tracing purposes (the trace spans generated will be unassociated with any other trace spans, except those downstream). The trace_mask will be used for tracing operations associated with the new context.

    +

    In some RPC systems (e.g. where load balancing is used), peer information may not be available at the time the operation starts. In this case, use a NULL value for peer, and set it later using the census_set_rpc_client_peer() function.

    +
    Parameters
    + + + + + + + +
    contextThe parent context. Can be NULL.
    rpc_name_idThe rpc name identifier to be associated with this RPC.
    rpc_name_infoUsed to decode rpc_name_id.
    peerRPC peer. If not available at the time, NULL can be used, and a later census_set_rpc_client_peer() call made.
    trace_maskAn OR of census_trace_mask_values values. Only used in the creation of a new root context (context == NULL).
    start_timeA timestamp returned from census_start_rpc_op_timestamp(). Can be NULL. Used to set the true time the operation begins.
    +
    +
    +
    Returns
    A new census context.
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    census_context* census_start_op (census_contextcontext,
    const char * family,
    const char * name,
    int trace_mask 
    )
    +
    + +

    Start a new, non-RPC operation.

    +

    In general, this function works very similarly to census_start_client_rpc_op, with the primary difference being the replacement of host/path information with the more generic family/name tags. If the context argument is non-null, then the new context will inherit all its properties, with the following changes:

    +
      +
    • create a new operation ID for the new context, marking it as a child of the previous operation.
    • +
    • use the family and name information for tracing and stats collection purposes, rather than those from the original context
    • +
    +

    If the context argument is NULL, then a new root context is created. This is particularly important for tracing purposes (the trace spans generated will be unassociated with any other trace spans, except those downstream). The trace_mask will be used for tracing operations associated with the new context.

    +
    Parameters
    + + + + + +
    contextThe base context. Can be NULL.
    familyFamily name to associate with the trace
    nameName within family to associated with traces/stats
    trace_maskAn OR of census_trace_mask_values values. Only used if context is NULL.
    +
    +
    +
    Returns
    A new census context.
    + +
    +
    + +
    +
    + + + + + + + + +
    census_timestamp census_start_rpc_op_timestamp (void )
    +
    + +

    Mark the beginning of an RPC operation.

    +

    The information required to call the functions to record the start of RPC operations (both client and server) may not be callable at the true start time of the operation, due to information not being available (e.g. the census context data will not be available in a server RPC until at least initial metadata has been processed). To ensure correct CPU accounting and latency recording, RPC systems can call this function to get the timestamp of operation beginning. This can later be used as an argument to census_start_{client,server}_rpc_op(). NB: for correct CPU accounting, the system must guarantee that the same thread is used for all request processing after this function is called.

    +
    Returns
    A timestamp representing the operation start time.
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    census_context* census_start_server_rpc_op (const char * buffer,
    gpr_int64 rpc_name_id,
    const census_rpc_name_inforpc_name_info,
    const char * peer,
    int trace_mask,
    census_timestampstart_time 
    )
    +
    + +

    Start a server RPC operation.

    +

    Returns a new context to be used in future census calls. If buffer is non-NULL, then the buffer contents should represent the client context, as generated by census_context_serialize(). If buffer is NULL, a new root context is created.

    +
    Parameters
    + + + + + + + +
    bufferBuffer containing bytes output from census_context_serialize().
    rpc_name_idThe rpc name identifier to be associated with this RPC.
    rpc_name_infoUsed to decode rpc_name_id.
    peerRPC peer.
    trace_maskAn OR of census_trace_mask_values values. Only used in the creation of a new root context (buffer == NULL).
    start_timeA timestamp returned from census_start_rpc_op_timestamp(). Can be NULL. Used to set the true time the operation begins.
    +
    +
    +
    Returns
    A new census context.
    + +
    +
    + +
    +
    + + + + + + + + +
    int census_supported (void )
    +
    + +

    Return the features supported by the current census implementation (not all features will be available on all platforms).

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    int census_tag_set_add (census_tag_settags,
    const char * key,
    const char * value 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_tag_set_close (census_tag_set_iteratorit)
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    census_tag_set* census_tag_set_create (size_t size_hint)
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_tag_set_destroy (census_tag_settags)
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int census_tag_set_next (census_tag_set_iteratorit,
    census_tag_consttag 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    census_tag_set_iterator* census_tag_set_open (census_tag_settags)
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    int census_trace_mask (const census_contextcontext)
    +
    + +

    Get the current trace mask associated with this context.

    +

    The value returned will be the logical or of census_trace_mask_values values.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    void census_trace_print (census_contextcontext,
    gpr_uint32 type,
    const char * buffer,
    size_t n 
    )
    +
    + +

    Insert a trace record into the trace stream.

    +

    The record consists of an arbitrary size buffer, the size of which is provided in 'n'.

    +
    Parameters
    + + + + + +
    contextTrace context
    typeUser-defined type to associate with trace entry.
    bufferPointer to buffer to use
    nNumber of bytes in buffer
    +
    +
    + +
    +
    + +
    +
    + + + + + + + +
    void census_trace_scan_end ()
    +
    + +

    End a scan previously started by census_trace_scan_start()

    + +
    +
    + +
    +
    + + + + + + + + +
    int census_trace_scan_start (int consume)
    +
    + +

    Start a scan of existing trace records.

    +

    While a scan is ongoing, addition of new trace records will be blocked if the underlying trace buffers fill up, so trace processing systems should endeavor to complete reading as soon as possible.

    +
    Parameters
    + + +
    consumeif non-zero, indicates that reading records also "consumes" the previously read record - i.e. releases space in the trace log while scanning is ongoing.
    +
    +
    +
    Returns
    0 on success, non-zero on failure (e.g. if a scan is already ongoing)
    + +
    +
    + +
    +
    + + + + + + + + +
    const census_aggregation* census_view_aggregrations (const census_viewview)
    +
    + +

    Get aggregation descriptors associated with a view.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    census_view* census_view_create (gpr_uint32 metric_id,
    const census_tag_settags,
    const census_aggregationaggregations,
    size_t naggregations 
    )
    +
    + +

    Create a new view.

    +
    Parameters
    + + + + + +
    metric_idMetric with which this view is associated.
    tagstags that define the view
    aggregationsaggregations to associate with the view
    naggregationsnumber of aggregations
    +
    +
    +
    Returns
    A new census view
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_view_delete (census_viewview)
    +
    + +

    Destroy a previously created view.

    + +
    +
    + +
    +
    + + + + + + + + +
    const census_view_data* census_view_get_data (const census_viewview)
    +
    + +

    Get data from aggregations associated with a view.

    +
    Parameters
    + + +
    viewView from which to get data.
    +
    +
    +
    Returns
    Full set of data for all aggregations for the view.
    + +
    +
    + +
    +
    + + + + + + + + +
    size_t census_view_metric (const census_viewview)
    +
    + +

    Metric ID associated with a view.

    + +
    +
    + +
    +
    + + + + + + + + +
    size_t census_view_naggregations (const census_viewview)
    +
    + +

    Number of aggregations associated with view.

    + +
    +
    + +
    +
    + + + + + + + + +
    void census_view_reset (census_viewview)
    +
    + +

    Reset all view data to zero for the specified view.

    + +
    +
    + +
    +
    + + + + + + + + +
    const census_tag_set* census_view_tags (const census_viewview)
    +
    + +

    Get tags associated with view.

    + +
    +
    +

    Variable Documentation

    + +
    +
    + + + + +
    census_aggregation_ops census_agg_distribution
    +
    + +
    +
    + +
    +
    + + + + +
    census_aggregation_ops census_agg_histogram
    +
    + +
    +
    + +
    +
    + + + + +
    census_aggregation_ops census_agg_sum
    +
    + +
    +
    + +
    +
    + + + + +
    census_aggregation_ops census_agg_window
    +
    diff --git a/doc/ref/core.internal/html/census_8h_source.html b/doc/ref/core.internal/html/census_8h_source.html index 986d7760bf0..65118e65b06 100644 --- a/doc/ref/core.internal/html/census_8h_source.html +++ b/doc/ref/core.internal/html/census_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -151,80 +151,331 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    68 
    70 int census_enabled(void);
    71 
    -
    72 /* Internally, Census relies on a context, which should be propagated across
    -
    73  * RPC's. From the RPC subsystems viewpoint, this is an opaque data structure.
    -
    74  * A context must be used as the first argument to all other census
    -
    75  * functions. Conceptually, contexts should be thought of as specific to
    -
    76  * single RPC/thread. The context can be serialized for passing across the
    -
    77  * wire. */
    -
    78 typedef struct census_context census_context;
    -
    79 
    -
    80 /* This function is called by the RPC subsystem whenever it needs to get a
    -
    81  * serialized form of the current census context (presumably to pass across
    -
    82  * the wire). Arguments:
    -
    83  * 'buffer': pointer to memory into which serialized context will be placed
    -
    84  * 'buf_size': size of 'buffer'
    -
    85  *
    -
    86  * Returns: the number of bytes used in buffer if successful, or 0 if the
    -
    87  * buffer is of insufficient size.
    -
    88  *
    -
    89  * TODO(aveitch): determine how best to communicate required/max buffer size
    -
    90  * so caller doesn't have to guess. */
    -
    91 size_t census_context_serialize(const census_context *context, char *buffer,
    -
    92  size_t buf_size);
    -
    93 
    -
    94 /* Create a new census context, possibly from a serialized buffer. If 'buffer'
    -
    95  * is non-NULL, it is assumed that it is a buffer encoded by
    -
    96  * census_context_serialize(). If `buffer` is NULL, a new, empty context is
    -
    97  * created. The decoded/new contest is returned in 'context'.
    -
    98  *
    -
    99  * Returns 0 if no errors, non-zero if buffer is incorrectly formatted, in
    -
    100  * which case a new empty context will be returned. */
    -
    101 int census_context_deserialize(const char *buffer, census_context **context);
    -
    102 
    -
    103 /* The given context is destroyed. Once destroyed, using the context in
    -
    104  * future census calls will result in undefined behavior. */
    -
    105 void census_context_destroy(census_context *context);
    -
    106 
    -
    107 /* A census statistic to be recorded comprises two parts: an ID for the
    -
    108  * particular statistic and the value to be recorded against it. */
    -
    109 typedef struct {
    -
    110  int id;
    -
    111  double value;
    -
    112 } census_stat;
    -
    113 
    -
    114 /* Record new stats against the given context. */
    -
    115 void census_record_stat(census_context *context, census_stat *stats,
    -
    116  size_t nstats);
    -
    117 
    -
    118 #ifdef __cplusplus
    -
    119 }
    -
    120 #endif
    -
    121 
    -
    122 #endif /* CENSUS_CENSUS_H */
    -
    void census_context_destroy(census_context *context)
    Definition: context.c:59
    -
    int census_context_deserialize(const char *buffer, census_context **context)
    Definition: context.c:48
    +
    80 typedef struct census_context census_context;
    +
    81 
    +
    82 /* This function is called by the RPC subsystem whenever it needs to get a
    +
    83  * serialized form of the current census context (presumably to pass across
    +
    84  * the wire). Arguments:
    +
    85  * 'buffer': pointer to memory into which serialized context will be placed
    +
    86  * 'buf_size': size of 'buffer'
    +
    87  *
    +
    88  * Returns: the number of bytes used in buffer if successful, or 0 if the
    +
    89  * buffer is of insufficient size.
    +
    90  *
    +
    91  * TODO(aveitch): determine how best to communicate required/max buffer size
    +
    92  * so caller doesn't have to guess. */
    +
    93 size_t census_context_serialize(const census_context *context, char *buffer,
    +
    94  size_t buf_size);
    +
    95 
    +
    96 /* Distributed traces can have a number of options. */
    +
    97 enum census_trace_mask_values {
    +
    98  CENSUS_TRACE_MASK_NONE = 0, /* Default, empty flags */
    +
    99  CENSUS_TRACE_MASK_IS_SAMPLED = 1 /* RPC tracing enabled for this context. */
    +
    100 };
    +
    101 
    +
    104 int census_trace_mask(const census_context *context);
    +
    105 
    +
    107 void census_set_trace_mask(int trace_mask);
    +
    108 
    +
    109 /* The concept of "operation" is a fundamental concept for Census. In an RPC
    +
    110  system, and operation typcially represents a single RPC, or a significant
    +
    111  sub-part thereof (e.g. a single logical "read" RPC to a distributed storage
    +
    112  system might do several other actions in parallel, from looking up metadata
    +
    113  indices to making requests of other services - each of these could be a
    +
    114  sub-operation with the larger RPC operation). Census uses operations for the
    +
    115  following:
    +
    116 
    +
    117  CPU accounting: If enabled, census will measure the thread CPU time
    +
    118  consumed between operation start and end times.
    +
    119 
    +
    120  Active operations: Census will maintain information on all currently
    +
    121  active operations.
    +
    122 
    +
    123  Distributed tracing: Each operation serves as a logical trace span.
    +
    124 
    +
    125  Stats collection: Stats are broken down by operation (e.g. latency
    +
    126  breakdown for each unique RPC path).
    +
    127 
    +
    128  The following functions serve to delineate the start and stop points for
    +
    129  each logical operation. */
    +
    130 
    +
    135 typedef struct {
    +
    136  /* Use gpr_timespec for default implementation. High performance
    +
    137  * implementations should use a cycle-counter based timestamp. */
    +
    138  gpr_timespec ts;
    +
    139 } census_timestamp;
    +
    140 
    +
    155 census_timestamp census_start_rpc_op_timestamp(void);
    +
    156 
    +
    168 typedef struct {
    +
    169  const char *(*get_rpc_service_name)(gpr_int64 id);
    +
    170  const char *(*get_rpc_method_name)(gpr_int64 id);
    +
    171 } census_rpc_name_info;
    +
    172 
    +
    207 census_context *census_start_client_rpc_op(
    +
    208  const census_context *context, gpr_int64 rpc_name_id,
    +
    209  const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask,
    +
    210  const census_timestamp *start_time);
    +
    211 
    +
    215 void census_set_rpc_client_peer(census_context *context, const char *peer);
    +
    216 
    +
    235 census_context *census_start_server_rpc_op(
    +
    236  const char *buffer, gpr_int64 rpc_name_id,
    +
    237  const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask,
    +
    238  census_timestamp *start_time);
    +
    239 
    +
    265 census_context *census_start_op(census_context *context, const char *family,
    +
    266  const char *name, int trace_mask);
    +
    267 
    +
    277 void census_end_op(census_context *context, int status);
    +
    278 
    +
    279 #define CENSUS_TRACE_RECORD_START_OP ((gpr_uint32)0)
    +
    280 #define CENSUS_TRACE_RECORD_END_OP ((gpr_uint32)1)
    +
    281 
    +
    289 void census_trace_print(census_context *context, gpr_uint32 type,
    +
    290  const char *buffer, size_t n);
    +
    291 
    +
    293 typedef struct {
    +
    294  census_timestamp timestamp; /* Time of record creation */
    +
    295  gpr_uint64 trace_id; /* Trace ID associated with record */
    +
    296  gpr_uint64 op_id; /* Operation ID associated with record */
    +
    297  gpr_uint32 type; /* Type (as used in census_trace_print() */
    +
    298  const char *buffer; /* Buffer (from census_trace_print() */
    +
    299  size_t buf_size; /* Number of bytes inside buffer */
    +
    300 } census_trace_record;
    +
    301 
    +
    311 int census_trace_scan_start(int consume);
    +
    312 
    +
    322 int census_get_trace_record(census_trace_record *trace_record);
    +
    323 
    +
    325 void census_trace_scan_end();
    +
    326 
    +
    327 /* Max number of characters in tag key */
    +
    328 #define CENSUS_MAX_TAG_KEY_LENGTH 20
    +
    329 /* Max number of tag value characters */
    +
    330 #define CENSUS_MAX_TAG_VALUE_LENGTH 50
    +
    331 
    +
    332 /* A Census tag set is a collection of key:value string pairs; these form the
    +
    333  basis against which Census metrics will be recorded. Keys are unique within
    +
    334  a tag set. All contexts have an associated tag set. */
    +
    335 typedef struct census_tag_set census_tag_set;
    +
    336 
    +
    337 /* Returns a pointer to a newly created, empty tag set. If size_hint > 0,
    +
    338  indicates that the tag set is intended to hold approximately that number
    +
    339  of tags. */
    +
    340 census_tag_set *census_tag_set_create(size_t size_hint);
    +
    341 
    +
    342 /* Add a new tag key/value to an existing tag set; if the tag key already exists
    +
    343  in the tag set, then its value is overwritten with the new one. Can also be
    +
    344  used to delete a tag, by specifying a NULL value. If key is NULL, returns
    +
    345  the number of tags in the tag set.
    +
    346  Return values:
    +
    347  -1: invalid length key or value
    +
    348  non-negative value: the number of tags in the tag set. */
    +
    349 int census_tag_set_add(census_tag_set *tags, const char *key,
    +
    350  const char *value);
    +
    351 
    +
    352 /* Destroys a tag set. This function must be called to prevent memory leaks.
    +
    353  Once called, the tag set cannot be used again. */
    +
    354 void census_tag_set_destroy(census_tag_set *tags);
    +
    355 
    +
    356 /* Get a contexts tag set. */
    +
    357 census_tag_set *census_context_tag_set(census_context *context);
    +
    358 
    +
    359 /* A read-only representation of a tag for use by census clients. */
    +
    360 typedef struct {
    +
    361  size_t key_len; /* Number of bytes in tag key. */
    +
    362  const char *key; /* A pointer to the tag key. May not be null-terminated. */
    +
    363  size_t value_len; /* Number of bytes in tag value. */
    +
    364  const char *value; /* Pointer to the tag value. May not be null-terminated. */
    +
    365 } census_tag_const;
    +
    366 
    +
    367 /* Used to iterate through a tag sets contents. */
    +
    368 typedef struct census_tag_set_iterator census_tag_set_iterator;
    +
    369 
    +
    370 /* Open a tag set for iteration. The tag set must not be modified while
    +
    371  iteration is ongoing. Returns an iterator for use in following functions. */
    +
    372 census_tag_set_iterator *census_tag_set_open(census_tag_set *tags);
    +
    373 
    +
    374 /* Get the next tag in the tag set, by writing into the 'tag' argument. Returns
    +
    375  1 if there is a "next" tag, 0 if there are no more tags. */
    +
    376 int census_tag_set_next(census_tag_set_iterator *it, census_tag_const *tag);
    +
    377 
    +
    378 /* Close an iterator opened by census_tag_set_open(). The iterator will be
    +
    379  invalidated, and should not be used once close is called. */
    +
    380 void census_tag_set_close(census_tag_set_iterator *it);
    +
    381 
    +
    382 /* Core stats collection API's. The following concepts are used:
    +
    383  * Aggregation: A collection of values. Census supports the following
    +
    384  aggregation types:
    +
    385  Sum - a single summation type. Typically used for keeping (e.g.)
    +
    386  counts of events.
    +
    387  Distribution - statistical distribution information, used for
    +
    388  recording average, standard deviation etc.
    +
    389  Histogram - a histogram of measurements falling in defined bucket
    +
    390  boundaries.
    +
    391  Window - a count of events that happen in reolling time window.
    +
    392  New aggregation types can be added by the user, if desired (see
    +
    393  census_register_aggregation()).
    +
    394  * Metric: Each measurement is for a single metric. Examples include RPC
    +
    395  latency, CPU seconds consumed, and bytes transmitted.
    +
    396  * View: A view is a combination of a metric, a tag set (in which the tag
    +
    397  values are regular expressions) and a set of aggregations. When a
    +
    398  measurement for a metric matches the view tags, it is recorded (for each
    +
    399  unique set of tags) against each aggregation. Each metric can have an
    +
    400  arbitrary number of views by which it will be broken down.
    +
    401 */
    +
    402 
    +
    403 /* A single value to be recorded comprises two parts: an ID for the particular
    +
    404  * metric and the value to be recorded against it. */
    +
    405 typedef struct {
    +
    406  gpr_uint32 metric_id;
    +
    407  double value;
    +
    408 } census_value;
    +
    409 
    +
    410 /* Record new usage values against the given context. */
    +
    411 void census_record_values(census_context *context, census_value *values,
    +
    412  size_t nvalues);
    +
    413 
    +
    415 typedef struct census_aggregation_ops census_aggregation_ops;
    +
    416 
    +
    417 /* Predefined aggregation types, for use with census_view_create(). */
    +
    418 extern census_aggregation_ops census_agg_sum;
    +
    419 extern census_aggregation_ops census_agg_distribution;
    +
    420 extern census_aggregation_ops census_agg_histogram;
    +
    421 extern census_aggregation_ops census_agg_window;
    +
    422 
    +
    425 typedef struct {
    +
    426  const census_aggregation_ops *ops;
    +
    427  const void
    +
    428  *create_arg; /* Argument to be used for aggregation initialization. */
    +
    429 } census_aggregation;
    +
    430 
    +
    432 typedef struct census_view census_view;
    +
    433 
    +
    442 census_view *census_view_create(gpr_uint32 metric_id,
    +
    443  const census_tag_set *tags,
    +
    444  const census_aggregation *aggregations,
    +
    445  size_t naggregations);
    +
    446 
    +
    448 void census_view_delete(census_view *view);
    +
    449 
    +
    451 size_t census_view_metric(const census_view *view);
    +
    452 
    +
    454 size_t census_view_naggregations(const census_view *view);
    +
    455 
    +
    457 const census_tag_set *census_view_tags(const census_view *view);
    +
    458 
    +
    460 const census_aggregation *census_view_aggregrations(const census_view *view);
    +
    461 
    +
    464 typedef struct {
    +
    465  const census_tag_set *tags; /* Tags for this set of aggregations. */
    +
    466  const void **data; /* One data set for every aggregation in the view. */
    +
    467 } census_view_aggregation_data;
    +
    468 
    +
    470 typedef struct {
    +
    471  size_t n_tag_sets; /* Number of unique tag sets that matched view. */
    +
    472  const census_view_aggregation_data *data; /* n_tag_sets entries */
    +
    473 } census_view_data;
    +
    474 
    +
    479 const census_view_data *census_view_get_data(const census_view *view);
    +
    480 
    +
    482 void census_view_reset(census_view *view);
    +
    483 
    +
    484 #ifdef __cplusplus
    +
    485 }
    +
    486 #endif
    +
    487 
    +
    488 #endif /* CENSUS_CENSUS_H */
    +
    const census_tag_set * tags
    Definition: census.h:465
    +
    const char * value
    Definition: hpack_table.c:44
    +
    census_aggregation_ops census_agg_histogram
    +
    const census_view_data * census_view_get_data(const census_view *view)
    Get data from aggregations associated with a view.
    +
    void census_tag_set_destroy(census_tag_set *tags)
    +
    int census_get_trace_record(census_trace_record *trace_record)
    Get a trace record.
    +
    census_tag_set * census_tag_set_create(size_t size_hint)
    +
    size_t census_view_naggregations(const census_view *view)
    Number of aggregations associated with view.
    +
    size_t census_view_metric(const census_view *view)
    Metric ID associated with a view.
    +
    Definition: census.h:405
    +
    double value
    Definition: census.h:407
    +
    Structure used to describe an aggregation type.
    Definition: aggregation.h:40
    +
    struct census_view census_view
    A census view type.
    Definition: census.h:432
    Definition: census.h:50
    +
    Holds all the aggregation data for a particular view instantiation.
    Definition: census.h:464
    +
    const void ** data
    Definition: census.h:466
    +
    const census_view_aggregation_data * data
    Definition: census.h:472
    +
    census_context * census_start_op(census_context *context, const char *family, const char *name, int trace_mask)
    Start a new, non-RPC operation.
    Definition: operation.c:58
    +
    census_tag_set_iterator * census_tag_set_open(census_tag_set *tags)
    +
    void census_trace_scan_end()
    End a scan previously started by census_trace_scan_start()
    +
    Information needed to instantiate a new aggregation.
    Definition: census.h:425
    +
    int census_tag_set_add(census_tag_set *tags, const char *key, const char *value)
    int census_initialize(int features)
    Shutdown and startup census subsystem.
    Definition: initialize.c:38
    Definition: census.h:52
    +
    Trace record.
    Definition: census.h:293
    +
    census_trace_mask_values
    Definition: census.h:97
    +
    census_timestamp census_start_rpc_op_timestamp(void)
    Mark the beginning of an RPC operation.
    Definition: operation.c:37
    +
    Represent functions to map RPC name ID to service/method names.
    Definition: census.h:168
    Definition: census.h:53
    Definition: census.h:51
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    +
    void census_trace_print(census_context *context, gpr_uint32 type, const char *buffer, size_t n)
    Insert a trace record into the trace stream.
    Definition: tracing.c:44
    void census_shutdown(void)
    Definition: initialize.c:50
    -
    int id
    Definition: census.h:110
    +
    const census_aggregation_ops * ops
    Definition: census.h:426
    +
    census_context * census_start_server_rpc_op(const char *buffer, gpr_int64 rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, census_timestamp *start_time)
    Start a server RPC operation.
    Definition: operation.c:51
    +
    int census_trace_scan_start(int consume)
    Start a scan of existing trace records.
    +
    void census_set_trace_mask(int trace_mask)
    Set the trace mask associated with a context.
    Definition: tracing.c:42
    +
    void census_tag_set_close(census_tag_set_iterator *it)
    +
    int census_tag_set_next(census_tag_set_iterator *it, census_tag_const *tag)
    +
    void census_view_delete(census_view *view)
    Destroy a previously created view.
    +
    int census_trace_mask(const census_context *context)
    Get the current trace mask associated with this context.
    Definition: tracing.c:38
    +
    census_view * census_view_create(gpr_uint32 metric_id, const census_tag_set *tags, const census_aggregation *aggregations, size_t naggregations)
    Create a new view.
    +
    const census_aggregation * census_view_aggregrations(const census_view *view)
    Get aggregation descriptors associated with a view.
    +
    size_t n_tag_sets
    Definition: census.h:471
    +
    census_timestamp timestamp
    Definition: census.h:294
    +
    gpr_timespec ts
    Definition: census.h:138
    +
    census_aggregation_ops census_agg_distribution
    +
    int64_t gpr_int64
    Definition: port_platform.h:309
    +
    struct census_tag_set census_tag_set
    Definition: census.h:335
    +
    This structure represents a timestamp as used by census to record the time at which an operation begi...
    Definition: census.h:135
    +
    const char * key
    Definition: census.h:362
    int census_supported(void)
    Return the features supported by the current census implementation (not all features will be availabl...
    Definition: initialize.c:52
    -
    double value
    Definition: census.h:111
    +
    Definition: census.h:99
    +
    census_aggregation_ops census_agg_sum
    +
    const census_tag_set * census_view_tags(const census_view *view)
    Get tags associated with view.
    +
    gpr_uint32 metric_id
    Definition: census.h:406
    +
    void census_view_reset(census_view *view)
    Reset all view data to zero for the specified view.
    +
    census_context * census_start_client_rpc_op(const census_context *context, gpr_int64 rpc_name_id, const census_rpc_name_info *rpc_name_info, const char *peer, int trace_mask, const census_timestamp *start_time)
    Start a client rpc operation.
    Definition: operation.c:44
    +
    census_tag_set * census_context_tag_set(census_context *context)
    +
    const char * value
    Definition: census.h:364
    Definition: context.h:41
    +
    gpr_uint64 op_id
    Definition: census.h:296
    +
    Census view data as returned by census_view_get_data().
    Definition: census.h:470
    census_features
    Definition: census.h:48
    -
    void census_record_stat(census_context *context, census_stat *stats, size_t nstats)
    Definition: record_stat.c:37
    +
    void census_record_values(census_context *context, census_value *values, size_t nvalues)
    +
    void census_end_op(census_context *context, int status)
    End an operation started by any of the census_start_*_op*() calls.
    Definition: operation.c:63
    +
    Definition: time.h:63
    +
    uint64_t gpr_uint64
    Definition: port_platform.h:313
    +
    struct census_tag_set_iterator census_tag_set_iterator
    Definition: census.h:368
    +
    const void * create_arg
    Definition: census.h:428
    +
    void census_set_rpc_client_peer(census_context *context, const char *peer)
    Add peer information to a context representing a client RPC operation.
    int census_enabled(void)
    Return the census features currently enabled.
    Definition: initialize.c:57
    +
    size_t value_len
    Definition: census.h:363
    +
    Definition: census.h:98
    +
    const char * buffer
    Definition: census.h:298
    +
    size_t buf_size
    Definition: census.h:299
    +
    const char * key
    Definition: hpack_table.c:43
    +
    size_t key_len
    Definition: census.h:361
    +
    census_aggregation_ops census_agg_window
    size_t census_context_serialize(const census_context *context, char *buffer, size_t buf_size)
    Definition: context.c:42
    -
    Definition: census.h:109
    +
    Definition: census.h:360
    +
    gpr_uint64 trace_id
    Definition: census.h:295
    Definition: census.h:49
    +
    gpr_uint32 type
    Definition: census.h:297
    diff --git a/doc/ref/core.internal/html/census__interface_8h.html b/doc/ref/core.internal/html/census__interface_8h.html new file mode 100644 index 00000000000..293e60a7659 --- /dev/null +++ b/doc/ref/core.internal/html/census__interface_8h.html @@ -0,0 +1,295 @@ + + + + + + +GRPC Core: src/core/statistics/census_interface.h File Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC Core +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    + +
    +
    census_interface.h File Reference
    +
    +
    + +

    Go to the source code of this file.

    + + + + +

    +Data Structures

    struct  census_op_id
     
    + + + +

    +Macros

    #define CENSUS_MAX_ANNOTATION_LENGTH   200
     
    + + + + + +

    +Typedefs

    typedef struct census_op_id census_op_id
     
    typedef struct census_rpc_stats census_rpc_stats
     
    + + + + + + + + + + + + + +

    +Functions

    void census_init (void)
     
    void census_shutdown (void)
     
    int census_add_method_tag (census_op_id op_id, const char *method_name)
     
    void census_tracing_print (census_op_id op_id, const char *annotation)
     
    census_op_id census_tracing_start_op (void)
     
    void census_tracing_end_op (census_op_id op_id)
     
    +

    Macro Definition Documentation

    + +
    +
    + + + + +
    #define CENSUS_MAX_ANNOTATION_LENGTH   200
    +
    + +
    +
    +

    Typedef Documentation

    + +
    +
    + + + + +
    typedef struct census_op_id census_op_id
    +
    + +
    +
    + +
    +
    + + + + +
    typedef struct census_rpc_stats census_rpc_stats
    +
    + +
    +
    +

    Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int census_add_method_tag (census_op_id op_id,
    const char * method_name 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_init (void )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_shutdown (void )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void census_tracing_end_op (census_op_id op_id)
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void census_tracing_print (census_op_id op_id,
    const char * annotation 
    )
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    census_op_id census_tracing_start_op (void )
    +
    + +
    +
    +
    + + + + diff --git a/doc/ref/c++.internal/html/auth__property__iterator_8h_source.html b/doc/ref/core.internal/html/census__interface_8h_source.html similarity index 51% rename from doc/ref/c++.internal/html/auth__property__iterator_8h_source.html rename to doc/ref/core.internal/html/census__interface_8h_source.html index af41323c8af..17e1fdbc7ae 100644 --- a/doc/ref/c++.internal/html/auth__property__iterator_8h_source.html +++ b/doc/ref/core.internal/html/census__interface_8h_source.html @@ -4,7 +4,7 @@ -GRPC C++: include/grpc++/auth_property_iterator.h Source File +GRPC Core: src/core/statistics/census_interface.h Source File @@ -22,8 +22,8 @@ -
    GRPC C++ -  0.10.0.0 +
    GRPC Core +  0.11.0.0
    @@ -38,7 +38,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
    @@ -81,15 +80,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    auth_property_iterator.h
    +
    census_interface.h
    -Go to the documentation of this file.
    1 /*
    +Go to the documentation of this file.
    1 /*
    2  *
    3  * Copyright 2015, Google Inc.
    4  * All rights reserved.
    @@ -122,64 +121,66 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    31  *
    32  */
    33 
    -
    34 #ifndef GRPCXX_AUTH_PROPERTY_ITERATOR_H
    -
    35 #define GRPCXX_AUTH_PROPERTY_ITERATOR_H
    +
    34 #ifndef GRPC_INTERNAL_CORE_STATISTICS_CENSUS_INTERFACE_H
    +
    35 #define GRPC_INTERNAL_CORE_STATISTICS_CENSUS_INTERFACE_H
    36 
    -
    37 #include <iterator>
    -
    38 #include <vector>
    -
    39 
    -
    40 #include <grpc++/config.h>
    -
    41 
    -
    42 struct grpc_auth_context;
    -
    43 struct grpc_auth_property;
    -
    44 struct grpc_auth_property_iterator;
    -
    45 
    -
    46 namespace grpc {
    - + +
    38 
    +
    39 /* Maximum length of an individual census trace annotation. */
    +
    40 #define CENSUS_MAX_ANNOTATION_LENGTH 200
    +
    41 
    +
    42 /* Structure of a census op id. Define as structure because 64bit integer is not
    +
    43  available on every platform for C89. */
    +
    44 typedef struct census_op_id {
    + + +
    47 } census_op_id;
    48 
    -
    49 typedef std::pair<grpc::string, grpc::string> AuthProperty;
    +
    50 
    - -
    52  : public std::iterator<std::input_iterator_tag, const AuthProperty> {
    -
    53  public:
    - - - -
    57  bool operator==(const AuthPropertyIterator& rhs) const;
    -
    58  bool operator!=(const AuthPropertyIterator& rhs) const;
    -
    59  const AuthProperty operator*();
    -
    60 
    -
    61  protected:
    - -
    63  AuthPropertyIterator(const grpc_auth_property* property,
    -
    64  const grpc_auth_property_iterator* iter);
    -
    65  private:
    -
    66  friend class SecureAuthContext;
    -
    67  const grpc_auth_property* property_;
    -
    68  // The following items form a grpc_auth_property_iterator.
    -
    69  const grpc_auth_context* ctx_;
    -
    70  size_t index_;
    -
    71  const char* name_;
    -
    72 };
    -
    73 
    -
    74 } // namespace grpc
    +
    51 /* Initializes Census library. No-op if Census is already initialized. */
    +
    52 void census_init(void);
    +
    53 
    +
    54 /* Shutdown Census Library. */
    +
    55 void census_shutdown(void);
    +
    56 
    +
    57 /* Annotates grpc method name on a census_op_id. The method name has the format
    +
    58  of <full quantified rpc service name>/<rpc function name>. Returns 0 iff
    +
    59  op_id and method_name are all valid. op_id is valid after its creation and
    +
    60  before calling census_tracing_end_op().
    +
    61 
    +
    62  TODO(hongyu): Figure out valid characters set for service name and command
    +
    63  name and document requirements here.*/
    +
    64 int census_add_method_tag(census_op_id op_id, const char* method_name);
    +
    65 
    +
    66 /* Annotates tracing information to a specific op_id.
    +
    67  Up to CENSUS_MAX_ANNOTATION_LENGTH bytes are recorded. */
    +
    68 void census_tracing_print(census_op_id op_id, const char* annotation);
    +
    69 
    +
    70 /* Starts tracing for an RPC. Returns a locally unique census_op_id */
    + +
    72 
    +
    73 /* Ends tracing. Calling this function will invalidate the input op_id. */
    +
    75 
    -
    76  #endif // GRPCXX_AUTH_PROPERTY_ITERATOR_H
    -
    77 
    -
    std::pair< grpc::string, grpc::string > AuthProperty
    Definition: auth_property_iterator.h:47
    -
    Definition: secure_auth_context.h:43
    - -
    AuthPropertyIterator()
    Definition: auth_property_iterator.cc:40
    -
    AuthPropertyIterator & operator++()
    Definition: auth_property_iterator.cc:52
    -
    bool operator!=(const AuthPropertyIterator &rhs) const
    Definition: auth_property_iterator.cc:76
    -
    const AuthProperty operator*()
    Definition: auth_property_iterator.cc:81
    -
    bool operator==(const AuthPropertyIterator &rhs) const
    Definition: auth_property_iterator.cc:67
    -
    Definition: auth_property_iterator.h:51
    -
    ~AuthPropertyIterator()
    Definition: auth_property_iterator.cc:50
    +
    76 #endif /* GRPC_INTERNAL_CORE_STATISTICS_CENSUS_INTERFACE_H */
    + +
    void census_init(void)
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    +
    gpr_uint32 upper
    Definition: census_interface.h:45
    +
    struct census_op_id census_op_id
    +
    void census_shutdown(void)
    Definition: initialize.c:50
    +
    gpr_uint32 lower
    Definition: census_interface.h:46
    +
    Definition: census_interface.h:44
    +
    int census_add_method_tag(census_op_id op_id, const char *method_name)
    +
    Definition: census_rpc_stats.h:44
    +
    void census_tracing_print(census_op_id op_id, const char *annotation)
    +
    void census_tracing_end_op(census_op_id op_id)
    +
    census_op_id census_tracing_start_op(void)
    diff --git a/doc/ref/core.internal/html/pollset__kick__posix_8h.html b/doc/ref/core.internal/html/census__rpc__stats_8h.html similarity index 50% rename from doc/ref/core.internal/html/pollset__kick__posix_8h.html rename to doc/ref/core.internal/html/census__rpc__stats_8h.html index cad8770ab56..37ada3e60b1 100644 --- a/doc/ref/core.internal/html/pollset__kick__posix_8h.html +++ b/doc/ref/core.internal/html/census__rpc__stats_8h.html @@ -4,7 +4,7 @@ -GRPC Core: src/core/iomgr/pollset_kick_posix.h File Reference +GRPC Core: src/core/statistics/census_rpc_stats.h File Reference @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -80,101 +80,79 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    -
    pollset_kick_posix.h File Reference
    +
    census_rpc_stats.h File Reference
    -
    #include "src/core/iomgr/wakeup_fd_posix.h"
    -#include <grpc/support/sync.h>
    + -

    Go to the source code of this file.

    +

    Go to the source code of this file.

    - + - + + + -

    Data Structures

    struct  grpc_kick_fd_info
    struct  census_rpc_stats
     
    struct  grpc_pollset_kick_state
    struct  census_per_method_rpc_stats
     
    struct  census_aggregated_rpc_stats
     
    - - -

    -Macros

    #define GRPC_POLLSET_KICK_GET_FD(kick_fd_info)   GRPC_WAKEUP_FD_GET_READ_FD(&(kick_fd_info)->wakeup_fd)
     
    - - - - + + + +

    Typedefs

    typedef struct grpc_kick_fd_info grpc_kick_fd_info
     
    typedef struct
    -grpc_pollset_kick_state 
    grpc_pollset_kick_state
     
    typedef struct
    +census_per_method_rpc_stats 
    census_per_method_rpc_stats
     
    typedef struct
    +census_aggregated_rpc_stats 
    census_aggregated_rpc_stats
     
    - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +

    Functions

    void grpc_pollset_kick_global_init (void)
     
    void grpc_pollset_kick_global_destroy (void)
     
    void grpc_pollset_kick_init (grpc_pollset_kick_state *kick_state)
     
    void grpc_pollset_kick_destroy (grpc_pollset_kick_state *kick_state)
     
    void grpc_pollset_kick_global_init_fallback_fd (void)
     
    grpc_kick_fd_infogrpc_pollset_kick_pre_poll (grpc_pollset_kick_state *kick_state)
     
    void grpc_pollset_kick_consume (grpc_pollset_kick_state *kick_state, grpc_kick_fd_info *fd_info)
     
    void grpc_pollset_kick_post_poll (grpc_pollset_kick_state *kick_state, grpc_kick_fd_info *fd_info)
     
    void grpc_pollset_kick_kick (grpc_pollset_kick_state *kick_state)
     
    census_rpc_statscensus_rpc_stats_create_empty (void)
     
    void census_aggregated_rpc_stats_set_empty (census_aggregated_rpc_stats *data)
     
    void census_record_rpc_client_stats (census_op_id op_id, const census_rpc_stats *stats)
     
    void census_record_rpc_server_stats (census_op_id op_id, const census_rpc_stats *stats)
     
    void census_get_server_stats (census_aggregated_rpc_stats *data_map)
     
    void census_get_client_stats (census_aggregated_rpc_stats *data_map)
     
    void census_stats_store_init (void)
     
    void census_stats_store_shutdown (void)
     
    -

    Macro Definition Documentation

    - -
    -
    - - - - - - - - -
    #define GRPC_POLLSET_KICK_GET_FD( kick_fd_info)   GRPC_WAKEUP_FD_GET_READ_FD(&(kick_fd_info)->wakeup_fd)
    -
    - -
    -

    Typedef Documentation

    - + - +
    @@ -182,41 +160,31 @@ Functions

    Function Documentation

    - +
    - + - - - - - + + - - - - - - -
    void grpc_pollset_kick_consume void census_aggregated_rpc_stats_set_empty (grpc_pollset_kick_statekick_state,
    census_aggregated_rpc_statsdata) grpc_kick_fd_infofd_info 
    )
    - +
    - + - - + +
    void grpc_pollset_kick_destroy void census_get_client_stats (grpc_pollset_kick_statekick_state)census_aggregated_rpc_statsdata_map)
    @@ -224,15 +192,15 @@ Functions
    - +
    - + - - + +
    void grpc_pollset_kick_global_destroy void census_get_server_stats (void )census_aggregated_rpc_statsdata_map)
    @@ -240,63 +208,67 @@ Functions
    - +
    - + - - + + + + + + + -
    void grpc_pollset_kick_global_init void census_record_rpc_client_stats (void )census_op_id op_id,
    const census_rpc_statsstats 
    -
    - -
    -
    - -
    -
    - - - - - + +
    void grpc_pollset_kick_global_init_fallback_fd (void ) )
    - +
    - + - - + + + + + + + + + + + +
    void grpc_pollset_kick_init void census_record_rpc_server_stats (grpc_pollset_kick_statekick_state)census_op_id op_id,
    const census_rpc_statsstats 
    )
    - +
    - + - - + +
    void grpc_pollset_kick_kick census_rpc_stats* census_rpc_stats_create_empty (grpc_pollset_kick_statekick_state)void )
    @@ -304,41 +276,31 @@ Functions
    - +
    - + - - - - - - - - - - + + - -
    void grpc_pollset_kick_post_poll void census_stats_store_init (grpc_pollset_kick_statekick_state,
    grpc_kick_fd_infofd_info 
    void ) )
    - +
    - + - - + +
    grpc_kick_fd_info* grpc_pollset_kick_pre_poll void census_stats_store_shutdown (grpc_pollset_kick_statekick_state)void )
    @@ -349,7 +311,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/census__rpc__stats_8h_source.html b/doc/ref/core.internal/html/census__rpc__stats_8h_source.html new file mode 100644 index 00000000000..01f00571791 --- /dev/null +++ b/doc/ref/core.internal/html/census__rpc__stats_8h_source.html @@ -0,0 +1,231 @@ + + + + + + +GRPC Core: src/core/statistics/census_rpc_stats.h Source File + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC Core +  0.11.0.0 +
    +
    +
    + + + + + + + + + +
    + +
    + + +
    +
    +
    +
    census_rpc_stats.h
    +
    +
    +Go to the documentation of this file.
    1 /*
    +
    2  *
    +
    3  * Copyright 2015, Google Inc.
    +
    4  * All rights reserved.
    +
    5  *
    +
    6  * Redistribution and use in source and binary forms, with or without
    +
    7  * modification, are permitted provided that the following conditions are
    +
    8  * met:
    +
    9  *
    +
    10  * * Redistributions of source code must retain the above copyright
    +
    11  * notice, this list of conditions and the following disclaimer.
    +
    12  * * Redistributions in binary form must reproduce the above
    +
    13  * copyright notice, this list of conditions and the following disclaimer
    +
    14  * in the documentation and/or other materials provided with the
    +
    15  * distribution.
    +
    16  * * Neither the name of Google Inc. nor the names of its
    +
    17  * contributors may be used to endorse or promote products derived from
    +
    18  * this software without specific prior written permission.
    +
    19  *
    +
    20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    +
    21  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    +
    22  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
    +
    23  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
    +
    24  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    +
    25  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    +
    26  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
    +
    27  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
    +
    28  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
    +
    29  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
    +
    30  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    +
    31  *
    +
    32  */
    +
    33 
    +
    34 #ifndef GRPC_INTERNAL_CORE_STATISTICS_CENSUS_RPC_STATS_H
    +
    35 #define GRPC_INTERNAL_CORE_STATISTICS_CENSUS_RPC_STATS_H
    +
    36 
    + + +
    39 
    +
    40 #ifdef __cplusplus
    +
    41 extern "C" {
    +
    42 #endif
    +
    43 
    + + + + + + + + + +
    53 };
    +
    54 
    +
    55 /* Creates an empty rpc stats object on heap. */
    + +
    57 
    + +
    59  const char* method;
    +
    60  census_rpc_stats minute_stats; /* cumulative stats in the past minute */
    +
    61  census_rpc_stats hour_stats; /* cumulative stats in the past hour */
    +
    62  census_rpc_stats total_stats; /* cumulative stats from last gc */
    + +
    64 
    + + + + +
    69 
    +
    70 /* Initializes an aggregated rpc stats object to an empty state. */
    + +
    72 
    +
    73 /* Records client side stats of a rpc. */
    + +
    75  const census_rpc_stats* stats);
    +
    76 
    +
    77 /* Records server side stats of a rpc. */
    + +
    79  const census_rpc_stats* stats);
    +
    80 
    +
    81 /* The following two functions are intended for inprocess query of
    +
    82  per-service per-method stats from grpc implementations. */
    +
    83 
    +
    84 /* Populates *data_map with server side aggregated per-service per-method
    +
    85  stats.
    +
    86  DO NOT CALL from outside of grpc code. */
    + +
    88 
    +
    89 /* Populates *data_map with client side aggregated per-service per-method
    +
    90  stats.
    +
    91  DO NOT CALL from outside of grpc code. */
    + +
    93 
    +
    94 void census_stats_store_init(void);
    + +
    96 
    +
    97 #ifdef __cplusplus
    +
    98 }
    +
    99 #endif
    +
    100 
    +
    101 #endif /* GRPC_INTERNAL_CORE_STATISTICS_CENSUS_RPC_STATS_H */
    +
    gpr_uint64 app_error_cnt
    Definition: census_rpc_stats.h:47
    + +
    gpr_uint64 cnt
    Definition: census_rpc_stats.h:45
    +
    double api_request_bytes
    Definition: census_rpc_stats.h:49
    +
    void census_stats_store_shutdown(void)
    +
    void census_aggregated_rpc_stats_set_empty(census_aggregated_rpc_stats *data)
    +
    struct census_per_method_rpc_stats census_per_method_rpc_stats
    +
    const char * method
    Definition: census_rpc_stats.h:59
    + +
    census_per_method_rpc_stats * stats
    Definition: census_rpc_stats.h:67
    +
    census_rpc_stats * census_rpc_stats_create_empty(void)
    +
    void census_stats_store_init(void)
    +
    void census_get_client_stats(census_aggregated_rpc_stats *data_map)
    +
    Definition: census_rpc_stats.h:58
    +
    double wire_response_bytes
    Definition: census_rpc_stats.h:52
    +
    Definition: census_interface.h:44
    +
    double wire_request_bytes
    Definition: census_rpc_stats.h:50
    +
    Definition: census_rpc_stats.h:44
    +
    double elapsed_time_ms
    Definition: census_rpc_stats.h:48
    +
    void census_record_rpc_client_stats(census_op_id op_id, const census_rpc_stats *stats)
    +
    census_rpc_stats minute_stats
    Definition: census_rpc_stats.h:60
    +
    census_rpc_stats hour_stats
    Definition: census_rpc_stats.h:61
    +
    double api_response_bytes
    Definition: census_rpc_stats.h:51
    +
    struct census_aggregated_rpc_stats census_aggregated_rpc_stats
    +
    uint64_t gpr_uint64
    Definition: port_platform.h:313
    +
    void census_record_rpc_server_stats(census_op_id op_id, const census_rpc_stats *stats)
    +
    void census_get_server_stats(census_aggregated_rpc_stats *data_map)
    +
    census_rpc_stats total_stats
    Definition: census_rpc_stats.h:62
    +
    Definition: census_rpc_stats.h:65
    +
    int num_entries
    Definition: census_rpc_stats.h:66
    +
    gpr_uint64 rpc_error_cnt
    Definition: census_rpc_stats.h:46
    +
    + + + + diff --git a/doc/ref/core.internal/html/channel_2context_8h.html b/doc/ref/core.internal/html/channel_2context_8h.html index f458318c558..f2ec76080f5 100644 --- a/doc/ref/core.internal/html/channel_2context_8h.html +++ b/doc/ref/core.internal/html/channel_2context_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -131,7 +131,7 @@ Enumerations
    diff --git a/doc/ref/core.internal/html/channel_2context_8h_source.html b/doc/ref/core.internal/html/channel_2context_8h_source.html index 04dbab536b7..3ba191cd394 100644 --- a/doc/ref/core.internal/html/channel_2context_8h_source.html +++ b/doc/ref/core.internal/html/channel_2context_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    diff --git a/doc/ref/core.internal/html/channel_8c.html b/doc/ref/core.internal/html/channel_8c.html index 1be01c23008..0bb1256cc98 100644 --- a/doc/ref/core.internal/html/channel_8c.html +++ b/doc/ref/core.internal/html/channel_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -99,6 +99,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include <grpc/support/alloc.h>
    #include <grpc/support/log.h>
    #include <grpc/support/string_util.h>
    +#include "src/core/client_config/resolver_registry.h"
    #include "src/core/iomgr/iomgr.h"
    #include "src/core/surface/call.h"
    #include "src/core/surface/init.h"
    @@ -136,15 +137,15 @@ Functions char * grpc_channel_get_target (grpc_channel *channel)  Return a newly allocated string representing the target a channel was created for. More...
      -grpc_callgrpc_channel_create_call (grpc_channel *channel, grpc_completion_queue *cq, const char *method, const char *host, gpr_timespec deadline) - Create a call given a grpc_channel, in order to call 'method'. More...
    -  -void * grpc_channel_register_call (grpc_channel *channel, const char *method, const char *host) - Pre-register a method/host pair on a channel. More...
    -  -grpc_callgrpc_channel_create_registered_call (grpc_channel *channel, grpc_completion_queue *completion_queue, void *registered_call_handle, gpr_timespec deadline) - Create a call given a handle returned from grpc_channel_register_call. More...
    -  +grpc_callgrpc_channel_create_call (grpc_channel *channel, grpc_call *parent_call, gpr_uint32 propagation_mask, grpc_completion_queue *cq, const char *method, const char *host, gpr_timespec deadline, void *reserved) + Create a call given a grpc_channel, in order to call 'method'. More...
    +  +void * grpc_channel_register_call (grpc_channel *channel, const char *method, const char *host, void *reserved) + Pre-register a method/host pair on a channel. More...
    +  +grpc_callgrpc_channel_create_registered_call (grpc_channel *channel, grpc_call *parent_call, gpr_uint32 propagation_mask, grpc_completion_queue *completion_queue, void *registered_call_handle, gpr_timespec deadline, void *reserved) + Create a call given a handle returned from grpc_channel_register_call. More...
    +  void grpc_channel_internal_ref (grpc_channel *c)   void grpc_channel_internal_unref (grpc_channel *channel) @@ -162,6 +163,8 @@ Functions   grpc_mdstrgrpc_channel_get_compression_algorithm_string (grpc_channel *channel)   +grpc_mdstrgrpc_channel_get_encodings_accepted_by_peer_string (grpc_channel *channel) +  grpc_mdelemgrpc_channel_get_reffed_status_elem (grpc_channel *channel, int i)  Get a grpc_mdelem of grpc-status: X where X is the numeric value of status_code. More...
      @@ -260,7 +263,7 @@ Functions

    Function Documentation

    - +
    @@ -270,6 +273,18 @@ Functions + + + + + + + + + + + + @@ -292,7 +307,13 @@ Functions - + + + + + + + @@ -303,7 +324,7 @@ Functions

    Create a call given a grpc_channel, in order to call 'method'.

    -

    All completions are sent to 'completion_queue'. 'method' and 'host' need only live through the invocation of this function.

    +

    All completions are sent to 'completion_queue'. 'method' and 'host' need only live through the invocation of this function. If parent_call is non-NULL, it must be a server-side call. It will be used to propagate properties from the server call to this new client call.

    @@ -357,7 +378,7 @@ Functions - +
    grpc_channel channel,
    grpc_callparent_call,
    gpr_uint32 propagation_mask,
    gpr_timespec deadline deadline,
    void * reserved 
    @@ -367,6 +388,18 @@ Functions + + + + + + + + + + + + @@ -383,7 +416,13 @@ Functions - + + + + + + + @@ -447,6 +486,22 @@ Functions
    grpc_channel channel,
    grpc_callparent_call,
    gpr_uint32 propagation_mask,
    gpr_timespec deadline deadline,
    void * reserved 
    +
    +
    + +
    +
    + + + + + + + + +
    grpc_mdstr* grpc_channel_get_encodings_accepted_by_peer_string (grpc_channelchannel)
    +
    +
    @@ -594,7 +649,7 @@ Functions - +
    @@ -614,7 +669,13 @@ Functions - + + + + + + + @@ -631,7 +692,7 @@ Functions diff --git a/doc/ref/core.internal/html/channel_8h.html b/doc/ref/core.internal/html/channel_8h.html index 79fb0d91bc7..5451ba9bdd3 100644 --- a/doc/ref/core.internal/html/channel_8h.html +++ b/doc/ref/core.internal/html/channel_8h.html @@ -23,7 +23,7 @@ @@ -120,6 +120,8 @@ Functions + + @@ -265,6 +267,22 @@ Functions
    const char * host host,
    void * reserved 
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    grpc_mdstrgrpc_channel_get_compression_algorithm_string (grpc_channel *channel)
     
    grpc_mdstrgrpc_channel_get_encodings_accepted_by_peer_string (grpc_channel *channel)
     
    grpc_mdstrgrpc_channel_get_message_string (grpc_channel *channel)
     
    gpr_uint32 grpc_channel_get_max_message_length (grpc_channel *channel)
    +
    +
    + +
    +
    + + + + + + + + +
    grpc_mdstr* grpc_channel_get_encodings_accepted_by_peer_string (grpc_channelchannel)
    +
    +
    @@ -397,7 +415,7 @@ Functions diff --git a/doc/ref/core.internal/html/channel_8h_source.html b/doc/ref/core.internal/html/channel_8h_source.html index 3a3725e978d..445ad0b6d50 100644 --- a/doc/ref/core.internal/html/channel_8h_source.html +++ b/doc/ref/core.internal/html/channel_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -140,50 +140,53 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    56 grpc_mdstr *grpc_channel_get_status_string(grpc_channel *channel);
    57 grpc_mdstr *grpc_channel_get_compression_algorithm_string(
    58  grpc_channel *channel);
    -
    59 grpc_mdstr *grpc_channel_get_message_string(grpc_channel *channel);
    -
    60 gpr_uint32 grpc_channel_get_max_message_length(grpc_channel *channel);
    -
    61 
    -
    62 #ifdef GRPC_CHANNEL_REF_COUNT_DEBUG
    -
    63 void grpc_channel_internal_ref(grpc_channel *channel, const char *reason);
    -
    64 void grpc_channel_internal_unref(grpc_channel *channel, const char *reason);
    -
    65 #define GRPC_CHANNEL_INTERNAL_REF(channel, reason) \
    -
    66  grpc_channel_internal_ref(channel, reason)
    -
    67 #define GRPC_CHANNEL_INTERNAL_UNREF(channel, reason) \
    -
    68  grpc_channel_internal_unref(channel, reason)
    -
    69 #else
    -
    70 void grpc_channel_internal_ref(grpc_channel *channel);
    -
    71 void grpc_channel_internal_unref(grpc_channel *channel);
    -
    72 #define GRPC_CHANNEL_INTERNAL_REF(channel, reason) \
    -
    73  grpc_channel_internal_ref(channel)
    -
    74 #define GRPC_CHANNEL_INTERNAL_UNREF(channel, reason) \
    -
    75  grpc_channel_internal_unref(channel)
    -
    76 #endif
    -
    77 
    -
    78 #endif /* GRPC_INTERNAL_CORE_SURFACE_CHANNEL_H */
    +
    59 grpc_mdstr *grpc_channel_get_encodings_accepted_by_peer_string(
    +
    60  grpc_channel *channel);
    +
    61 grpc_mdstr *grpc_channel_get_message_string(grpc_channel *channel);
    +
    62 gpr_uint32 grpc_channel_get_max_message_length(grpc_channel *channel);
    +
    63 
    +
    64 #ifdef GRPC_CHANNEL_REF_COUNT_DEBUG
    +
    65 void grpc_channel_internal_ref(grpc_channel *channel, const char *reason);
    +
    66 void grpc_channel_internal_unref(grpc_channel *channel, const char *reason);
    +
    67 #define GRPC_CHANNEL_INTERNAL_REF(channel, reason) \
    +
    68  grpc_channel_internal_ref(channel, reason)
    +
    69 #define GRPC_CHANNEL_INTERNAL_UNREF(channel, reason) \
    +
    70  grpc_channel_internal_unref(channel, reason)
    +
    71 #else
    +
    72 void grpc_channel_internal_ref(grpc_channel *channel);
    +
    73 void grpc_channel_internal_unref(grpc_channel *channel);
    +
    74 #define GRPC_CHANNEL_INTERNAL_REF(channel, reason) \
    +
    75  grpc_channel_internal_ref(channel)
    +
    76 #define GRPC_CHANNEL_INTERNAL_UNREF(channel, reason) \
    +
    77  grpc_channel_internal_unref(channel)
    +
    78 #endif
    +
    79 
    +
    80 #endif /* GRPC_INTERNAL_CORE_SURFACE_CHANNEL_H */
    Definition: channel_stack.h:64
    Definition: channel_stack.h:132
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    -
    Definition: channel.c:61
    -
    void grpc_channel_internal_ref(grpc_channel *channel)
    Definition: channel.c:211
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    +
    Definition: channel.c:62
    +
    void grpc_channel_internal_ref(grpc_channel *channel)
    Definition: channel.c:268
    Definition: metadata.h:70
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    -
    grpc_mdelem * grpc_channel_get_reffed_status_elem(grpc_channel *channel, int status_code)
    Get a grpc_mdelem of grpc-status: X where X is the numeric value of status_code.
    Definition: channel.c:285
    -
    grpc_mdctx * grpc_channel_get_metadata_context(grpc_channel *channel)
    Get a (borrowed) pointer to the channel wide metadata context.
    Definition: channel.c:272
    -
    gpr_uint32 grpc_channel_get_max_message_length(grpc_channel *channel)
    Definition: channel.c:301
    -
    grpc_channel * grpc_channel_create_from_filters(const char *target, const grpc_channel_filter **filters, size_t count, const grpc_channel_args *args, grpc_mdctx *mdctx, int is_client)
    Definition: channel.c:90
    -
    grpc_channel_stack * grpc_channel_get_channel_stack(grpc_channel *channel)
    Get a (borrowed) pointer to this channels underlying channel stack.
    Definition: channel.c:268
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    +
    grpc_mdelem * grpc_channel_get_reffed_status_elem(grpc_channel *channel, int status_code)
    Get a grpc_mdelem of grpc-status: X where X is the numeric value of status_code.
    Definition: channel.c:351
    +
    grpc_mdctx * grpc_channel_get_metadata_context(grpc_channel *channel)
    Get a (borrowed) pointer to the channel wide metadata context.
    Definition: channel.c:333
    +
    gpr_uint32 grpc_channel_get_max_message_length(grpc_channel *channel)
    Definition: channel.c:367
    +
    grpc_channel * grpc_channel_create_from_filters(const char *target, const grpc_channel_filter **filters, size_t count, const grpc_channel_args *args, grpc_mdctx *mdctx, int is_client)
    Definition: channel.c:93
    +
    grpc_channel_stack * grpc_channel_get_channel_stack(grpc_channel *channel)
    Get a (borrowed) pointer to this channels underlying channel stack.
    Definition: channel.c:329
    Definition: metadata.c:98
    Definition: metadata.h:78
    -
    grpc_mdstr * grpc_channel_get_status_string(grpc_channel *channel)
    Definition: channel.c:276
    -
    grpc_mdstr * grpc_channel_get_compression_algorithm_string(grpc_channel *channel)
    Definition: channel.c:280
    -
    grpc_mdstr * grpc_channel_get_message_string(grpc_channel *channel)
    Definition: channel.c:297
    -
    void grpc_channel_internal_unref(grpc_channel *channel)
    Definition: channel.c:248
    +
    grpc_mdstr * grpc_channel_get_status_string(grpc_channel *channel)
    Definition: channel.c:337
    +
    grpc_mdstr * grpc_channel_get_compression_algorithm_string(grpc_channel *channel)
    Definition: channel.c:341
    +
    grpc_mdstr * grpc_channel_get_message_string(grpc_channel *channel)
    Definition: channel.c:363
    +
    void grpc_channel_internal_unref(grpc_channel *channel)
    Definition: channel.c:309
    +
    grpc_mdstr * grpc_channel_get_encodings_accepted_by_peer_string(grpc_channel *channel)
    Definition: channel.c:346
    diff --git a/doc/ref/core.internal/html/channel__args_8c.html b/doc/ref/core.internal/html/channel__args_8c.html index e68ae71dd52..c41427cb4e9 100644 --- a/doc/ref/core.internal/html/channel__args_8c.html +++ b/doc/ref/core.internal/html/channel__args_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -95,6 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include "src/core/support/string.h"
    #include <grpc/support/alloc.h>
    #include <grpc/support/string_util.h>
    +#include <grpc/support/useful.h>
    @@ -118,8 +119,69 @@ Functions + + + + + +

    Functions

    grpc_channel_argsgrpc_channel_args_set_compression_algorithm (grpc_channel_args *a, grpc_compression_algorithm algorithm)
     Returns a channel arg instance with compression enabled. More...
     
    grpc_channel_argsgrpc_channel_args_compression_algorithm_set_state (grpc_channel_args **a, grpc_compression_algorithm algorithm, int state)
     Sets the support for the given compression algorithm. More...
     
    int grpc_channel_args_compression_algorithm_get_states (const grpc_channel_args *a)
     Returns the bitset representing the support state (true for enabled, false for disabled) for compression algorithms. More...
     

    Function Documentation

    + +
    +
    + + + + + + + + +
    int grpc_channel_args_compression_algorithm_get_states (const grpc_channel_argsa)
    +
    + +

    Returns the bitset representing the support state (true for enabled, false for disabled) for compression algorithms.

    +

    The i-th bit of the returned bitset corresponds to the i-th entry in the grpc_compression_algorithm enum.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    grpc_channel_args* grpc_channel_args_compression_algorithm_set_state (grpc_channel_args ** a,
    grpc_compression_algorithm algorithm,
    int enabled 
    )
    +
    + +

    Sets the support for the given compression algorithm.

    +

    By default, all compression algorithms are enabled. It's an error to disable an algorithm set by grpc_channel_args_set_compression_algorithm.

    +

    Returns an instance will the updated algorithm states. The a pointer is modified to point to the returned instance (which may be different from the input value of a).

    + +
    +
    @@ -286,7 +348,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/channel__args_8h.html b/doc/ref/core.internal/html/channel__args_8h.html index 07cd2603f52..fdd4ff0dbc6 100644 --- a/doc/ref/core.internal/html/channel__args_8h.html +++ b/doc/ref/core.internal/html/channel__args_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -117,8 +117,69 @@ Functions grpc_channel_argsgrpc_channel_args_set_compression_algorithm (grpc_channel_args *a, grpc_compression_algorithm algorithm)  Returns a channel arg instance with compression enabled. More...
      +grpc_channel_argsgrpc_channel_args_compression_algorithm_set_state (grpc_channel_args **a, grpc_compression_algorithm algorithm, int enabled) + Sets the support for the given compression algorithm. More...
    +  +int grpc_channel_args_compression_algorithm_get_states (const grpc_channel_args *a) + Returns the bitset representing the support state (true for enabled, false for disabled) for compression algorithms. More...

    Function Documentation

    + +
    +
    + + + + + + + + +
    int grpc_channel_args_compression_algorithm_get_states (const grpc_channel_argsa)
    +
    + +

    Returns the bitset representing the support state (true for enabled, false for disabled) for compression algorithms.

    +

    The i-th bit of the returned bitset corresponds to the i-th entry in the grpc_compression_algorithm enum.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    grpc_channel_args* grpc_channel_args_compression_algorithm_set_state (grpc_channel_args ** a,
    grpc_compression_algorithm algorithm,
    int enabled 
    )
    +
    + +

    Sets the support for the given compression algorithm.

    +

    By default, all compression algorithms are enabled. It's an error to disable an algorithm set by grpc_channel_args_set_compression_algorithm.

    +

    Returns an instance will the updated algorithm states. The a pointer is modified to point to the returned instance (which may be different from the input value of a).

    + +
    +
    @@ -285,7 +346,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/channel__args_8h_source.html b/doc/ref/core.internal/html/channel__args_8h_source.html index da5141f5198..40dfb203853 100644 --- a/doc/ref/core.internal/html/channel__args_8h_source.html +++ b/doc/ref/core.internal/html/channel__args_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -147,23 +147,33 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    69 
    -
    70 #endif /* GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_ARGS_H */
    -
    void grpc_channel_args_destroy(grpc_channel_args *a)
    Destroy arguments created by grpc_channel_args_copy.
    Definition: channel_args.c:95
    + + + +
    80  int enabled);
    +
    81 
    + +
    88  const grpc_channel_args *a);
    +
    89 
    +
    90 #endif /* GRPC_INTERNAL_CORE_CHANNEL_CHANNEL_ARGS_H */
    +
    void grpc_channel_args_destroy(grpc_channel_args *a)
    Destroy arguments created by grpc_channel_args_copy.
    Definition: channel_args.c:96
    -
    grpc_compression_algorithm
    Definition: compression.h:45
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    -
    grpc_channel_args * grpc_channel_args_set_compression_algorithm(grpc_channel_args *a, grpc_compression_algorithm algorithm)
    Returns a channel arg instance with compression enabled.
    Definition: channel_args.c:141
    -
    A single argument...
    Definition: grpc.h:91
    -
    grpc_channel_args * grpc_channel_args_copy_and_add(const grpc_channel_args *src, const grpc_arg *to_add, size_t num_to_add)
    Copy some arguments and add the to_add parameter in the end.
    Definition: channel_args.c:64
    -
    grpc_channel_args * grpc_channel_args_copy(const grpc_channel_args *src)
    Definition: channel_args.c:86
    -
    grpc_channel_args * grpc_channel_args_merge(const grpc_channel_args *a, const grpc_channel_args *b)
    Copy args from a then args from b into a new channel args.
    Definition: channel_args.c:90
    -
    int grpc_channel_args_is_census_enabled(const grpc_channel_args *a)
    Reads census_enabled settings from channel args.
    Definition: channel_args.c:116
    +
    grpc_compression_algorithm
    Definition: compression.h:50
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    +
    grpc_channel_args * grpc_channel_args_set_compression_algorithm(grpc_channel_args *a, grpc_compression_algorithm algorithm)
    Returns a channel arg instance with compression enabled.
    Definition: channel_args.c:142
    +
    A single argument...
    Definition: grpc.h:89
    +
    int grpc_channel_args_compression_algorithm_get_states(const grpc_channel_args *a)
    Returns the bitset representing the support state (true for enabled, false for disabled) for compress...
    Definition: channel_args.c:203
    +
    grpc_channel_args * grpc_channel_args_copy_and_add(const grpc_channel_args *src, const grpc_arg *to_add, size_t num_to_add)
    Copy some arguments and add the to_add parameter in the end.
    Definition: channel_args.c:65
    +
    grpc_channel_args * grpc_channel_args_copy(const grpc_channel_args *src)
    Definition: channel_args.c:87
    +
    grpc_channel_args * grpc_channel_args_merge(const grpc_channel_args *a, const grpc_channel_args *b)
    Copy args from a then args from b into a new channel args.
    Definition: channel_args.c:91
    +
    int grpc_channel_args_is_census_enabled(const grpc_channel_args *a)
    Reads census_enabled settings from channel args.
    Definition: channel_args.c:117
    -
    grpc_compression_algorithm grpc_channel_args_get_compression_algorithm(const grpc_channel_args *a)
    Returns the compression algorithm set in a.
    Definition: channel_args.c:127
    +
    grpc_compression_algorithm grpc_channel_args_get_compression_algorithm(const grpc_channel_args *a)
    Returns the compression algorithm set in a.
    Definition: channel_args.c:128
    +
    grpc_channel_args * grpc_channel_args_compression_algorithm_set_state(grpc_channel_args **a, grpc_compression_algorithm algorithm, int enabled)
    Sets the support for the given compression algorithm.
    Definition: channel_args.c:169
    diff --git a/doc/ref/core.internal/html/channel__connectivity_8c.html b/doc/ref/core.internal/html/channel__connectivity_8c.html index d80b0b00eb9..48df8855935 100644 --- a/doc/ref/core.internal/html/channel__connectivity_8c.html +++ b/doc/ref/core.internal/html/channel__connectivity_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -224,7 +224,7 @@ Functions diff --git a/doc/ref/core.internal/html/channel__create_8c.html b/doc/ref/core.internal/html/channel__create_8c.html index 6c0daaa4d74..bd8d0ed9014 100644 --- a/doc/ref/core.internal/html/channel__create_8c.html +++ b/doc/ref/core.internal/html/channel__create_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -96,6 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); #include <stdlib.h>
    #include <string.h>
    #include <grpc/support/alloc.h>
    +#include "src/core/census/grpc_filter.h"
    #include "src/core/channel/channel_args.h"
    #include "src/core/channel/client_channel.h"
    #include "src/core/channel/compress_filter.h"
    @@ -119,9 +120,9 @@ Macros - - - + + +

    Functions

    grpc_channelgrpc_insecure_channel_create (const char *target, const grpc_channel_args *args)
     Create a client channel to 'target'. More...
     
    grpc_channelgrpc_insecure_channel_create (const char *target, const grpc_channel_args *args, void *reserved)
     Create a client channel to 'target'. More...
     

    Macro Definition Documentation

    @@ -137,7 +138,7 @@ Functions

    Function Documentation

    - +
    @@ -151,7 +152,13 @@ Functions - + + + + + + + @@ -169,7 +176,7 @@ Functions diff --git a/doc/ref/core.internal/html/channel__stack_8c.html b/doc/ref/core.internal/html/channel__stack_8c.html index 5bc66c5c076..6318ebce57c 100644 --- a/doc/ref/core.internal/html/channel__stack_8c.html +++ b/doc/ref/core.internal/html/channel__stack_8c.html @@ -23,7 +23,7 @@ @@ -548,7 +548,7 @@ Variables diff --git a/doc/ref/core.internal/html/channel__stack_8h.html b/doc/ref/core.internal/html/channel__stack_8h.html index 044110bb4fd..09b1fe99754 100644 --- a/doc/ref/core.internal/html/channel__stack_8h.html +++ b/doc/ref/core.internal/html/channel__stack_8h.html @@ -23,7 +23,7 @@ @@ -614,7 +614,7 @@ Variables diff --git a/doc/ref/core.internal/html/channel__stack_8h_source.html b/doc/ref/core.internal/html/channel__stack_8h_source.html index f7a27c52ba2..1a8938b62f5 100644 --- a/doc/ref/core.internal/html/channel__stack_8h_source.html +++ b/doc/ref/core.internal/html/channel__stack_8h_source.html @@ -23,7 +23,7 @@ @@ -294,8 +294,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    char * grpc_call_next_get_peer(grpc_call_element *elem)
    Definition: channel_stack.c:194
    int grpc_trace_channel
    Definition: channel_stack.c:40
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    -
    Definition: channel.c:61
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    +
    Definition: channel.c:62
    size_t sizeof_channel_data
    Definition: channel_stack.h:92
    Definition: transport.h:66
    void grpc_call_next_op(grpc_call_element *elem, grpc_transport_stream_op *op)
    Definition: channel_stack.c:189
    @@ -327,11 +327,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    const char * name
    Definition: channel_stack.h:111
    void * channel_data
    Definition: channel_stack.h:126
    grpc_channel_element * grpc_channel_stack_element(grpc_channel_stack *stack, size_t i)
    Definition: channel_stack.c:89
    -
    Transport op: a set of operations to perform on a transport as a whole.
    Definition: transport.h:90
    +
    Transport op: a set of operations to perform on a transport as a whole.
    Definition: transport.h:96
    diff --git a/doc/ref/core.internal/html/chttp2__transport_8c.html b/doc/ref/core.internal/html/chttp2__transport_8c.html index 28354705ad4..45414f12daa 100644 --- a/doc/ref/core.internal/html/chttp2__transport_8c.html +++ b/doc/ref/core.internal/html/chttp2__transport_8c.html @@ -23,7 +23,7 @@ @@ -137,8 +137,8 @@ Functions - - + + @@ -264,7 +264,7 @@ Variables
    Value:
    ((grpc_chttp2_transport *)((char *)(tg)-offsetof(grpc_chttp2_transport, \
    global)))
    -
    Definition: internal.h:283
    +
    Definition: internal.h:289
    @@ -283,7 +283,7 @@ Variables
    Value:
    ((grpc_chttp2_transport *)((char *)(tw)-offsetof(grpc_chttp2_transport, \
    parsing)))
    -
    Definition: internal.h:283
    +
    Definition: internal.h:289
    @@ -302,7 +302,7 @@ Variables
    Value:
    ((grpc_chttp2_transport *)((char *)(tw)-offsetof(grpc_chttp2_transport, \
    writing)))
    -
    Definition: internal.h:283
    +
    Definition: internal.h:289
    @@ -519,15 +519,15 @@ Variables - +
    const grpc_channel_argsargs args,
    void * reserved 
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    grpc_chttp2_stream_parsinggrpc_chttp2_parsing_accept_stream (grpc_chttp2_transport_parsing *transport_parsing, gpr_uint32 id)
     
    void grpc_chttp2_terminate_writing (grpc_chttp2_transport_writing *transport_writing, int success)
     
    void grpc_chttp2_terminate_writing (void *transport_writing_ptr, int success)
     
    void grpc_chttp2_add_incoming_goaway (grpc_chttp2_transport_global *transport_global, gpr_uint32 goaway_error, gpr_slice goaway_text)
     
    void grpc_chttp2_schedule_closure (grpc_chttp2_transport_global *transport_global, grpc_iomgr_closure *closure, int success)
    - - + + @@ -643,7 +643,7 @@ Variables diff --git a/doc/ref/core.internal/html/chttp2__transport_8h.html b/doc/ref/core.internal/html/chttp2__transport_8h.html index d59452e085c..af9d1b37a9a 100644 --- a/doc/ref/core.internal/html/chttp2__transport_8h.html +++ b/doc/ref/core.internal/html/chttp2__transport_8h.html @@ -23,7 +23,7 @@ @@ -209,7 +209,7 @@ Variables diff --git a/doc/ref/core.internal/html/chttp2__transport_8h_source.html b/doc/ref/core.internal/html/chttp2__transport_8h_source.html index 604c67eb949..c5c6b0eed66 100644 --- a/doc/ref/core.internal/html/chttp2__transport_8h_source.html +++ b/doc/ref/core.internal/html/chttp2__transport_8h_source.html @@ -23,7 +23,7 @@ @@ -139,20 +139,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    49 
    50 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_TRANSPORT_H */
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    int grpc_flowctl_trace
    Definition: chttp2_transport.c:61
    int grpc_http_trace
    Definition: chttp2_transport.c:60
    Definition: metadata.c:98
    -
    Definition: endpoint.h:108
    +
    Definition: endpoint.h:102
    Definition: transport_impl.h:67
    Definition: slice.h:79
    -
    grpc_transport * grpc_create_chttp2_transport(const grpc_channel_args *channel_args, grpc_endpoint *ep, grpc_mdctx *metadata_context, int is_client)
    Definition: chttp2_transport.c:1112
    -
    void grpc_chttp2_transport_start_reading(grpc_transport *transport, gpr_slice *slices, size_t nslices)
    Definition: chttp2_transport.c:1120
    +
    grpc_transport * grpc_create_chttp2_transport(const grpc_channel_args *channel_args, grpc_endpoint *ep, grpc_mdctx *metadata_context, int is_client)
    Definition: chttp2_transport.c:1276
    +
    void grpc_chttp2_transport_start_reading(grpc_transport *transport, gpr_slice *slices, size_t nslices)
    Definition: chttp2_transport.c:1284
    diff --git a/doc/ref/core.internal/html/classes.html b/doc/ref/core.internal/html/classes.html index b23822490ff..853a0f57939 100644 --- a/doc/ref/core.internal/html/classes.html +++ b/doc/ref/core.internal/html/classes.html @@ -23,7 +23,7 @@ @@ -85,91 +85,95 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Data Structure Index
    -
    A | B | C | D | E | F | G | H | I | J | L | M | N | P | R | S | T | V | W
    +
    A | B | C | D | E | F | G | H | I | J | L | M | N | O | P | R | S | T | V | W
    void grpc_chttp2_terminate_writing (grpc_chttp2_transport_writingtransport_writing, void * transport_writing_ptr,
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    + - - + - + + - - - + + + - - - - + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - + + + - - + + + - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + - - - + + - - - - + + + +
      a  
    -
    grpc_auth_context   grpc_connector   grpc_resolver   
      m  
    +
    gpr_stats_counter   grpc_completion_queue   grpc_pollset_set   lockfree_node_contents   
    gpr_strvec   grpc_composite_credentials   grpc_pollset_vtable   
      m  
    grpc_auth_json_key   grpc_connector_vtable   grpc_resolver_factory   
    arg   grpc_auth_property   grpc_cq_completion   grpc_resolver_factory_vtable   malloc_refcount   
    arg   gpr_thd_options   grpc_composite_credentials_metadata_context   grpc_pollset_worker   
      b  
    -
    grpc_auth_property_iterator   grpc_credentials   grpc_resolver_vtable   merge_args_factory   
    grpc_auth_refresh_token   grpc_credentials_array   grpc_secure_transport_setup   
      n  
    +
    gpr_timespec   grpc_compression_options   grpc_resolved_address   malloc_refcount   
    grpc_access_token_credentials   grpc_connect_in_args   grpc_resolved_addresses   merge_args_factory   
    b64_huff_sym   grpc_alarm   grpc_connect_out_args   grpc_resolver   
      n  
    b64_huff_sym   grpc_bbq_array   grpc_credentials_md   grpc_security_connector   
      c  
    -
    grpc_begin_message   grpc_credentials_md_store   grpc_security_connector_vtable   new_slice_refcount   
    grpc_byte_buffer   grpc_credentials_metadata_request   grpc_server   new_with_len_slice_refcount   
    call_data   grpc_byte_buffer_queue   grpc_credentials_vtable   grpc_server_credentials   
      p  
    +
    grpc_alarm_heap   grpc_connectivity_state_tracker   grpc_resolver_factory   
    grpc_arg   grpc_connectivity_state_watcher   grpc_resolver_factory_vtable   new_slice_refcount   
    call_data   grpc_auth_context   grpc_connector   grpc_resolver_vtable   new_with_len_slice_refcount   
    call_link   grpc_auth_json_key   grpc_connector_vtable   grpc_secure_transport_setup   
      o  
    call_link   grpc_byte_buffer_reader   grpc_endpoint   grpc_server_credentials_vtable   
    census_context   grpc_call   grpc_endpoint_pair   grpc_server_secure_state   pending_pick   
    census_stat   grpc_call_context_element   grpc_endpoint_vtable   grpc_server_security_context   pick_first_lb_policy   
    channel_broadcaster   grpc_call_details   grpc_event   grpc_service_account_credentials   
      r  
    +
    census_aggregated_rpc_stats   grpc_auth_metadata_processor   grpc_cq_completion   grpc_security_connector   
    census_aggregation   grpc_auth_property   grpc_credentials   grpc_security_connector_vtable   on_done_closure   
    census_aggregation_ops   grpc_auth_property_array   grpc_credentials_array   grpc_server   
      p  
    channel_data   grpc_call_element   grpc_fake_channel_security_connector   grpc_service_account_jwt_access_credentials   
    channel_registered_method   grpc_call_stack   grpc_fake_oauth2_credentials   grpc_ssl_channel_security_connector   received_status   
    completed_request   grpc_channel   grpc_fd   grpc_ssl_config   registered_call   
    compute_engine_detector   grpc_channel_args   grpc_fd_watcher   grpc_ssl_credentials   registered_method   
    connected_channel_call_data   grpc_channel_element   grpc_httpcli_context   grpc_ssl_pem_key_cert_pair   registered_resolver   
    connected_channel_channel_data   grpc_channel_filter   grpc_httpcli_header   grpc_ssl_server_config   reqinfo_master   
    connection   grpc_channel_security_connector   grpc_httpcli_parser   grpc_ssl_server_credentials   request_killer   
    connector   grpc_channel_stack   grpc_httpcli_request   grpc_ssl_server_security_connector   request_matcher   
    census_context   grpc_auth_property_iterator   grpc_credentials_md   grpc_server_credentials   
    census_op_id   grpc_auth_refresh_token   grpc_credentials_md_store   grpc_server_credentials_vtable   pending_pick   
    census_per_method_rpc_stats   grpc_bbq_array   grpc_credentials_metadata_request   grpc_server_secure_state   pick_first_lb_policy   
    census_rpc_name_info   grpc_begin_message   grpc_credentials_vtable   grpc_server_security_context   plucker   
    census_rpc_stats   grpc_byte_buffer   grpc_endpoint   grpc_service_account_jwt_access_credentials   
      r  
    +
    census_tag_const   grpc_byte_buffer_queue   grpc_endpoint_pair   grpc_ssl_channel_security_connector   
    census_timestamp   grpc_byte_buffer_reader   grpc_endpoint_vtable   grpc_ssl_config   received_status   
    census_trace_record   grpc_call   grpc_event   grpc_ssl_credentials   registered_call   
    census_value   grpc_call_context_element   grpc_fake_channel_security_connector   grpc_ssl_pem_key_cert_pair   registered_method   
    census_view_aggregation_data   grpc_call_details   grpc_fd   grpc_ssl_server_config   reqinfo_master   
    census_view_data   grpc_call_element   grpc_fd_watcher   grpc_ssl_server_credentials   request_matcher   
    channel_broadcaster   grpc_call_stack   grpc_google_iam_credentials   grpc_ssl_server_security_connector   requested_call   
    channel_data   grpc_channel   grpc_google_refresh_token_credentials   grpc_stream_op   
      s  
    +
    channel_registered_method   grpc_channel_args   grpc_httpcli_context   grpc_stream_op_buffer   
    close_message_data   grpc_channel_element   grpc_httpcli_handshaker   grpc_subchannel   secure_endpoint   
    completed_request   grpc_channel_filter   grpc_httpcli_header   grpc_subchannel_args   shard_type   
    compute_engine_detector   grpc_channel_security_connector   grpc_httpcli_parser   grpc_subchannel_call   shutdown_cleanup_args   
    connected_channel_call_data   grpc_channel_stack   grpc_httpcli_request   grpc_subchannel_factory   shutdown_tag   
    connected_channel_channel_data   grpc_chttp2_data_parser   grpc_httpcli_response   grpc_subchannel_factory_vtable   sockaddr_resolver   
    connection   grpc_chttp2_goaway_parser   grpc_httpcli_ssl_channel_security_connector   grpc_time_averaged_stats   state_watcher   
    connector   grpc_chttp2_hpack_compressor   grpc_iomgr_closure   grpc_transport   subchannel_factory   
      d  
    -
    grpc_chttp2_data_parser   grpc_httpcli_response   grpc_stream_op   requested_call   
    grpc_chttp2_goaway_parser   grpc_httpcli_ssl_channel_security_connector   grpc_stream_op_buffer   
      s  
    +
    grpc_chttp2_hpack_parser   grpc_iomgr_object   grpc_transport_op   
      t  
    dns_resolver   grpc_chttp2_hpack_compressor   grpc_iam_credentials   grpc_subchannel   
    dump_out   grpc_chttp2_hpack_parser   grpc_iomgr_closure   grpc_subchannel_args   secure_endpoint   
    grpc_chttp2_hpack_parser_string   grpc_ioreq   grpc_transport_stream_op   
    dns_resolver   grpc_chttp2_hptbl   grpc_ioreq_data   grpc_transport_vtable   tcp_endpoint_list   
    dump_out   grpc_chttp2_hptbl_find_result   grpc_json   grpc_uri   tracer   
      e  
    -
    grpc_chttp2_hpack_parser_string   grpc_iomgr_object   grpc_subchannel_call   shard_type   
    grpc_chttp2_hptbl   grpc_ioreq   grpc_subchannel_factory   shutdown_cleanup_args   
    email_key_mapping   grpc_chttp2_hptbl_find_result   grpc_ioreq_data   grpc_subchannel_factory_vtable   shutdown_tag   
    grpc_chttp2_huffsym   grpc_json_reader   grpc_wakeup_fd   tsi_fake_frame   
    grpc_chttp2_incoming_metadata_buffer   grpc_json_reader_vtable   grpc_wakeup_fd_vtable   tsi_fake_frame_protector   
    email_key_mapping   grpc_chttp2_incoming_metadata_live_op_buffer   grpc_json_writer   grpc_winsocket   tsi_fake_handshaker   
      f  
    -
    grpc_chttp2_huffsym   grpc_json   grpc_time_averaged_stats   sockaddr_resolver   
    grpc_chttp2_incoming_metadata_buffer   grpc_json_reader   grpc_transport   state_watcher   
    finished_loose_op_allocated_args   grpc_chttp2_incoming_metadata_live_op_buffer   grpc_json_reader_vtable   grpc_transport_op   subchannel_factory   
    framer_state   grpc_chttp2_outstanding_ping   grpc_json_writer   grpc_transport_stream_op   
      t  
    -
    grpc_chttp2_outstanding_ping   grpc_json_writer_vtable   grpc_winsocket_callback_info   tsi_frame_protector   
    grpc_chttp2_ping_parser   grpc_jwt_claims   
      h  
    +
    tsi_frame_protector_vtable   
    finished_loose_op_allocated_args   grpc_chttp2_rst_stream_parser   grpc_jwt_verifier   tsi_handshaker   
    framer_state   grpc_chttp2_setting_parameters   grpc_jwt_verifier_email_domain_key_url_mapping   huff_out   tsi_handshaker_vtable   
      g  
    -
    grpc_chttp2_ping_parser   grpc_json_writer_vtable   grpc_transport_vtable   
    grpc_chttp2_rst_stream_parser   grpc_jwt_claims   grpc_uri   tcp_endpoint_list   
    gpr_cancellable   grpc_chttp2_setting_parameters   grpc_jwt_verifier   grpc_wakeup_fd_info   tracer   
    gpr_cancellable_list_   grpc_chttp2_settings_parser   grpc_jwt_verifier_email_domain_key_url_mapping   grpc_wakeup_fd_vtable   tsi_fake_frame   
    gpr_cmdline   grpc_chttp2_stream   grpc_kick_fd_info   grpc_winsocket   tsi_fake_frame_protector   
    gpr_event   grpc_chttp2_stream_global   grpc_lb_policy   grpc_winsocket_callback_info   tsi_fake_handshaker   
    gpr_gcc_thread_local   grpc_chttp2_stream_link   grpc_lb_policy_vtable   
      h  
    -
    tsi_frame_protector   
    gpr_histogram   grpc_chttp2_stream_list   grpc_linked_mdelem   tsi_frame_protector_vtable   
    gpr_log_func_args   grpc_chttp2_stream_map   grpc_mdctx   huff_out   tsi_handshaker   
    gpr_msvc_thread_local   grpc_chttp2_stream_parsing   grpc_mdelem   
      i  
    -
    tsi_handshaker_vtable   
    gpr_mu   grpc_chttp2_stream_writing   grpc_mdelem_list   tsi_peer   
    gpr_pthread_thread_local   grpc_chttp2_transport   grpc_mdstr   internal_metadata   tsi_peer_property   
    gpr_refcount   grpc_chttp2_transport_global   grpc_metadata   internal_request   tsi_ssl_client_handshaker_factory   
    gpr_slice   grpc_chttp2_transport_parsing   grpc_metadata_array   internal_string   tsi_ssl_frame_protector   
    gpr_slice_buffer   grpc_chttp2_transport_writing   grpc_metadata_batch   
      j  
    -
    tsi_ssl_handshaker   
    gpr_slice_refcount   grpc_chttp2_window_update_parser   grpc_oauth2_token_fetcher_credentials   tsi_ssl_handshaker_factory   
    gpr_stack_lockfree   grpc_client_config   grpc_op   jose_header   tsi_ssl_server_handshaker_factory   
    gpr_stats_counter   grpc_client_security_context   grpc_pollset   json_reader_userdata   
      v  
    +
    grpc_chttp2_settings_parser   grpc_lb_policy   
      i  
    +
    tsi_peer   
    grpc_chttp2_stream   grpc_lb_policy_vtable   tsi_peer_property   
    gpr_cmdline   grpc_chttp2_stream_global   grpc_linked_mdelem   internal_metadata   tsi_ssl_client_handshaker_factory   
    gpr_event   grpc_chttp2_stream_link   grpc_md_only_test_credentials   internal_request   tsi_ssl_frame_protector   
    gpr_gcc_thread_local   grpc_chttp2_stream_list   grpc_mdctx   internal_string   tsi_ssl_handshaker   
    gpr_histogram   grpc_chttp2_stream_map   grpc_mdelem   
      j  
    +
    tsi_ssl_handshaker_factory   
    gpr_log_func_args   grpc_chttp2_stream_parsing   grpc_mdelem_list   tsi_ssl_server_handshaker_factory   
    gpr_msvc_thread_local   grpc_chttp2_stream_writing   grpc_mdstr   jose_header   
      v  
    gpr_strvec   grpc_completion_queue   grpc_pollset_kick_state   json_writer_userdata   
    gpr_thd_options   grpc_composite_credentials   grpc_pollset_set   
      l  
    -
    verifier_cb_ctx   
    gpr_timespec   grpc_composite_credentials_metadata_context   grpc_pollset_vtable   
      w  
    +
    gpr_mu   grpc_chttp2_transport   grpc_metadata   json_reader_userdata   
    gpr_pthread_thread_local   grpc_chttp2_transport_global   grpc_metadata_array   json_writer_userdata   verifier_cb_ctx   
    gpr_refcount   grpc_chttp2_transport_parsing   grpc_metadata_batch   
      l  
    +
      w  
    grpc_access_token_credentials   grpc_connect_in_args   grpc_precise_clock   lb_policy_connectivity_watcher   
    grpc_alarm   grpc_connect_out_args   grpc_refresh_token_credentials   listener   waiting_call   
    grpc_alarm_heap   grpc_connectivity_state_tracker   grpc_resolved_address   lockfree_node   waiting_for_connect   
    grpc_arg   grpc_connectivity_state_watcher   grpc_resolved_addresses   lockfree_node_contents   
    gpr_slice   grpc_chttp2_transport_writing   grpc_oauth2_token_fetcher_credentials   
    gpr_slice_buffer   grpc_chttp2_window_update_parser   grpc_op   lb_policy_connectivity_watcher   waiting_call   
    gpr_slice_refcount   grpc_client_config   grpc_plugin   listener   waiting_for_connect   
    gpr_stack_lockfree   grpc_client_security_context   grpc_pollset   lockfree_node   
    -
    A | B | C | D | E | F | G | H | I | J | L | M | N | P | R | S | T | V | W
    +
    A | B | C | D | E | F | G | H | I | J | L | M | N | O | P | R | S | T | V | W
    diff --git a/doc/ref/core.internal/html/client__auth__filter_8c.html b/doc/ref/core.internal/html/client__auth__filter_8c.html index c429122b101..40f666b9495 100644 --- a/doc/ref/core.internal/html/client__auth__filter_8c.html +++ b/doc/ref/core.internal/html/client__auth__filter_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -159,7 +159,7 @@ Variables
    diff --git a/doc/ref/core.internal/html/client__channel_8c.html b/doc/ref/core.internal/html/client__channel_8c.html index 499bc9b2625..1ee2cb5f5f8 100644 --- a/doc/ref/core.internal/html/client__channel_8c.html +++ b/doc/ref/core.internal/html/client__channel_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -397,7 +397,7 @@ Variables diff --git a/doc/ref/core.internal/html/client__channel_8h.html b/doc/ref/core.internal/html/client__channel_8h.html index b3f0ca9bccb..d63d0cae91b 100644 --- a/doc/ref/core.internal/html/client__channel_8h.html +++ b/doc/ref/core.internal/html/client__channel_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -285,7 +285,7 @@ Variables diff --git a/doc/ref/core.internal/html/client__channel_8h_source.html b/doc/ref/core.internal/html/client__channel_8h_source.html index 692fbfc26c4..e9e45a0c502 100644 --- a/doc/ref/core.internal/html/client__channel_8h_source.html +++ b/doc/ref/core.internal/html/client__channel_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -149,35 +149,36 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    59  grpc_channel_element *elem, grpc_connectivity_state *state,
    60  grpc_iomgr_closure *on_complete);
    61 
    -
    62 grpc_pollset_set *grpc_client_channel_get_connecting_pollset_set(grpc_channel_element *elem);
    -
    63 
    -
    64 void grpc_client_channel_add_interested_party(grpc_channel_element *channel,
    -
    65  grpc_pollset *pollset);
    -
    66 void grpc_client_channel_del_interested_party(grpc_channel_element *channel,
    -
    67  grpc_pollset *pollset);
    -
    68 
    -
    69 #endif /* GRPC_INTERNAL_CORE_CHANNEL_CLIENT_CHANNEL_H */
    +
    62 grpc_pollset_set *grpc_client_channel_get_connecting_pollset_set(
    +
    63  grpc_channel_element *elem);
    +
    64 
    +
    65 void grpc_client_channel_add_interested_party(grpc_channel_element *channel,
    +
    66  grpc_pollset *pollset);
    +
    67 void grpc_client_channel_del_interested_party(grpc_channel_element *channel,
    +
    68  grpc_pollset *pollset);
    +
    69 
    +
    70 #endif /* GRPC_INTERNAL_CORE_CHANNEL_CLIENT_CHANNEL_H */
    Definition: channel_stack.h:64
    -
    grpc_connectivity_state
    Connectivity state of a channel.
    Definition: grpc.h:139
    +
    grpc_connectivity_state
    Connectivity state of a channel.
    Definition: grpc.h:145
    Definition: channel_stack.h:132
    -
    void grpc_client_channel_watch_connectivity_state(grpc_channel_element *elem, grpc_connectivity_state *state, grpc_iomgr_closure *on_complete)
    Definition: client_channel.c:718
    +
    void grpc_client_channel_watch_connectivity_state(grpc_channel_element *elem, grpc_connectivity_state *state, grpc_iomgr_closure *on_complete)
    Definition: client_channel.c:747
    -
    void grpc_client_channel_set_resolver(grpc_channel_stack *channel_stack, grpc_resolver *resolver)
    Definition: client_channel.c:688
    -
    Definition: pollset_posix.h:48
    +
    void grpc_client_channel_set_resolver(grpc_channel_stack *channel_stack, grpc_resolver *resolver)
    Definition: client_channel.c:705
    +
    Definition: pollset_posix.h:55
    grpc_resolver provides grpc_client_config objects to grpc_channel objects
    Definition: resolver.h:46
    -
    const grpc_channel_filter grpc_client_channel_filter
    Definition: client_channel.c:675
    +
    const grpc_channel_filter grpc_client_channel_filter
    Definition: client_channel.c:692
    A closure over a grpc_iomgr_cb_func.
    Definition: iomgr.h:45
    -
    grpc_connectivity_state grpc_client_channel_check_connectivity_state(grpc_channel_element *elem, int try_to_connect)
    Definition: client_channel.c:701
    +
    grpc_connectivity_state grpc_client_channel_check_connectivity_state(grpc_channel_element *elem, int try_to_connect)
    Definition: client_channel.c:724
    Definition: channel_stack.h:116
    -
    grpc_pollset_set * grpc_client_channel_get_connecting_pollset_set(grpc_channel_element *elem)
    Definition: client_channel.c:728
    +
    grpc_pollset_set * grpc_client_channel_get_connecting_pollset_set(grpc_channel_element *elem)
    Definition: client_channel.c:757
    Definition: pollset_set_posix.h:40
    -
    void grpc_client_channel_add_interested_party(grpc_channel_element *channel, grpc_pollset *pollset)
    Definition: client_channel.c:733
    -
    void grpc_client_channel_del_interested_party(grpc_channel_element *channel, grpc_pollset *pollset)
    Definition: client_channel.c:739
    +
    void grpc_client_channel_add_interested_party(grpc_channel_element *channel, grpc_pollset *pollset)
    Definition: client_channel.c:763
    +
    void grpc_client_channel_del_interested_party(grpc_channel_element *channel, grpc_pollset *pollset)
    Definition: client_channel.c:769
    diff --git a/doc/ref/core.internal/html/client__config_8c.html b/doc/ref/core.internal/html/client__config_8c.html index d721feeb171..6526a98e6c7 100644 --- a/doc/ref/core.internal/html/client__config_8c.html +++ b/doc/ref/core.internal/html/client__config_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -206,7 +206,7 @@ Functions diff --git a/doc/ref/core.internal/html/client__config_8h.html b/doc/ref/core.internal/html/client__config_8h.html index 012ef819902..af0f0b9c857 100644 --- a/doc/ref/core.internal/html/client__config_8h.html +++ b/doc/ref/core.internal/html/client__config_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -223,7 +223,7 @@ Functions diff --git a/doc/ref/core.internal/html/client__config_8h_source.html b/doc/ref/core.internal/html/client__config_8h_source.html index d3455ab3ca6..146cf6a5aa0 100644 --- a/doc/ref/core.internal/html/client__config_8h_source.html +++ b/doc/ref/core.internal/html/client__config_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/cmdline_8c.html b/doc/ref/core.internal/html/cmdline_8c.html index bee6a608fac..c84e26de755 100644 --- a/doc/ref/core.internal/html/cmdline_8c.html +++ b/doc/ref/core.internal/html/cmdline_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -426,7 +426,7 @@ Functions diff --git a/doc/ref/core.internal/html/cmdline_8h.html b/doc/ref/core.internal/html/cmdline_8h.html index 14581cc54f2..9f8863a1b3e 100644 --- a/doc/ref/core.internal/html/cmdline_8h.html +++ b/doc/ref/core.internal/html/cmdline_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -383,7 +383,7 @@ Functions diff --git a/doc/ref/core.internal/html/cmdline_8h_source.html b/doc/ref/core.internal/html/cmdline_8h_source.html index 43a4422a254..a794708dc42 100644 --- a/doc/ref/core.internal/html/cmdline_8h_source.html +++ b/doc/ref/core.internal/html/cmdline_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -184,7 +184,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    94 }
    95 #endif
    96 
    -
    97 #endif /* GRPC_SUPPORT_CMDLINE_H */
    +
    97 #endif /* GRPC_SUPPORT_CMDLINE_H */
    const char * value
    Definition: hpack_table.c:44
    void gpr_cmdline_destroy(gpr_cmdline *cl)
    Definition: cmdline.c:81
    Definition: cmdline.c:47
    @@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/completion__queue_8c.html b/doc/ref/core.internal/html/completion__queue_8c.html index bc38faaa797..8bf18f06afe 100644 --- a/doc/ref/core.internal/html/completion__queue_8c.html +++ b/doc/ref/core.internal/html/completion__queue_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -104,14 +104,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + +

    Data Structures

    struct  plucker
     
    struct  grpc_completion_queue
     
    - - - + + + @@ -120,12 +122,12 @@ Functions - - - - - - + + + + + + @@ -134,23 +136,21 @@ Functions - -

    Functions

    grpc_completion_queuegrpc_completion_queue_create (void)
     Create a completion queue. More...
     
    grpc_completion_queuegrpc_completion_queue_create (void *reserved)
     Create a completion queue. More...
     
    void grpc_cq_internal_ref (grpc_completion_queue *cc)
     
    void grpc_cq_internal_unref (grpc_completion_queue *cc)
     
    void grpc_cq_end_op (grpc_completion_queue *cc, void *tag, int success, void(*done)(void *done_arg, grpc_cq_completion *storage), void *done_arg, grpc_cq_completion *storage)
     
    grpc_event grpc_completion_queue_next (grpc_completion_queue *cc, gpr_timespec deadline)
     Blocks until an event is available, the completion queue is being shut down, or deadline is reached. More...
     
    grpc_event grpc_completion_queue_pluck (grpc_completion_queue *cc, void *tag, gpr_timespec deadline)
     Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached. More...
     
    grpc_event grpc_completion_queue_next (grpc_completion_queue *cc, gpr_timespec deadline, void *reserved)
     Blocks until an event is available, the completion queue is being shut down, or deadline is reached. More...
     
    grpc_event grpc_completion_queue_pluck (grpc_completion_queue *cc, void *tag, gpr_timespec deadline, void *reserved)
     Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached. More...
     
    void grpc_completion_queue_shutdown (grpc_completion_queue *cc)
     Begin destruction of a completion queue. More...
     
     
    grpc_pollsetgrpc_cq_pollset (grpc_completion_queue *cc)
     
    void grpc_cq_hack_spin_pollset (grpc_completion_queue *cc)
     
    void grpc_cq_mark_server_cq (grpc_completion_queue *cc)
     
    int grpc_cq_is_server_cq (grpc_completion_queue *cc)
     

    Function Documentation

    - +
    - - + +
    grpc_completion_queue* grpc_completion_queue_create (void )void * reserved)
    @@ -179,7 +179,7 @@ Functions
    - +
    @@ -193,7 +193,13 @@ Functions - + + + + + + + @@ -209,7 +215,7 @@ Functions - +
    gpr_timespec deadline deadline,
    void * reserved 
    @@ -229,7 +235,13 @@ Functions - + + + + + + + @@ -241,7 +253,8 @@ Functions

    Blocks until an event with tag 'tag' is available, the completion queue is being shutdown or deadline is reached.

    Returns a grpc_event with type GRPC_QUEUE_TIMEOUT on timeout, otherwise a grpc_event describing the event that occurred.

    -

    Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue.

    +

    Callers must not call grpc_completion_queue_next and grpc_completion_queue_pluck simultaneously on the same completion queue.

    +

    Completion queues support a maximum of GRPC_MAX_COMPLETION_QUEUE_PLUCKERS concurrently executing plucks at any time.

    @@ -329,22 +342,6 @@ Functions
    gpr_timespec deadline deadline,
    void * reserved 
    -
    -
    - -
    -
    - - - - - - - - -
    void grpc_cq_hack_spin_pollset (grpc_completion_queuecc)
    -
    -
    @@ -430,7 +427,7 @@ Functions diff --git a/doc/ref/core.internal/html/completion__queue_8h.html b/doc/ref/core.internal/html/completion__queue_8h.html index 7160d965a11..dc4d944c7d2 100644 --- a/doc/ref/core.internal/html/completion__queue_8h.html +++ b/doc/ref/core.internal/html/completion__queue_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -127,8 +127,6 @@ Functions   grpc_pollsetgrpc_cq_pollset (grpc_completion_queue *cc)   -void grpc_cq_hack_spin_pollset (grpc_completion_queue *cc) -  void grpc_cq_mark_server_cq (grpc_completion_queue *cc)   int grpc_cq_is_server_cq (grpc_completion_queue *cc) @@ -265,22 +263,6 @@ Functions
    -
    - - -
    -
    - - - - - - - - -
    void grpc_cq_hack_spin_pollset (grpc_completion_queuecc)
    -
    -
    @@ -366,7 +348,7 @@ Functions diff --git a/doc/ref/core.internal/html/completion__queue_8h_source.html b/doc/ref/core.internal/html/completion__queue_8h_source.html index 48d49362528..6a9603872e1 100644 --- a/doc/ref/core.internal/html/completion__queue_8h_source.html +++ b/doc/ref/core.internal/html/completion__queue_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -124,7 +124,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPC_INTERNAL_CORE_SURFACE_COMPLETION_QUEUE_H
    35 #define GRPC_INTERNAL_CORE_SURFACE_COMPLETION_QUEUE_H
    36 
    -
    37 /* Internal API for completion channels */
    +
    37 /* Internal API for completion queues */
    38 
    39 #include "src/core/iomgr/pollset.h"
    40 #include <grpc/grpc.h>
    @@ -163,35 +163,32 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    77 
    78 grpc_pollset *grpc_cq_pollset(grpc_completion_queue *cc);
    79 
    -
    80 void grpc_cq_hack_spin_pollset(grpc_completion_queue *cc);
    -
    81 
    -
    82 void grpc_cq_mark_server_cq(grpc_completion_queue *cc);
    -
    83 int grpc_cq_is_server_cq(grpc_completion_queue *cc);
    -
    84 
    -
    85 #endif /* GRPC_INTERNAL_CORE_SURFACE_COMPLETION_QUEUE_H */
    -
    grpc_pollset * grpc_cq_pollset(grpc_completion_queue *cc)
    Definition: completion_queue.c:260
    -
    uintptr_t gpr_uintptr
    Definition: port_platform.h:314
    +
    80 void grpc_cq_mark_server_cq(grpc_completion_queue *cc);
    +
    81 int grpc_cq_is_server_cq(grpc_completion_queue *cc);
    +
    82 
    +
    83 #endif /* GRPC_INTERNAL_CORE_SURFACE_COMPLETION_QUEUE_H */
    +
    grpc_pollset * grpc_cq_pollset(grpc_completion_queue *cc)
    Definition: completion_queue.c:336
    +
    uintptr_t gpr_uintptr
    Definition: port_platform.h:317
    struct grpc_cq_completion grpc_cq_completion
    Definition: completion_queue.h:42
    gpr_uintptr next
    next pointer; low bit is used to indicate success or not
    Definition: completion_queue.h:50
    -
    Definition: pollset_posix.h:48
    -
    void grpc_cq_hack_spin_pollset(grpc_completion_queue *cc)
    Definition: completion_queue.c:264
    +
    Definition: pollset_posix.h:55
    void * done_arg
    Definition: completion_queue.h:48
    void(* done)(void *done_arg, struct grpc_cq_completion *c)
    done callback - called when this queue element is no longer needed by the completion queue ...
    Definition: completion_queue.h:47
    -
    void grpc_cq_end_op(grpc_completion_queue *cc, void *tag, int success, void(*done)(void *done_arg, grpc_cq_completion *storage), void *done_arg, grpc_cq_completion *storage)
    Definition: completion_queue.c:116
    -
    Definition: completion_queue.c:49
    -
    void grpc_cq_internal_unref(grpc_completion_queue *cc)
    Definition: completion_queue.c:100
    -
    void grpc_cq_begin_op(grpc_completion_queue *cc)
    Definition: completion_queue.c:109
    -
    void grpc_cq_internal_ref(grpc_completion_queue *cc)
    Definition: completion_queue.c:84
    +
    void grpc_cq_end_op(grpc_completion_queue *cc, void *tag, int success, void(*done)(void *done_arg, grpc_cq_completion *storage), void *done_arg, grpc_cq_completion *storage)
    Definition: completion_queue.c:129
    +
    Definition: completion_queue.c:54
    +
    void grpc_cq_internal_unref(grpc_completion_queue *cc)
    Definition: completion_queue.c:108
    +
    void grpc_cq_begin_op(grpc_completion_queue *cc)
    Definition: completion_queue.c:117
    +
    void grpc_cq_internal_ref(grpc_completion_queue *cc)
    Definition: completion_queue.c:92
    void * tag
    user supplied tag
    Definition: completion_queue.h:44
    -
    void grpc_cq_mark_server_cq(grpc_completion_queue *cc)
    Definition: completion_queue.c:273
    -
    int grpc_cq_is_server_cq(grpc_completion_queue *cc)
    Definition: completion_queue.c:275
    +
    void grpc_cq_mark_server_cq(grpc_completion_queue *cc)
    Definition: completion_queue.c:340
    +
    int grpc_cq_is_server_cq(grpc_completion_queue *cc)
    Definition: completion_queue.c:342
    diff --git a/doc/ref/core.internal/html/compress__filter_8c.html b/doc/ref/core.internal/html/compress__filter_8c.html index dd631c6fac8..7e0e8db7607 100644 --- a/doc/ref/core.internal/html/compress__filter_8c.html +++ b/doc/ref/core.internal/html/compress__filter_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -95,6 +95,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include <assert.h>
    #include <string.h>
    #include <grpc/compression.h>
    +#include <grpc/support/alloc.h>
    #include <grpc/support/log.h>
    #include <grpc/support/slice_buffer.h>
    #include "src/core/channel/compress_filter.h"
    @@ -188,7 +189,7 @@ Variables
    diff --git a/doc/ref/core.internal/html/compress__filter_8h.html b/doc/ref/core.internal/html/compress__filter_8h.html index 2e332a498f1..5d6bd35cda9 100644 --- a/doc/ref/core.internal/html/compress__filter_8h.html +++ b/doc/ref/core.internal/html/compress__filter_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -97,7 +97,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - +

    Macros

    #define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY   "internal:grpc-encoding-request"
    #define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY   "grpc-internal-encoding-request"
     

    @@ -112,7 +112,7 @@ Variables

    - +
    #define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY   "internal:grpc-encoding-request"#define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY   "grpc-internal-encoding-request"
    @@ -146,7 +146,7 @@ Variables
    diff --git a/doc/ref/core.internal/html/compress__filter_8h_source.html b/doc/ref/core.internal/html/compress__filter_8h_source.html index a2d03bc1e37..778051d97de 100644 --- a/doc/ref/core.internal/html/compress__filter_8h_source.html +++ b/doc/ref/core.internal/html/compress__filter_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -126,18 +126,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    36 
    37 #include "src/core/channel/channel_stack.h"
    38 
    -
    39 #define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY "internal:grpc-encoding-request"
    +
    39 #define GRPC_COMPRESS_REQUEST_ALGORITHM_KEY "grpc-internal-encoding-request"
    40 
    63 extern const grpc_channel_filter grpc_compress_filter;
    64 
    -
    65 #endif /* GRPC_INTERNAL_CORE_CHANNEL_COMPRESS_FILTER_H */
    +
    65 #endif /* GRPC_INTERNAL_CORE_CHANNEL_COMPRESS_FILTER_H */
    Definition: channel_stack.h:64
    -
    const grpc_channel_filter grpc_compress_filter
    Compression filter for outgoing data.
    Definition: compress_filter.c:318
    +
    const grpc_channel_filter grpc_compress_filter
    Compression filter for outgoing data.
    Definition: compress_filter.c:353
    diff --git a/doc/ref/core.internal/html/compression_8h.html b/doc/ref/core.internal/html/compression_8h.html index 9a955297bd8..aa9e538265a 100644 --- a/doc/ref/core.internal/html/compression_8h.html +++ b/doc/ref/core.internal/html/compression_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -85,21 +85,38 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    compression.h File Reference
    - +
    #include <stdlib.h>
    +#include <grpc/support/port_platform.h>
    +

    Go to the source code of this file.

    + + + +

    +Data Structures

    struct  grpc_compression_options
     
    + + +

    Macros

    #define GRPC_COMPRESSION_ALGORITHM_ARG   "grpc.compression_algorithm"
     To be used in channel arguments. More...
     
    #define GRPC_COMPRESSION_ALGORITHM_STATE_ARG   "grpc.compression_algorithm_state"
     
    + + +

    +Typedefs

    typedef struct
    +grpc_compression_options 
    grpc_compression_options
     
    @@ -122,9 +139,9 @@ Enumerations

    Enumerations

    - - - + + + @@ -134,6 +151,17 @@ Functions + + + + + + + + + + +

    Functions

    int grpc_compression_algorithm_parse (const char *name, grpc_compression_algorithm *algorithm)
     Parses name as a grpc_compression_algorithm instance, updating algorithm. More...
     
    int grpc_compression_algorithm_parse (const char *name, size_t name_length, grpc_compression_algorithm *algorithm)
     Parses the first name_length bytes of name as a grpc_compression_algorithm instance, updating algorithm. More...
     
    int grpc_compression_algorithm_name (grpc_compression_algorithm algorithm, char **name)
     Updates name with the encoding name corresponding to a valid algorithm. More...
     
    grpc_compression_algorithm grpc_compression_algorithm_for_level (grpc_compression_level level)
     Returns the compression algorithm corresponding to level. More...
     
    void grpc_compression_options_init (grpc_compression_options *opts)
     
    void grpc_compression_options_enable_algorithm (grpc_compression_options *opts, grpc_compression_algorithm algorithm)
     Mark algorithm as enabled in opts. More...
     
    void grpc_compression_options_disable_algorithm (grpc_compression_options *opts, grpc_compression_algorithm algorithm)
     Mark algorithm as disabled in opts. More...
     
    int grpc_compression_options_is_algorithm_enabled (const grpc_compression_options *opts, grpc_compression_algorithm algorithm)
     Returns true if algorithm is marked as enabled in opts. More...
     

    Macro Definition Documentation

    @@ -148,6 +176,31 @@ Functions

    To be used in channel arguments.

    +
    + + +
    +
    + + + + +
    #define GRPC_COMPRESSION_ALGORITHM_STATE_ARG   "grpc.compression_algorithm_state"
    +
    + +
    +
    +

    Typedef Documentation

    + +
    +
    +

    Enumeration Type Documentation

    @@ -246,7 +299,7 @@ Functions - +
    @@ -256,6 +309,12 @@ Functions + + + + + + @@ -270,7 +329,7 @@ Functions
    const char *  name,
    size_t name_length,
    -

    Parses name as a grpc_compression_algorithm instance, updating algorithm.

    +

    Parses the first name_length bytes of name as a grpc_compression_algorithm instance, updating algorithm.

    Returns 1 upon success, 0 otherwise.

    @@ -292,12 +351,112 @@ Functions

    Returns the compression level corresponding to algorithm.

    It abort()s for unknown algorithms.

    +
    + + +
    +
    + + + + + + + + + + + + + + + + + + +
    void grpc_compression_options_disable_algorithm (grpc_compression_optionsopts,
    grpc_compression_algorithm algorithm 
    )
    +
    + +

    Mark algorithm as disabled in opts.

    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void grpc_compression_options_enable_algorithm (grpc_compression_optionsopts,
    grpc_compression_algorithm algorithm 
    )
    +
    + +

    Mark algorithm as enabled in opts.

    + +
    +
    + +
    +
    + + + + + + + + +
    void grpc_compression_options_init (grpc_compression_optionsopts)
    +
    + +
    +
    + +
    +
    + + + + + + + + + + + + + + + + + + +
    int grpc_compression_options_is_algorithm_enabled (const grpc_compression_optionsopts,
    grpc_compression_algorithm algorithm 
    )
    +
    + +

    Returns true if algorithm is marked as enabled in opts.

    +
    diff --git a/doc/ref/core.internal/html/compression_8h_source.html b/doc/ref/core.internal/html/compression_8h_source.html index 65023967506..1726dba6297 100644 --- a/doc/ref/core.internal/html/compression_8h_source.html +++ b/doc/ref/core.internal/html/compression_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -124,65 +124,96 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    34 #ifndef GRPC_COMPRESSION_H
    35 #define GRPC_COMPRESSION_H
    36 
    -
    37 #ifdef __cplusplus
    -
    38 extern "C" {
    -
    39 #endif
    -
    40 
    -
    42 #define GRPC_COMPRESSION_ALGORITHM_ARG "grpc.compression_algorithm"
    -
    43 
    -
    44 /* The various compression algorithms supported by GRPC */
    -
    45 typedef enum {
    -
    46  GRPC_COMPRESS_NONE = 0,
    -
    47  GRPC_COMPRESS_DEFLATE,
    -
    48  GRPC_COMPRESS_GZIP,
    -
    49  /* TODO(ctiller): snappy */
    -
    50  GRPC_COMPRESS_ALGORITHMS_COUNT
    -
    51 } grpc_compression_algorithm;
    -
    52 
    -
    53 typedef enum {
    -
    54  GRPC_COMPRESS_LEVEL_NONE = 0,
    -
    55  GRPC_COMPRESS_LEVEL_LOW,
    -
    56  GRPC_COMPRESS_LEVEL_MED,
    -
    57  GRPC_COMPRESS_LEVEL_HIGH,
    -
    58  GRPC_COMPRESS_LEVEL_COUNT
    -
    59 } grpc_compression_level;
    -
    60 
    -
    63 int grpc_compression_algorithm_parse(const char *name,
    -
    64  grpc_compression_algorithm *algorithm);
    +
    37 #include <stdlib.h>
    +
    38 
    +
    39 #include <grpc/support/port_platform.h>
    +
    40 
    +
    41 #ifdef __cplusplus
    +
    42 extern "C" {
    +
    43 #endif
    +
    44 
    +
    46 #define GRPC_COMPRESSION_ALGORITHM_ARG "grpc.compression_algorithm"
    +
    47 #define GRPC_COMPRESSION_ALGORITHM_STATE_ARG "grpc.compression_algorithm_state"
    +
    48 
    +
    49 /* The various compression algorithms supported by GRPC */
    +
    50 typedef enum {
    +
    51  GRPC_COMPRESS_NONE = 0,
    +
    52  GRPC_COMPRESS_DEFLATE,
    +
    53  GRPC_COMPRESS_GZIP,
    +
    54  /* TODO(ctiller): snappy */
    +
    55  GRPC_COMPRESS_ALGORITHMS_COUNT
    +
    56 } grpc_compression_algorithm;
    +
    57 
    +
    58 typedef enum {
    +
    59  GRPC_COMPRESS_LEVEL_NONE = 0,
    +
    60  GRPC_COMPRESS_LEVEL_LOW,
    +
    61  GRPC_COMPRESS_LEVEL_MED,
    +
    62  GRPC_COMPRESS_LEVEL_HIGH,
    +
    63  GRPC_COMPRESS_LEVEL_COUNT
    +
    64 } grpc_compression_level;
    65 
    -
    68 int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm,
    -
    69  char **name);
    +
    66 typedef struct grpc_compression_options {
    +
    67  gpr_uint32 enabled_algorithms_bitset;
    +
    68  grpc_compression_algorithm default_compression_algorithm;
    +
    69 } grpc_compression_options;
    70 
    -
    74 grpc_compression_level grpc_compression_level_for_algorithm(
    -
    75  grpc_compression_algorithm algorithm);
    +
    74 int grpc_compression_algorithm_parse(const char *name, size_t name_length,
    +
    75  grpc_compression_algorithm *algorithm);
    76 
    -
    80 grpc_compression_algorithm grpc_compression_algorithm_for_level(
    -
    81  grpc_compression_level level);
    -
    82 
    -
    83 #ifdef __cplusplus
    -
    84 }
    -
    85 #endif
    -
    86 
    -
    87 #endif /* GRPC_COMPRESSION_H */
    -
    Definition: compression.h:50
    -
    grpc_compression_algorithm
    Definition: compression.h:45
    -
    Definition: compression.h:48
    -
    int grpc_compression_algorithm_parse(const char *name, grpc_compression_algorithm *algorithm)
    Parses name as a grpc_compression_algorithm instance, updating algorithm.
    Definition: algorithm.c:38
    -
    Definition: compression.h:47
    -
    Definition: compression.h:54
    -
    Definition: compression.h:55
    -
    grpc_compression_level grpc_compression_level_for_algorithm(grpc_compression_algorithm algorithm)
    Returns the compression level corresponding to algorithm.
    Definition: algorithm.c:87
    -
    grpc_compression_level
    Definition: compression.h:53
    -
    Definition: compression.h:46
    -
    Definition: compression.h:56
    -
    int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, char **name)
    Updates name with the encoding name corresponding to a valid algorithm.
    Definition: algorithm.c:52
    -
    Definition: compression.h:58
    -
    grpc_compression_algorithm grpc_compression_algorithm_for_level(grpc_compression_level level)
    Returns the compression algorithm corresponding to level.
    Definition: algorithm.c:72
    -
    Definition: compression.h:57
    +
    79 int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm,
    +
    80  char **name);
    +
    81 
    +
    85 grpc_compression_level grpc_compression_level_for_algorithm(
    +
    86  grpc_compression_algorithm algorithm);
    +
    87 
    +
    91 grpc_compression_algorithm grpc_compression_algorithm_for_level(
    +
    92  grpc_compression_level level);
    +
    93 
    +
    94 void grpc_compression_options_init(grpc_compression_options *opts);
    +
    95 
    +
    97 void grpc_compression_options_enable_algorithm(
    +
    98  grpc_compression_options *opts, grpc_compression_algorithm algorithm);
    +
    99 
    +
    101 void grpc_compression_options_disable_algorithm(
    +
    102  grpc_compression_options *opts, grpc_compression_algorithm algorithm);
    +
    103 
    +
    105 int grpc_compression_options_is_algorithm_enabled(
    +
    106  const grpc_compression_options *opts, grpc_compression_algorithm algorithm);
    +
    107 
    +
    108 #ifdef __cplusplus
    +
    109 }
    +
    110 #endif
    +
    111 
    +
    112 #endif /* GRPC_COMPRESSION_H */
    +
    +
    Definition: compression.h:55
    +
    grpc_compression_algorithm
    Definition: compression.h:50
    +
    Definition: compression.h:66
    +
    Definition: compression.h:53
    +
    void grpc_compression_options_init(grpc_compression_options *opts)
    +
    Definition: compression.h:52
    +
    void grpc_compression_options_enable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
    Mark algorithm as enabled in opts.
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    +
    Definition: compression.h:59
    +
    Definition: compression.h:60
    +
    grpc_compression_level grpc_compression_level_for_algorithm(grpc_compression_algorithm algorithm)
    Returns the compression level corresponding to algorithm.
    Definition: algorithm.c:94
    +
    grpc_compression_level
    Definition: compression.h:58
    +
    Definition: compression.h:51
    +
    Definition: compression.h:61
    +
    int grpc_compression_algorithm_name(grpc_compression_algorithm algorithm, char **name)
    Updates name with the encoding name corresponding to a valid algorithm.
    Definition: algorithm.c:59
    +
    void grpc_compression_options_disable_algorithm(grpc_compression_options *opts, grpc_compression_algorithm algorithm)
    Mark algorithm as disabled in opts.
    +
    grpc_compression_algorithm default_compression_algorithm
    for channel
    Definition: compression.h:68
    +
    Definition: compression.h:63
    +
    struct grpc_compression_options grpc_compression_options
    +
    grpc_compression_algorithm grpc_compression_algorithm_for_level(grpc_compression_level level)
    Returns the compression algorithm corresponding to level.
    Definition: algorithm.c:79
    +
    gpr_uint32 enabled_algorithms_bitset
    All algs are enabled by default.
    Definition: compression.h:67
    +
    Definition: compression.h:62
    +
    int grpc_compression_algorithm_parse(const char *name, size_t name_length, grpc_compression_algorithm *algorithm)
    Parses the first name_length bytes of name as a grpc_compression_algorithm instance, updating algorithm.
    Definition: algorithm.c:38
    +
    int grpc_compression_options_is_algorithm_enabled(const grpc_compression_options *opts, grpc_compression_algorithm algorithm)
    Returns true if algorithm is marked as enabled in opts.
    diff --git a/doc/ref/core.internal/html/connected__channel_8c.html b/doc/ref/core.internal/html/connected__channel_8c.html index 6384b7841ff..3bae3edf551 100644 --- a/doc/ref/core.internal/html/connected__channel_8c.html +++ b/doc/ref/core.internal/html/connected__channel_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -266,7 +266,7 @@ Variables diff --git a/doc/ref/core.internal/html/connected__channel_8h.html b/doc/ref/core.internal/html/connected__channel_8h.html index 238359b0edd..2f8b4504ce3 100644 --- a/doc/ref/core.internal/html/connected__channel_8h.html +++ b/doc/ref/core.internal/html/connected__channel_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -148,7 +148,7 @@ Variables diff --git a/doc/ref/core.internal/html/connected__channel_8h_source.html b/doc/ref/core.internal/html/connected__channel_8h_source.html index 63fb6910729..e5ccba11441 100644 --- a/doc/ref/core.internal/html/connected__channel_8h_source.html +++ b/doc/ref/core.internal/html/connected__channel_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -146,7 +146,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/connectivity__state_8c.html b/doc/ref/core.internal/html/connectivity__state_8c.html index 81a6bc2a389..bb72cab7ab2 100644 --- a/doc/ref/core.internal/html/connectivity__state_8c.html +++ b/doc/ref/core.internal/html/connectivity__state_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -326,7 +326,7 @@ Variables diff --git a/doc/ref/core.internal/html/connectivity__state_8h.html b/doc/ref/core.internal/html/connectivity__state_8h.html index 9f5b713bb71..34fe595606a 100644 --- a/doc/ref/core.internal/html/connectivity__state_8h.html +++ b/doc/ref/core.internal/html/connectivity__state_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -336,7 +336,7 @@ Variables diff --git a/doc/ref/core.internal/html/connectivity__state_8h_source.html b/doc/ref/core.internal/html/connectivity__state_8h_source.html index db822e9ad99..e2b96b47e3e 100644 --- a/doc/ref/core.internal/html/connectivity__state_8h_source.html +++ b/doc/ref/core.internal/html/connectivity__state_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    79  grpc_iomgr_closure *notify);
    80 
    81 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CONNECTIVITY_STATE_H */
    -
    grpc_connectivity_state
    Connectivity state of a channel.
    Definition: grpc.h:139
    +
    grpc_connectivity_state
    Connectivity state of a channel.
    Definition: grpc.h:145
    char * name
    a name to help debugging
    Definition: connectivity_state.h:55
    int grpc_connectivity_state_notify_on_state_change(grpc_connectivity_state_tracker *tracker, grpc_connectivity_state *current, grpc_iomgr_closure *notify)
    Return 1 if the channel should start connecting, 0 otherwise.
    Definition: connectivity_state.c:87
    struct grpc_connectivity_state_watcher * next
    we keep watchers in a linked list
    Definition: connectivity_state.h:42
    @@ -186,7 +186,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/connector_8c.html b/doc/ref/core.internal/html/connector_8c.html index eb1aa4ef60b..fe57681fbb7 100644 --- a/doc/ref/core.internal/html/connector_8c.html +++ b/doc/ref/core.internal/html/connector_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -175,7 +175,7 @@ Functions diff --git a/doc/ref/core.internal/html/connector_8h.html b/doc/ref/core.internal/html/connector_8h.html index 65a23109eda..55af67d498b 100644 --- a/doc/ref/core.internal/html/connector_8h.html +++ b/doc/ref/core.internal/html/connector_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -225,7 +225,7 @@ Functions diff --git a/doc/ref/core.internal/html/connector_8h_source.html b/doc/ref/core.internal/html/connector_8h_source.html index c557daebe44..381cac0f236 100644 --- a/doc/ref/core.internal/html/connector_8h_source.html +++ b/doc/ref/core.internal/html/connector_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -171,11 +171,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    grpc_mdctx * metadata_context
    metadata context
    Definition: connector.h:59
    gpr_timespec deadline
    deadline for connection
    Definition: connector.h:55
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    int addr_len
    Definition: connector.h:53
    -
    Definition: secure_channel_create.c:54
    +
    Definition: secure_channel_create.c:55
    void grpc_connector_unref(grpc_connector *connector)
    Definition: connector.c:40
    size_t num_filters
    Definition: connector.h:67
    const grpc_connector_vtable * vtable
    Definition: connector.h:45
    @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Definition: connector.h:62
    void(* unref)(grpc_connector *connector)
    Definition: connector.h:72
    Definition: connector.h:48
    -
    Definition: time.h:60
    +
    Definition: time.h:63
    const grpc_channel_filter ** filters
    any additional filters (owned by the caller of connect)
    Definition: connector.h:66
    Definition: pollset_set_posix.h:40
    const struct sockaddr * addr
    address to connect to
    Definition: connector.h:52
    @@ -200,7 +200,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/context_8c.html b/doc/ref/core.internal/html/context_8c.html index 17fa573c471..cff0f90c1d3 100644 --- a/doc/ref/core.internal/html/context_8c.html +++ b/doc/ref/core.internal/html/context_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -99,54 +99,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Functions size_t census_context_serialize (const census_context *context, char *buffer, size_t buf_size)   -int census_context_deserialize (const char *buffer, census_context **context) -  -void census_context_destroy (census_context *context) - 

    Function Documentation

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    int census_context_deserialize (const char * buffer,
    census_context ** context 
    )
    -
    - -
    -
    - -
    -
    - - - - - - - - -
    void census_context_destroy (census_contextcontext)
    -
    - -
    -
    @@ -182,7 +136,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/cpu_8h.html b/doc/ref/core.internal/html/cpu_8h.html index cbe54a8f5b2..6cbb6db1130 100644 --- a/doc/ref/core.internal/html/cpu_8h.html +++ b/doc/ref/core.internal/html/cpu_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -136,7 +136,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/cpu_8h_source.html b/doc/ref/core.internal/html/cpu_8h_source.html index 9619cb2a9ad..85fb287629d 100644 --- a/doc/ref/core.internal/html/cpu_8h_source.html +++ b/doc/ref/core.internal/html/cpu_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -144,13 +144,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    54 } // extern "C"
    55 #endif
    56 
    -
    57 #endif /* GRPC_SUPPORT_CPU_H */
    +
    57 #endif /* GRPC_SUPPORT_CPU_H */
    unsigned gpr_cpu_num_cores(void)
    unsigned gpr_cpu_current_cpu(void)
    diff --git a/doc/ref/core.internal/html/cpu__iphone_8c.html b/doc/ref/core.internal/html/cpu__iphone_8c.html index fda1bf053ec..f8cb93b66f9 100644 --- a/doc/ref/core.internal/html/cpu__iphone_8c.html +++ b/doc/ref/core.internal/html/cpu__iphone_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/cpu__linux_8c.html b/doc/ref/core.internal/html/cpu__linux_8c.html index 321898a5864..c97eeac9f9b 100644 --- a/doc/ref/core.internal/html/cpu__linux_8c.html +++ b/doc/ref/core.internal/html/cpu__linux_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -113,7 +113,7 @@ Macros diff --git a/doc/ref/core.internal/html/cpu__posix_8c.html b/doc/ref/core.internal/html/cpu__posix_8c.html index 9b7ac952970..04305f7c17a 100644 --- a/doc/ref/core.internal/html/cpu__posix_8c.html +++ b/doc/ref/core.internal/html/cpu__posix_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/cpu__windows_8c.html b/doc/ref/core.internal/html/cpu__windows_8c.html index a34a4abcd7a..6fc629d48c7 100644 --- a/doc/ref/core.internal/html/cpu__windows_8c.html +++ b/doc/ref/core.internal/html/cpu__windows_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/credentials_8c.html b/doc/ref/core.internal/html/credentials_8c.html index 1d716338d8e..2c8be4b826d 100644 --- a/doc/ref/core.internal/html/credentials_8c.html +++ b/doc/ref/core.internal/html/credentials_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -128,49 +128,53 @@ Functions   grpc_security_status grpc_credentials_create_security_connector (grpc_credentials *creds, const char *target, const grpc_channel_args *args, grpc_credentials *request_metadata_creds, grpc_channel_security_connector **sc, grpc_channel_args **new_args)   +grpc_server_credentialsgrpc_server_credentials_ref (grpc_server_credentials *creds) +  +void grpc_server_credentials_unref (grpc_server_credentials *creds) +  void grpc_server_credentials_release (grpc_server_credentials *creds)   grpc_security_status grpc_server_credentials_create_security_connector (grpc_server_credentials *creds, grpc_security_connector **sc)   -grpc_credentialsgrpc_ssl_credentials_create (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair) -  -grpc_server_credentialsgrpc_ssl_server_credentials_create (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth) -  +void grpc_server_credentials_set_auth_metadata_processor (grpc_server_credentials *creds, grpc_auth_metadata_processor processor) +  +grpc_credentialsgrpc_ssl_credentials_create (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pair, void *reserved) +  +grpc_server_credentialsgrpc_ssl_server_credentials_create (const char *pem_root_certs, grpc_ssl_pem_key_cert_pair *pem_key_cert_pairs, size_t num_key_cert_pairs, int force_client_auth, void *reserved) +  grpc_credentialsgrpc_service_account_jwt_access_credentials_create_from_auth_json_key (grpc_auth_json_key key, gpr_timespec token_lifetime)   -grpc_credentialsgrpc_service_account_jwt_access_credentials_create (const char *json_key, gpr_timespec token_lifetime) -  +grpc_credentialsgrpc_service_account_jwt_access_credentials_create (const char *json_key, gpr_timespec token_lifetime, void *reserved) +  grpc_credentials_status grpc_oauth2_token_fetcher_credentials_parse_server_response (const grpc_httpcli_response *response, grpc_credentials_md_store **token_md, gpr_timespec *token_lifetime)   -grpc_credentialsgrpc_compute_engine_credentials_create (void) -  -grpc_credentialsgrpc_service_account_credentials_create (const char *json_key, const char *scope, gpr_timespec token_lifetime) -  +grpc_credentialsgrpc_google_compute_engine_credentials_create (void *reserved) +  grpc_credentialsgrpc_refresh_token_credentials_create_from_auth_refresh_token (grpc_auth_refresh_token refresh_token)   -grpc_credentialsgrpc_refresh_token_credentials_create (const char *json_refresh_token) -  +grpc_credentialsgrpc_google_refresh_token_credentials_create (const char *json_refresh_token, void *reserved) +  void on_simulated_token_fetch_done (void *user_data, int success)   -grpc_credentialsgrpc_fake_oauth2_credentials_create (const char *token_md_value, int is_async) -  -grpc_credentialsgrpc_access_token_credentials_create (const char *access_token) -  +grpc_credentialsgrpc_md_only_test_credentials_create (const char *md_key, const char *md_value, int is_async) +  +grpc_credentialsgrpc_access_token_credentials_create (const char *access_token, void *reserved) +  grpc_credentialsgrpc_fake_transport_security_credentials_create (void)   grpc_server_credentialsgrpc_fake_transport_security_server_credentials_create (void)   -grpc_credentialsgrpc_composite_credentials_create (grpc_credentials *creds1, grpc_credentials *creds2) -  +grpc_credentialsgrpc_composite_credentials_create (grpc_credentials *creds1, grpc_credentials *creds2, void *reserved) +  const grpc_credentials_arraygrpc_composite_credentials_get_credentials (grpc_credentials *creds)   grpc_credentialsgrpc_credentials_contains_type (grpc_credentials *creds, const char *type, grpc_credentials **composite_creds)   -grpc_credentialsgrpc_iam_credentials_create (const char *token, const char *authority_selector) -  +grpc_credentialsgrpc_google_iam_credentials_create (const char *token, const char *authority_selector, void *reserved) + 

    Function Documentation

    - +
    @@ -178,15 +182,25 @@ Functions - + + + + + + + + + + +
    grpc_credentials* grpc_access_token_credentials_create ( const char * access_token)access_token,
    void * reserved 
    )
    - +
    @@ -200,7 +214,13 @@ Functions - + + + + + + + @@ -226,22 +246,6 @@ Functions
    grpc_credentialscreds2 creds2,
    void * reserved 
    -
    -
    - -
    -
    - - - - - - - - -
    grpc_credentials* grpc_compute_engine_credentials_create (void )
    -
    -
    @@ -450,38 +454,28 @@ Functions - +
    - + - - - - - + + - - - - - - -
    grpc_credentials* grpc_fake_oauth2_credentials_create grpc_credentials* grpc_fake_transport_security_credentials_create (const char * token_md_value,
    void ) int is_async 
    )
    - +
    - + @@ -492,15 +486,15 @@ Functions - +
    grpc_credentials* grpc_fake_transport_security_credentials_create grpc_server_credentials* grpc_fake_transport_security_server_credentials_create ( void  )
    - + - - + +
    grpc_server_credentials* grpc_fake_transport_security_server_credentials_create grpc_credentials* grpc_google_compute_engine_credentials_create (void )void * reserved)
    @@ -508,12 +502,12 @@ Functions
    - +
    - + @@ -522,7 +516,13 @@ Functions - + + + + + + + @@ -534,27 +534,53 @@ Functions - +
    grpc_credentials* grpc_iam_credentials_create grpc_credentials* grpc_google_iam_credentials_create ( const char *  token,
    const char * authority_selector authority_selector,
    void * reserved 
    - + - - + + - - + + + + + + + + +
    grpc_credentials_status grpc_oauth2_token_fetcher_credentials_parse_server_response grpc_credentials* grpc_google_refresh_token_credentials_create (const grpc_httpcli_responseresponse, const char * json_refresh_token,
    grpc_credentials_md_store ** token_md, void * reserved 
    )
    +
    + +
    +
    + +
    +
    + + + + + + - - + + + + + + + + @@ -566,16 +592,32 @@ Functions - +
    grpc_credentials* grpc_md_only_test_credentials_create (const char * md_key,
    gpr_timespectoken_lifetime const char * md_value,
    int is_async 
    - + - - + + + + + + + + + + + + + + + + + +
    grpc_credentials* grpc_refresh_token_credentials_create grpc_credentials_status grpc_oauth2_token_fetcher_credentials_parse_server_response (const char * json_refresh_token)const grpc_httpcli_responseresponse,
    grpc_credentials_md_store ** token_md,
    gpr_timespectoken_lifetime 
    )
    @@ -622,6 +664,22 @@ Functions
    +
    +
    + +
    +
    + + + + + + + + +
    grpc_server_credentials* grpc_server_credentials_ref (grpc_server_credentialscreds)
    +
    +
    @@ -640,39 +698,49 @@ Functions - +
    - + - - + + - - + + - - - + + +
    grpc_credentials* grpc_service_account_credentials_create void grpc_server_credentials_set_auth_metadata_processor (const char * json_key, grpc_server_credentialscreds,
    const char * scope, grpc_auth_metadata_processor processor 
    gpr_timespec token_lifetime )
    +
    + +
    +
    + +
    +
    + + + + + - -
    void grpc_server_credentials_unref (grpc_server_credentialscreds) )
    - +
    @@ -686,7 +754,13 @@ Functions - + + + + + + + @@ -724,7 +798,7 @@ Functions - +
    gpr_timespec token_lifetime token_lifetime,
    void * reserved 
    @@ -738,7 +812,13 @@ Functions - + + + + + + + @@ -750,7 +830,7 @@ Functions - +
    grpc_ssl_pem_key_cert_pairpem_key_cert_pair pem_key_cert_pair,
    void * reserved 
    @@ -776,7 +856,13 @@ Functions - + + + + + + + @@ -817,7 +903,7 @@ Functions diff --git a/doc/ref/core.internal/html/credentials_8h.html b/doc/ref/core.internal/html/credentials_8h.html index 2efcbad0067..23b3cc80256 100644 --- a/doc/ref/core.internal/html/credentials_8h.html +++ b/doc/ref/core.internal/html/credentials_8h.html @@ -23,7 +23,7 @@ @@ -128,15 +128,13 @@ Data Structures - - - + - + - + @@ -237,14 +235,18 @@ Functions - - + + + + + +
    int force_client_auth force_client_auth,
    void * reserved 
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    struct  grpc_oauth2_token_fetcher_credentials
     
    struct  grpc_service_account_credentials
     
    struct  grpc_refresh_token_credentials
    struct  grpc_google_refresh_token_credentials
     
    struct  grpc_access_token_credentials
     
    struct  grpc_fake_oauth2_credentials
    struct  grpc_md_only_test_credentials
     
    struct  grpc_iam_credentials
    struct  grpc_google_iam_credentials
     
    struct  grpc_composite_credentials
     
     
    void grpc_flush_cached_google_default_credentials (void)
     
    grpc_credentialsgrpc_fake_oauth2_credentials_create (const char *token_md_value, int is_async)
     
    grpc_credentialsgrpc_md_only_test_credentials_create (const char *md_key, const char *md_value, int is_async)
     
    grpc_credentialsgrpc_service_account_jwt_access_credentials_create_from_auth_json_key (grpc_auth_json_key key, gpr_timespec token_lifetime)
     
    grpc_credentialsgrpc_refresh_token_credentials_create_from_auth_refresh_token (grpc_auth_refresh_token token)
     
    grpc_security_status grpc_server_credentials_create_security_connector (grpc_server_credentials *creds, grpc_security_connector **sc)
     
    grpc_server_credentialsgrpc_server_credentials_ref (grpc_server_credentials *creds)
     
    void grpc_server_credentials_unref (grpc_server_credentials *creds)
     

    Macro Definition Documentation

    @@ -852,38 +854,28 @@ Functions
    - +
    - + - - - - - - - - - - + + - -
    grpc_credentials* grpc_fake_oauth2_credentials_create grpc_credentials* grpc_fake_transport_security_credentials_create (const char * token_md_value,
    int is_async 
    void ) )
    - +
    - + @@ -894,12 +886,12 @@ Functions - +
    grpc_credentials* grpc_fake_transport_security_credentials_create grpc_server_credentials* grpc_fake_transport_security_server_credentials_create ( void  )
    - + @@ -910,12 +902,12 @@ Functions - +
    grpc_server_credentials* grpc_fake_transport_security_server_credentials_create void grpc_flush_cached_google_default_credentials ( void  )
    - + @@ -926,16 +918,32 @@ Functions - +
    void grpc_flush_cached_google_default_credentials char* grpc_get_well_known_google_credentials_file_path ( void  )
    - + - - + + + + + + + + + + + + + + + + + +
    char* grpc_get_well_known_google_credentials_file_path grpc_credentials* grpc_md_only_test_credentials_create (void )const char * md_key,
    const char * md_value,
    int is_async 
    )
    @@ -1014,6 +1022,38 @@ Functions
    +
    +
    + +
    +
    + + + + + + + + +
    grpc_server_credentials* grpc_server_credentials_ref (grpc_server_credentialscreds)
    +
    + +
    +
    + +
    +
    + + + + + + + + +
    void grpc_server_credentials_unref (grpc_server_credentialscreds)
    +
    +
    @@ -1045,7 +1085,7 @@ Functions diff --git a/doc/ref/core.internal/html/credentials_8h_source.html b/doc/ref/core.internal/html/credentials_8h_source.html index 4bfcdc070bd..a9f30e52b01 100644 --- a/doc/ref/core.internal/html/credentials_8h_source.html +++ b/doc/ref/core.internal/html/credentials_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -219,7 +219,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    129  grpc_credentials_status status);
    130 
    131 typedef struct {
    -
    132  void (*destroy)(grpc_credentials *c);
    +
    132  void (*destruct)(grpc_credentials *c);
    133  int (*has_request_metadata)(const grpc_credentials *c);
    134  int (*has_request_metadata_only)(const grpc_credentials *c);
    135  void (*get_request_metadata)(grpc_credentials *c, grpc_pollset *pollset,
    @@ -280,257 +280,259 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    190  grpc_credentials_md_store **token_md, gpr_timespec *token_lifetime);
    191 void grpc_flush_cached_google_default_credentials(void);
    192 
    -
    193 /* Simulates an oauth2 token fetch with the specified value for testing. */
    -
    194 grpc_credentials *grpc_fake_oauth2_credentials_create(
    -
    195  const char *token_md_value, int is_async);
    -
    196 
    -
    197 /* Private constructor for jwt credentials from an already parsed json key.
    -
    198  Takes ownership of the key. */
    -
    199 grpc_credentials *
    -
    200 grpc_service_account_jwt_access_credentials_create_from_auth_json_key(
    -
    201  grpc_auth_json_key key, gpr_timespec token_lifetime);
    -
    202 
    -
    203 /* Private constructor for refresh token credentials from an already parsed
    -
    204  refresh token. Takes ownership of the refresh token. */
    -
    205 grpc_credentials *grpc_refresh_token_credentials_create_from_auth_refresh_token(
    -
    206  grpc_auth_refresh_token token);
    -
    207 
    -
    208 /* --- grpc_server_credentials. --- */
    +
    193 /* Metadata-only credentials with the specified key and value where
    +
    194  asynchronicity can be simulated for testing. */
    +
    195 grpc_credentials *grpc_md_only_test_credentials_create(const char *md_key,
    +
    196  const char *md_value,
    +
    197  int is_async);
    +
    198 
    +
    199 /* Private constructor for jwt credentials from an already parsed json key.
    +
    200  Takes ownership of the key. */
    +
    201 grpc_credentials *
    +
    202 grpc_service_account_jwt_access_credentials_create_from_auth_json_key(
    +
    203  grpc_auth_json_key key, gpr_timespec token_lifetime);
    +
    204 
    +
    205 /* Private constructor for refresh token credentials from an already parsed
    +
    206  refresh token. Takes ownership of the refresh token. */
    +
    207 grpc_credentials *grpc_refresh_token_credentials_create_from_auth_refresh_token(
    +
    208  grpc_auth_refresh_token token);
    209 
    -
    210 typedef struct {
    -
    211  void (*destroy)(grpc_server_credentials *c);
    -
    212  grpc_security_status (*create_security_connector)(
    -
    213  grpc_server_credentials *c, grpc_security_connector **sc);
    -
    214 } grpc_server_credentials_vtable;
    -
    215 
    -
    216 struct grpc_server_credentials {
    -
    217  const grpc_server_credentials_vtable *vtable;
    -
    218  const char *type;
    -
    219 };
    -
    220 
    -
    221 grpc_security_status grpc_server_credentials_create_security_connector(
    -
    222  grpc_server_credentials *creds, grpc_security_connector **sc);
    -
    223 
    -
    224 /* -- Ssl credentials. -- */
    -
    225 
    -
    226 typedef struct {
    -
    227  grpc_credentials base;
    -
    228  grpc_ssl_config config;
    -
    229 } grpc_ssl_credentials;
    -
    230 
    -
    231 typedef struct {
    -
    232  grpc_server_credentials base;
    -
    233  grpc_ssl_server_config config;
    -
    234 } grpc_ssl_server_credentials;
    -
    235 
    -
    236 /* -- Jwt credentials -- */
    -
    237 
    -
    238 typedef struct {
    -
    239  grpc_credentials base;
    -
    240 
    -
    241  /* Have a simple cache for now with just 1 entry. We could have a map based on
    -
    242  the service_url for a more sophisticated one. */
    -
    243  gpr_mu cache_mu;
    -
    244  struct {
    -
    245  grpc_credentials_md_store *jwt_md;
    -
    246  char *service_url;
    -
    247  gpr_timespec jwt_expiration;
    -
    248  } cached;
    -
    249 
    -
    250  grpc_auth_json_key key;
    -
    251  gpr_timespec jwt_lifetime;
    -
    252 } grpc_service_account_jwt_access_credentials;
    -
    253 
    -
    254 /* -- Oauth2TokenFetcher credentials --
    -
    255 
    -
    256  This object is a base for credentials that need to acquire an oauth2 token
    -
    257  from an http service. */
    -
    258 
    -
    259 typedef struct grpc_credentials_metadata_request
    -
    260  grpc_credentials_metadata_request;
    -
    261 
    -
    262 typedef void (*grpc_fetch_oauth2_func)(grpc_credentials_metadata_request *req,
    -
    263  grpc_httpcli_context *http_context,
    -
    264  grpc_pollset *pollset,
    -
    265  grpc_httpcli_response_cb response_cb,
    -
    266  gpr_timespec deadline);
    -
    267 
    -
    268 typedef struct {
    -
    269  grpc_credentials base;
    -
    270  gpr_mu mu;
    -
    271  grpc_credentials_md_store *access_token_md;
    -
    272  gpr_timespec token_expiration;
    -
    273  grpc_httpcli_context httpcli_context;
    -
    274  grpc_fetch_oauth2_func fetch_func;
    -
    275 } grpc_oauth2_token_fetcher_credentials;
    -
    276 
    -
    277 /* -- ServiceAccount credentials. -- */
    +
    210 /* --- grpc_server_credentials. --- */
    +
    211 
    +
    212 typedef struct {
    +
    213  void (*destruct)(grpc_server_credentials *c);
    +
    214  grpc_security_status (*create_security_connector)(
    +
    215  grpc_server_credentials *c, grpc_security_connector **sc);
    +
    216 } grpc_server_credentials_vtable;
    +
    217 
    +
    218 
    +
    219 /* TODO(jboeuf): Add a refcount. */
    +
    220 struct grpc_server_credentials {
    +
    221  const grpc_server_credentials_vtable *vtable;
    +
    222  const char *type;
    +
    223  gpr_refcount refcount;
    +
    224  grpc_auth_metadata_processor processor;
    +
    225 };
    +
    226 
    +
    227 grpc_security_status grpc_server_credentials_create_security_connector(
    +
    228  grpc_server_credentials *creds, grpc_security_connector **sc);
    +
    229 
    +
    230 grpc_server_credentials *grpc_server_credentials_ref(
    +
    231  grpc_server_credentials *creds);
    +
    232 
    +
    233 void grpc_server_credentials_unref(grpc_server_credentials *creds);
    +
    234 
    +
    235 /* -- Ssl credentials. -- */
    +
    236 
    +
    237 typedef struct {
    +
    238  grpc_credentials base;
    +
    239  grpc_ssl_config config;
    +
    240 } grpc_ssl_credentials;
    +
    241 
    +
    242 typedef struct {
    +
    243  grpc_server_credentials base;
    +
    244  grpc_ssl_server_config config;
    +
    245 } grpc_ssl_server_credentials;
    +
    246 
    +
    247 /* -- Jwt credentials -- */
    +
    248 
    +
    249 typedef struct {
    +
    250  grpc_credentials base;
    +
    251 
    +
    252  /* Have a simple cache for now with just 1 entry. We could have a map based on
    +
    253  the service_url for a more sophisticated one. */
    +
    254  gpr_mu cache_mu;
    +
    255  struct {
    +
    256  grpc_credentials_md_store *jwt_md;
    +
    257  char *service_url;
    +
    258  gpr_timespec jwt_expiration;
    +
    259  } cached;
    +
    260 
    +
    261  grpc_auth_json_key key;
    +
    262  gpr_timespec jwt_lifetime;
    +
    263 } grpc_service_account_jwt_access_credentials;
    +
    264 
    +
    265 /* -- Oauth2TokenFetcher credentials --
    +
    266 
    +
    267  This object is a base for credentials that need to acquire an oauth2 token
    +
    268  from an http service. */
    +
    269 
    +
    270 typedef struct grpc_credentials_metadata_request
    +
    271  grpc_credentials_metadata_request;
    +
    272 
    +
    273 typedef void (*grpc_fetch_oauth2_func)(grpc_credentials_metadata_request *req,
    +
    274  grpc_httpcli_context *http_context,
    +
    275  grpc_pollset *pollset,
    +
    276  grpc_httpcli_response_cb response_cb,
    +
    277  gpr_timespec deadline);
    278 
    -
    279 typedef struct {
    -
    280  grpc_oauth2_token_fetcher_credentials base;
    -
    281  grpc_auth_json_key key;
    -
    282  char *scope;
    -
    283  gpr_timespec token_lifetime;
    -
    284 } grpc_service_account_credentials;
    -
    285 
    -
    286 /* -- RefreshToken credentials. -- */
    +
    279 typedef struct {
    +
    280  grpc_credentials base;
    +
    281  gpr_mu mu;
    +
    282  grpc_credentials_md_store *access_token_md;
    +
    283  gpr_timespec token_expiration;
    +
    284  grpc_httpcli_context httpcli_context;
    +
    285  grpc_fetch_oauth2_func fetch_func;
    +
    286 } grpc_oauth2_token_fetcher_credentials;
    287 
    -
    288 typedef struct {
    -
    289  grpc_oauth2_token_fetcher_credentials base;
    -
    290  grpc_auth_refresh_token refresh_token;
    -
    291 } grpc_refresh_token_credentials;
    -
    292 
    -
    293 /* -- Oauth2 Access Token credentials. -- */
    +
    288 /* -- GoogleRefreshToken credentials. -- */
    +
    289 
    +
    290 typedef struct {
    +
    291  grpc_oauth2_token_fetcher_credentials base;
    +
    292  grpc_auth_refresh_token refresh_token;
    +
    293 } grpc_google_refresh_token_credentials;
    294 
    -
    295 typedef struct {
    -
    296  grpc_credentials base;
    -
    297  grpc_credentials_md_store *access_token_md;
    -
    298 } grpc_access_token_credentials;
    -
    299 
    -
    300 /* -- Fake Oauth2 credentials. -- */
    +
    295 /* -- Oauth2 Access Token credentials. -- */
    +
    296 
    +
    297 typedef struct {
    +
    298  grpc_credentials base;
    +
    299  grpc_credentials_md_store *access_token_md;
    +
    300 } grpc_access_token_credentials;
    301 
    -
    302 typedef struct {
    -
    303  grpc_credentials base;
    -
    304  grpc_credentials_md_store *access_token_md;
    -
    305  int is_async;
    -
    306 } grpc_fake_oauth2_credentials;
    -
    307 
    -
    308 /* -- IAM credentials. -- */
    +
    302 /* -- Metadata-only Test credentials. -- */
    +
    303 
    +
    304 typedef struct {
    +
    305  grpc_credentials base;
    +
    306  grpc_credentials_md_store *md_store;
    +
    307  int is_async;
    +
    308 } grpc_md_only_test_credentials;
    309 
    -
    310 typedef struct {
    -
    311  grpc_credentials base;
    -
    312  grpc_credentials_md_store *iam_md;
    -
    313 } grpc_iam_credentials;
    -
    314 
    -
    315 /* -- Composite credentials. -- */
    +
    310 /* -- GoogleIAM credentials. -- */
    +
    311 
    +
    312 typedef struct {
    +
    313  grpc_credentials base;
    +
    314  grpc_credentials_md_store *iam_md;
    +
    315 } grpc_google_iam_credentials;
    316 
    -
    317 typedef struct {
    -
    318  grpc_credentials base;
    -
    319  grpc_credentials_array inner;
    -
    320  grpc_credentials *connector_creds;
    -
    321 } grpc_composite_credentials;
    -
    322 
    -
    323 #endif /* GRPC_INTERNAL_CORE_SECURITY_CREDENTIALS_H */
    +
    317 /* -- Composite credentials. -- */
    +
    318 
    +
    319 typedef struct {
    +
    320  grpc_credentials base;
    +
    321  grpc_credentials_array inner;
    +
    322  grpc_credentials *connector_creds;
    +
    323 } grpc_composite_credentials;
    +
    324 
    +
    325 #endif /* GRPC_INTERNAL_CORE_SECURITY_CREDENTIALS_H */
    grpc_credentials_status
    Definition: credentials.h:50
    const char * value
    Definition: hpack_table.c:44
    -
    grpc_credentials_md_store * jwt_md
    Definition: credentials.h:245
    +
    grpc_credentials_md_store * jwt_md
    Definition: credentials.h:256
    Definition: credentials.h:131
    +
    int is_async
    Definition: credentials.h:307
    +
    Definition: credentials.h:290
    grpc_credentials_md * entries
    Definition: credentials.h:97
    -
    Definition: credentials.h:210
    -
    int grpc_credentials_has_request_metadata_only(grpc_credentials *creds)
    Definition: credentials.c:102
    -
    gpr_timespec jwt_lifetime
    Definition: credentials.h:251
    +
    Definition: credentials.h:212
    +
    int grpc_credentials_has_request_metadata_only(grpc_credentials *creds)
    Definition: credentials.c:105
    +
    gpr_timespec jwt_lifetime
    Definition: credentials.h:262
    gpr_refcount refcount
    Definition: credentials.h:100
    -
    Definition: sync_generic.h:49
    +
    Definition: sync_generic.h:47
    void(* grpc_credentials_metadata_cb)(void *user_data, grpc_credentials_md *md_elems, size_t num_md, grpc_credentials_status status)
    Definition: credentials.h:126
    Definition: credentials.h:91
    grpc_credentials_md_store * grpc_credentials_md_store_create(size_t initial_capacity)
    Definition: credentials_metadata.c:48
    -
    An array of arguments that can be passed around.
    Definition: grpc.h:113
    -
    Definition: credentials.h:268
    -
    Definition: credentials.h:279
    +
    An array of arguments that can be passed around.
    Definition: grpc.h:111
    +
    Definition: credentials.h:279
    +
    grpc_auth_metadata_processor processor
    Definition: credentials.h:224
    +
    grpc_credentials_md_store * iam_md
    Definition: credentials.h:314
    -
    grpc_credentials_md_store * access_token_md
    Definition: credentials.h:304
    -
    const char * type
    Definition: credentials.h:218
    -
    grpc_ssl_config config
    Definition: credentials.h:228
    +
    grpc_credentials base
    Definition: credentials.h:313
    +
    grpc_oauth2_token_fetcher_credentials base
    Definition: credentials.h:291
    +
    const char * type
    Definition: credentials.h:222
    +
    grpc_ssl_config config
    Definition: credentials.h:239
    grpc_credentials_status grpc_oauth2_token_fetcher_credentials_parse_server_response(const struct grpc_httpcli_response *response, grpc_credentials_md_store **token_md, gpr_timespec *token_lifetime)
    -
    char * service_url
    Definition: credentials.h:246
    -
    int is_async
    Definition: credentials.h:305
    -
    grpc_credentials_md_store * grpc_credentials_md_store_ref(grpc_credentials_md_store *store)
    Definition: credentials_metadata.c:80
    -
    Definition: credentials.h:317
    -
    grpc_auth_json_key key
    Definition: credentials.h:281
    +
    char * service_url
    Definition: credentials.h:257
    +
    grpc_credentials_md_store * grpc_credentials_md_store_ref(grpc_credentials_md_store *store)
    Definition: credentials_metadata.c:81
    +
    grpc_credentials_md_store * md_store
    Definition: credentials.h:306
    +
    Definition: credentials.h:319
    const grpc_credentials_vtable * vtable
    Definition: credentials.h:146
    -
    grpc_credentials * grpc_service_account_jwt_access_credentials_create_from_auth_json_key(grpc_auth_json_key key, gpr_timespec token_lifetime)
    Definition: credentials.c:407
    -
    grpc_oauth2_token_fetcher_credentials base
    Definition: credentials.h:289
    -
    grpc_security_status grpc_credentials_create_security_connector(grpc_credentials *creds, const char *target, const grpc_channel_args *args, grpc_credentials *request_metadata_creds, grpc_channel_security_connector **sc, grpc_channel_args **new_args)
    Definition: credentials.c:123
    -
    grpc_oauth2_token_fetcher_credentials base
    Definition: credentials.h:280
    -
    grpc_auth_refresh_token refresh_token
    Definition: credentials.h:290
    -
    grpc_credentials_md_store * iam_md
    Definition: credentials.h:312
    -
    grpc_credentials * grpc_refresh_token_credentials_create_from_auth_refresh_token(grpc_auth_refresh_token token)
    Definition: credentials.c:747
    -
    grpc_credentials * grpc_credentials_contains_type(grpc_credentials *creds, const char *type, grpc_credentials **composite_creds)
    Definition: credentials.c:1157
    -
    void(* grpc_fetch_oauth2_func)(grpc_credentials_metadata_request *req, grpc_httpcli_context *http_context, grpc_pollset *pollset, grpc_httpcli_response_cb response_cb, gpr_timespec deadline)
    Definition: credentials.h:262
    -
    int grpc_credentials_has_request_metadata(grpc_credentials *creds)
    Definition: credentials.c:97
    -
    Definition: credentials.h:231
    -
    void grpc_credentials_md_store_add(grpc_credentials_md_store *store, gpr_slice key, gpr_slice value)
    Definition: credentials_metadata.c:60
    +
    grpc_credentials * grpc_service_account_jwt_access_credentials_create_from_auth_json_key(grpc_auth_json_key key, gpr_timespec token_lifetime)
    Definition: credentials.c:437
    +
    grpc_credentials base
    Definition: credentials.h:305
    +
    grpc_security_status grpc_credentials_create_security_connector(grpc_credentials *creds, const char *target, const grpc_channel_args *args, grpc_credentials *request_metadata_creds, grpc_channel_security_connector **sc, grpc_channel_args **new_args)
    Definition: credentials.c:126
    +
    grpc_credentials * grpc_refresh_token_credentials_create_from_auth_refresh_token(grpc_auth_refresh_token token)
    Definition: credentials.c:711
    +
    grpc_credentials * grpc_credentials_contains_type(grpc_credentials *creds, const char *type, grpc_credentials **composite_creds)
    Definition: credentials.c:1123
    +
    void(* grpc_fetch_oauth2_func)(grpc_credentials_metadata_request *req, grpc_httpcli_context *http_context, grpc_pollset *pollset, grpc_httpcli_response_cb response_cb, gpr_timespec deadline)
    Definition: credentials.h:273
    +
    int grpc_credentials_has_request_metadata(grpc_credentials *creds)
    Definition: credentials.c:100
    +
    Definition: credentials.h:242
    +
    void grpc_credentials_md_store_add(grpc_credentials_md_store *store, gpr_slice key, gpr_slice value)
    Definition: credentials_metadata.c:61
    char * grpc_get_well_known_google_credentials_file_path(void)
    -
    Definition: pollset_posix.h:48
    -
    gpr_mu mu
    Definition: credentials.h:270
    +
    Definition: pollset_posix.h:55
    +
    gpr_mu mu
    Definition: credentials.h:281
    size_t num_creds
    Definition: credentials.h:172
    -
    grpc_auth_json_key key
    Definition: credentials.h:250
    -
    Definition: credentials.h:216
    +
    grpc_auth_json_key key
    Definition: credentials.h:261
    +
    Definition: credentials.h:220
    Definition: credentials.h:145
    Definition: credentials.h:170
    -
    Definition: credentials.h:295
    +
    Definition: credentials.h:297
    Definition: credentials.h:96
    +
    grpc_credentials * grpc_md_only_test_credentials_create(const char *md_key, const char *md_value, int is_async)
    Definition: credentials.c:782
    gpr_slice value
    Definition: credentials.h:93
    void grpc_credentials_unref(grpc_credentials *creds)
    Definition: credentials.c:88
    -
    const grpc_server_credentials_vtable * vtable
    Definition: credentials.h:217
    -
    grpc_credentials base
    Definition: credentials.h:303
    -
    void grpc_flush_cached_google_default_credentials(void)
    Definition: google_default_credentials.c:213
    -
    grpc_credentials base
    Definition: credentials.h:318
    -
    grpc_credentials * connector_creds
    Definition: credentials.h:320
    +
    const grpc_server_credentials_vtable * vtable
    Definition: credentials.h:221
    +
    void grpc_flush_cached_google_default_credentials(void)
    Definition: google_default_credentials.c:217
    +
    grpc_credentials base
    Definition: credentials.h:320
    +
    grpc_credentials * connector_creds
    Definition: credentials.h:322
    Definition: json_token.h:94
    -
    grpc_server_credentials * grpc_fake_transport_security_server_credentials_create(void)
    Definition: credentials.c:938
    +
    grpc_server_credentials * grpc_fake_transport_security_server_credentials_create(void)
    Definition: credentials.c:902
    size_t allocated
    Definition: credentials.h:99
    Definition: credentials.h:52
    -
    void grpc_credentials_get_request_metadata(grpc_credentials *creds, grpc_pollset *pollset, const char *service_url, grpc_credentials_metadata_cb cb, void *user_data)
    Definition: credentials.c:107
    -
    Definition: credentials.h:310
    -
    gpr_timespec token_lifetime
    Definition: credentials.h:283
    +
    void grpc_credentials_get_request_metadata(grpc_credentials *creds, grpc_pollset *pollset, const char *service_url, grpc_credentials_metadata_cb cb, void *user_data)
    Definition: credentials.c:110
    size_t num_entries
    Definition: credentials.h:98
    gpr_refcount refcount
    Definition: credentials.h:148
    -
    grpc_credentials_md_store * access_token_md
    Definition: credentials.h:297
    +
    grpc_credentials_md_store * access_token_md
    Definition: credentials.h:299
    Definition: sync_win32.h:39
    -
    void grpc_credentials_md_store_unref(grpc_credentials_md_store *store)
    Definition: credentials_metadata.c:87
    +
    Definition: credentials.h:304
    +
    void grpc_credentials_md_store_unref(grpc_credentials_md_store *store)
    Definition: credentials_metadata.c:88
    Definition: security_connector.h:196
    -
    gpr_timespec jwt_expiration
    Definition: credentials.h:247
    +
    gpr_timespec jwt_expiration
    Definition: credentials.h:258
    +
    Definition: grpc_security.h:275
    Definition: security_connector.h:75
    -
    Definition: credentials.h:238
    +
    Definition: credentials.h:249
    Definition: security_connector.h:135
    Definition: json_token.h:52
    -
    Definition: credentials.h:226
    -
    grpc_credentials base
    Definition: credentials.h:296
    -
    grpc_httpcli_context httpcli_context
    Definition: credentials.h:273
    -
    grpc_credentials_array inner
    Definition: credentials.h:319
    +
    Definition: credentials.h:237
    +
    grpc_credentials base
    Definition: credentials.h:298
    +
    grpc_httpcli_context httpcli_context
    Definition: credentials.h:284
    +
    Definition: credentials.h:312
    +
    grpc_credentials_array inner
    Definition: credentials.h:321
    const char * type
    Definition: credentials.h:147
    -
    Definition: credentials.h:288
    -
    grpc_credentials * grpc_fake_transport_security_credentials_create(void)
    Definition: credentials.c:929
    -
    gpr_mu cache_mu
    Definition: credentials.h:243
    -
    gpr_timespec token_expiration
    Definition: credentials.h:272
    +
    grpc_credentials * grpc_fake_transport_security_credentials_create(void)
    Definition: credentials.c:893
    +
    gpr_mu cache_mu
    Definition: credentials.h:254
    +
    gpr_timespec token_expiration
    Definition: credentials.h:283
    Definition: security_connector.h:165
    +
    void grpc_server_credentials_unref(grpc_server_credentials *creds)
    Definition: credentials.c:148
    Definition: credentials.h:51
    gpr_slice key
    Definition: credentials.h:92
    -
    Definition: time.h:60
    -
    const grpc_credentials_array * grpc_composite_credentials_get_credentials(grpc_credentials *composite_creds)
    Definition: credentials.c:1149
    -
    void grpc_credentials_md_store_add_cstrings(grpc_credentials_md_store *store, const char *key, const char *value)
    Definition: credentials_metadata.c:69
    -
    void(* grpc_httpcli_response_cb)(void *user_data, const grpc_httpcli_response *response)
    Definition: httpcli.h:89
    +
    Definition: time.h:63
    +
    const grpc_credentials_array * grpc_composite_credentials_get_credentials(grpc_credentials *composite_creds)
    Definition: credentials.c:1115
    +
    void grpc_credentials_md_store_add_cstrings(grpc_credentials_md_store *store, const char *key, const char *value)
    Definition: credentials_metadata.c:70
    +
    void(* grpc_httpcli_response_cb)(void *user_data, const grpc_httpcli_response *response)
    Definition: httpcli.h:99
    +
    grpc_server_credentials * grpc_server_credentials_ref(grpc_server_credentials *creds)
    Definition: credentials.c:141
    grpc_credentials * grpc_credentials_ref(grpc_credentials *creds)
    Definition: credentials.c:82
    -
    Definition: httpcli.h:57
    -
    grpc_credentials base
    Definition: credentials.h:227
    -
    grpc_server_credentials base
    Definition: credentials.h:232
    +
    Definition: httpcli.h:58
    +
    grpc_credentials base
    Definition: credentials.h:238
    +
    grpc_server_credentials base
    Definition: credentials.h:243
    Definition: credentials.c:54
    -
    grpc_credentials * grpc_fake_oauth2_credentials_create(const char *token_md_value, int is_async)
    Definition: credentials.c:818
    -
    Definition: httpcli.h:77
    -
    grpc_credentials base
    Definition: credentials.h:311
    -
    Definition: credentials.h:302
    -
    grpc_credentials_md_store * access_token_md
    Definition: credentials.h:271
    +
    Definition: httpcli.h:87
    +
    grpc_credentials_md_store * access_token_md
    Definition: credentials.h:282
    grpc_security_status
    Definition: security_connector.h:43
    const char * key
    Definition: hpack_table.c:43
    Definition: slice.h:79
    -
    grpc_fetch_oauth2_func fetch_func
    Definition: credentials.h:274
    -
    grpc_security_status grpc_server_credentials_create_security_connector(grpc_server_credentials *creds, grpc_security_connector **sc)
    Definition: credentials.c:143
    -
    grpc_credentials base
    Definition: credentials.h:239
    +
    grpc_fetch_oauth2_func fetch_func
    Definition: credentials.h:285
    +
    grpc_auth_refresh_token refresh_token
    Definition: credentials.h:292
    +
    grpc_security_status grpc_server_credentials_create_security_connector(grpc_server_credentials *creds, grpc_security_connector **sc)
    Definition: credentials.c:163
    +
    grpc_credentials base
    Definition: credentials.h:250
    grpc_credentials ** creds_array
    Definition: credentials.h:171
    -
    grpc_ssl_server_config config
    Definition: credentials.h:233
    -
    char * scope
    Definition: credentials.h:282
    -
    grpc_credentials base
    Definition: credentials.h:269
    +
    grpc_ssl_server_config config
    Definition: credentials.h:244
    +
    gpr_refcount refcount
    Definition: credentials.h:223
    +
    grpc_credentials base
    Definition: credentials.h:280
    diff --git a/doc/ref/core.internal/html/credentials__metadata_8c.html b/doc/ref/core.internal/html/credentials__metadata_8c.html index 05c7cba141c..600f3aa7572 100644 --- a/doc/ref/core.internal/html/credentials__metadata_8c.html +++ b/doc/ref/core.internal/html/credentials__metadata_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -223,7 +223,7 @@ Functions diff --git a/doc/ref/core.internal/html/credentials__posix_8c.html b/doc/ref/core.internal/html/credentials__posix_8c.html index 4a209b2319d..a340705ad1a 100644 --- a/doc/ref/core.internal/html/credentials__posix_8c.html +++ b/doc/ref/core.internal/html/credentials__posix_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/credentials__win32_8c.html b/doc/ref/core.internal/html/credentials__win32_8c.html index f550f8b0c5d..58d4b921ebc 100644 --- a/doc/ref/core.internal/html/credentials__win32_8c.html +++ b/doc/ref/core.internal/html/credentials__win32_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/dir_03e3f2561cf9e09e514d23ee8902839b.html b/doc/ref/core.internal/html/dir_03e3f2561cf9e09e514d23ee8902839b.html index eb172178b34..585a9490837 100644 --- a/doc/ref/core.internal/html/dir_03e3f2561cf9e09e514d23ee8902839b.html +++ b/doc/ref/core.internal/html/dir_03e3f2561cf9e09e514d23ee8902839b.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -95,8 +95,6 @@ Files   file  httpcli_security_connector.c   -file  httpcli_security_connector.h [code] -  file  parser.c   file  parser.h [code] @@ -105,7 +103,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_35c0979e6ab890cbca79261dc9fc2958.html b/doc/ref/core.internal/html/dir_35c0979e6ab890cbca79261dc9fc2958.html index ec45156e17c..3828512d144 100644 --- a/doc/ref/core.internal/html/dir_35c0979e6ab890cbca79261dc9fc2958.html +++ b/doc/ref/core.internal/html/dir_35c0979e6ab890cbca79261dc9fc2958.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -95,7 +95,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_3f1a464cbd6442b4d6b6ee306c9b0460.html b/doc/ref/core.internal/html/dir_3f1a464cbd6442b4d6b6ee306c9b0460.html index 4c29d228f7c..9b9d53ab342 100644 --- a/doc/ref/core.internal/html/dir_3f1a464cbd6442b4d6b6ee306c9b0460.html +++ b/doc/ref/core.internal/html/dir_3f1a464cbd6442b4d6b6ee306c9b0460.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -127,10 +127,6 @@ Files   file  pollset.h [code]   -file  pollset_kick_posix.c -  -file  pollset_kick_posix.h [code] -  file  pollset_multipoller_with_epoll.c   file  pollset_multipoller_with_poll_posix.c @@ -205,6 +201,10 @@ Files   file  time_averaged_stats.h [code]   +file  udp_server.c +  +file  udp_server.h [code] +  file  wakeup_fd_eventfd.c   file  wakeup_fd_nospecial.c @@ -221,7 +221,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_3f4beedb24b0e92d29e048ed944a7adc.html b/doc/ref/core.internal/html/dir_3f4beedb24b0e92d29e048ed944a7adc.html index af4d7f0ef70..715b93fe1e4 100644 --- a/doc/ref/core.internal/html/dir_3f4beedb24b0e92d29e048ed944a7adc.html +++ b/doc/ref/core.internal/html/dir_3f4beedb24b0e92d29e048ed944a7adc.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -97,7 +97,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_5349cec9f9058ade8b7779c683443df9.html b/doc/ref/core.internal/html/dir_5349cec9f9058ade8b7779c683443df9.html index 0d5e289014a..3aa670208d8 100644 --- a/doc/ref/core.internal/html/dir_5349cec9f9058ade8b7779c683443df9.html +++ b/doc/ref/core.internal/html/dir_5349cec9f9058ade8b7779c683443df9.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -93,7 +93,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_63ea090b1bf0393f23b745b651ae7f2b.html b/doc/ref/core.internal/html/dir_63ea090b1bf0393f23b745b651ae7f2b.html index 1f7ecca93a9..54dbc3c1918 100644 --- a/doc/ref/core.internal/html/dir_63ea090b1bf0393f23b745b651ae7f2b.html +++ b/doc/ref/core.internal/html/dir_63ea090b1bf0393f23b745b651ae7f2b.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -85,23 +85,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + - + + + - +

    Files

    file  aggregation.h [code]
     
    file  context.c
     
    file  context.h [code]
     
    file  grpc_context.c
     
    file  grpc_filter.c
     
    file  grpc_filter.h [code]
     
    file  initialize.c
     
    file  record_stat.c
    file  operation.c
     
    file  rpc_metric_id.h [code]
     
    file  rpc_stat_id.h [code]
    file  tracing.c
     
    diff --git a/doc/ref/core.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/ref/core.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html index fb900bdf5cc..0b40b3cf426 100644 --- a/doc/ref/core.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/doc/ref/core.internal/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -91,7 +91,7 @@ Directories diff --git a/doc/ref/core.internal/html/dir_7283b8f5e6e3c4b0819c2b491a18d7d4.html b/doc/ref/core.internal/html/dir_7283b8f5e6e3c4b0819c2b491a18d7d4.html index ee6826b43a5..d38003a2b3e 100644 --- a/doc/ref/core.internal/html/dir_7283b8f5e6e3c4b0819c2b491a18d7d4.html +++ b/doc/ref/core.internal/html/dir_7283b8f5e6e3c4b0819c2b491a18d7d4.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -105,7 +105,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_73fa28a1e06161e89b964f34cd202aba.html b/doc/ref/core.internal/html/dir_73fa28a1e06161e89b964f34cd202aba.html index e4e722893b6..4d577ff2701 100644 --- a/doc/ref/core.internal/html/dir_73fa28a1e06161e89b964f34cd202aba.html +++ b/doc/ref/core.internal/html/dir_73fa28a1e06161e89b964f34cd202aba.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -91,13 +91,11 @@ Files   file  timers.h [code]   -file  timers_preciseclock.h [code] diff --git a/doc/ref/core.internal/html/dir_74d191036da95c8575e4e637193ed623.html b/doc/ref/core.internal/html/dir_74d191036da95c8575e4e637193ed623.html new file mode 100644 index 00000000000..42ec81d7b5e --- /dev/null +++ b/doc/ref/core.internal/html/dir_74d191036da95c8575e4e637193ed623.html @@ -0,0 +1,101 @@ + + + + + + +GRPC Core: src/core/statistics Directory Reference + + + + + + + + + +
    +
    + + + + + + +
    +
    GRPC Core +  0.11.0.0 +
    +
    +
    + + + + + + + + +
    + +
    + + +
    +
    +
    +
    statistics Directory Reference
    +
    +
    + + + + + + +

    +Files

    file  census_interface.h [code]
     
    file  census_rpc_stats.h [code]
     
    +
    + + + + diff --git a/doc/ref/core.internal/html/dir_79268b13b30141157b35932967b4e740.html b/doc/ref/core.internal/html/dir_79268b13b30141157b35932967b4e740.html index e62b4860348..53a36c7f4b5 100644 --- a/doc/ref/core.internal/html/dir_79268b13b30141157b35932967b4e740.html +++ b/doc/ref/core.internal/html/dir_79268b13b30141157b35932967b4e740.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -118,7 +118,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_8aa15e76222df75340b2e23e43efb3e2.html b/doc/ref/core.internal/html/dir_8aa15e76222df75340b2e23e43efb3e2.html index 1fb594f96e4..552148f068b 100644 --- a/doc/ref/core.internal/html/dir_8aa15e76222df75340b2e23e43efb3e2.html +++ b/doc/ref/core.internal/html/dir_8aa15e76222df75340b2e23e43efb3e2.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -85,8 +85,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - @@ -125,7 +123,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_9410f15740cc8f8ab312fa27ab494b45.html b/doc/ref/core.internal/html/dir_9410f15740cc8f8ab312fa27ab494b45.html index 615e08b2f3e..d3174a11a92 100644 --- a/doc/ref/core.internal/html/dir_9410f15740cc8f8ab312fa27ab494b45.html +++ b/doc/ref/core.internal/html/dir_9410f15740cc8f8ab312fa27ab494b45.html @@ -23,7 +23,7 @@ @@ -87,8 +87,6 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); Files - - @@ -171,6 +169,8 @@ Files + + @@ -179,7 +179,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_99f60d2bb6231896bcd2887028065f74.html b/doc/ref/core.internal/html/dir_99f60d2bb6231896bcd2887028065f74.html index 44b09593618..8edaf7d0dd2 100644 --- a/doc/ref/core.internal/html/dir_99f60d2bb6231896bcd2887028065f74.html +++ b/doc/ref/core.internal/html/dir_99f60d2bb6231896bcd2887028065f74.html @@ -23,7 +23,7 @@ @@ -103,7 +103,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html b/doc/ref/core.internal/html/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html index 3ca5db4da5d..01af660820e 100644 --- a/doc/ref/core.internal/html/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html +++ b/doc/ref/core.internal/html/dir_9d7a14d6d9adcbe4c35dbdb88d867e2e.html @@ -23,7 +23,7 @@ @@ -108,7 +108,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_aebb8dcc11953d78e620bbef0b9e2183.html b/doc/ref/core.internal/html/dir_aebb8dcc11953d78e620bbef0b9e2183.html index a4145b5c9a0..18cce867103 100644 --- a/doc/ref/core.internal/html/dir_aebb8dcc11953d78e620bbef0b9e2183.html +++ b/doc/ref/core.internal/html/dir_aebb8dcc11953d78e620bbef0b9e2183.html @@ -23,7 +23,7 @@ @@ -105,6 +105,8 @@ Directories + + @@ -117,7 +119,7 @@ Directories diff --git a/doc/ref/core.internal/html/dir_b758f7a0b27044dfb0efa69af3c473f5.html b/doc/ref/core.internal/html/dir_b758f7a0b27044dfb0efa69af3c473f5.html index 421c3f8222c..ec9e15c4b49 100644 --- a/doc/ref/core.internal/html/dir_b758f7a0b27044dfb0efa69af3c473f5.html +++ b/doc/ref/core.internal/html/dir_b758f7a0b27044dfb0efa69af3c473f5.html @@ -23,7 +23,7 @@ @@ -137,7 +137,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_bbc3f91aaf5c0e78deeca586ef449264.html b/doc/ref/core.internal/html/dir_bbc3f91aaf5c0e78deeca586ef449264.html index a7249ca9460..421af77c9f4 100644 --- a/doc/ref/core.internal/html/dir_bbc3f91aaf5c0e78deeca586ef449264.html +++ b/doc/ref/core.internal/html/dir_bbc3f91aaf5c0e78deeca586ef449264.html @@ -23,7 +23,7 @@ @@ -93,7 +93,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_bf8522d75c0d0c872d1b1e399b1737b8.html b/doc/ref/core.internal/html/dir_bf8522d75c0d0c872d1b1e399b1737b8.html index 40ebbbb507d..9d8518dfa7e 100644 --- a/doc/ref/core.internal/html/dir_bf8522d75c0d0c872d1b1e399b1737b8.html +++ b/doc/ref/core.internal/html/dir_bf8522d75c0d0c872d1b1e399b1737b8.html @@ -23,7 +23,7 @@ @@ -169,7 +169,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_c11753f61f8d651d8cfd411cfadfafab.html b/doc/ref/core.internal/html/dir_c11753f61f8d651d8cfd411cfadfafab.html index 28f9a744980..d096b04f740 100644 --- a/doc/ref/core.internal/html/dir_c11753f61f8d651d8cfd411cfadfafab.html +++ b/doc/ref/core.internal/html/dir_c11753f61f8d651d8cfd411cfadfafab.html @@ -23,7 +23,7 @@ @@ -97,7 +97,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_cad3142e04109052413f2d2a2d1813b0.html b/doc/ref/core.internal/html/dir_cad3142e04109052413f2d2a2d1813b0.html index 03fda648e84..4f66096144f 100644 --- a/doc/ref/core.internal/html/dir_cad3142e04109052413f2d2a2d1813b0.html +++ b/doc/ref/core.internal/html/dir_cad3142e04109052413f2d2a2d1813b0.html @@ -23,7 +23,7 @@ @@ -95,8 +95,6 @@ Files - - @@ -145,7 +143,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html b/doc/ref/core.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html index 6763f19e615..41bc6b85287 100644 --- a/doc/ref/core.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html +++ b/doc/ref/core.internal/html/dir_d44c64559bbebec7f509842c48db8b23.html @@ -23,7 +23,7 @@ @@ -91,7 +91,7 @@ Directories diff --git a/doc/ref/core.internal/html/dir_d6c86f4345f838817939dd561d8a016c.html b/doc/ref/core.internal/html/dir_d6c86f4345f838817939dd561d8a016c.html index 0f0b95ea8b2..c942b6346fb 100644 --- a/doc/ref/core.internal/html/dir_d6c86f4345f838817939dd561d8a016c.html +++ b/doc/ref/core.internal/html/dir_d6c86f4345f838817939dd561d8a016c.html @@ -23,7 +23,7 @@ @@ -134,7 +134,7 @@ Files diff --git a/doc/ref/core.internal/html/dir_ea54cbef5e3ffa125df07262bbfc9627.html b/doc/ref/core.internal/html/dir_ea54cbef5e3ffa125df07262bbfc9627.html index c8fb274d251..b8cdc2118b7 100644 --- a/doc/ref/core.internal/html/dir_ea54cbef5e3ffa125df07262bbfc9627.html +++ b/doc/ref/core.internal/html/dir_ea54cbef5e3ffa125df07262bbfc9627.html @@ -23,7 +23,7 @@ @@ -147,7 +147,7 @@ Files diff --git a/doc/ref/core.internal/html/dns__resolver_8c.html b/doc/ref/core.internal/html/dns__resolver_8c.html index 14db34447ca..2ff5de6176d 100644 --- a/doc/ref/core.internal/html/dns__resolver_8c.html +++ b/doc/ref/core.internal/html/dns__resolver_8c.html @@ -23,7 +23,7 @@ @@ -107,11 +107,39 @@ Data Structures

    Files

    file  census_filter.h [code]
     
    file  channel_args.c
     
    file  channel_args.h [code]
    GRPC Core -  0.10.0.0 +  0.11.0.0
    file  alloc.c
     
    file  cancellable.c
     
    file  cmdline.c
     
    file  cpu_iphone.c
     
    file  time_posix.c
     
    file  time_precise.h [code]
     
    file  time_win32.c
     
    file  tls_pthread.c
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    directory  security
     
    directory  statistics
     
    directory  support
     
    directory  surface
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    file  atm_win32.h [code]
     
    file  cancellable_platform.h [code]
     
    file  cmdline.h [code]
     
    file  cpu.h [code]
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    + +

    Functions

    char * dns_factory_get_default_host_name (grpc_resolver_factory *factory, grpc_uri *uri)
     
    grpc_resolver_factorygrpc_dns_resolver_factory_create ()
     Create a dns resolver factory. More...
     

    Function Documentation

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    char* dns_factory_get_default_host_name (grpc_resolver_factoryfactory,
    grpc_uriuri 
    )
    +
    + +
    +
    @@ -133,7 +161,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/dns__resolver_8h.html b/doc/ref/core.internal/html/dns__resolver_8h.html index 66cd3d461d8..3b024b7bb11 100644 --- a/doc/ref/core.internal/html/dns__resolver_8h.html +++ b/doc/ref/core.internal/html/dns__resolver_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -122,7 +122,7 @@ Functions
    diff --git a/doc/ref/core.internal/html/dns__resolver_8h_source.html b/doc/ref/core.internal/html/dns__resolver_8h_source.html index 31dd4cb0909..69ba58e1718 100644 --- a/doc/ref/core.internal/html/dns__resolver_8h_source.html +++ b/doc/ref/core.internal/html/dns__resolver_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -129,13 +129,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    40 grpc_resolver_factory *grpc_dns_resolver_factory_create(void);
    41 
    42 #endif /* GRPC_INTERNAL_CORE_CLIENT_CONFIG_RESOLVERS_DNS_RESOLVER_H */
    -
    grpc_resolver_factory * grpc_dns_resolver_factory_create(void)
    Create a dns resolver factory.
    Definition: dns_resolver.c:258
    +
    grpc_resolver_factory * grpc_dns_resolver_factory_create(void)
    Create a dns resolver factory.
    Definition: dns_resolver.c:254
    grpc_resolver provides grpc_client_config objects to grpc_channel objects
    Definition: resolver_factory.h:46
    diff --git a/doc/ref/core.internal/html/endpoint_8c.html b/doc/ref/core.internal/html/endpoint_8c.html index 96e3802ef49..aa7d5977683 100644 --- a/doc/ref/core.internal/html/endpoint_8c.html +++ b/doc/ref/core.internal/html/endpoint_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -94,10 +94,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - + + + + @@ -194,12 +194,12 @@ Functions - +

    Functions

    void grpc_endpoint_notify_on_read (grpc_endpoint *ep, grpc_endpoint_read_cb cb, void *user_data)
     
    grpc_endpoint_write_status grpc_endpoint_write (grpc_endpoint *ep, gpr_slice *slices, size_t nslices, grpc_endpoint_write_cb cb, void *user_data)
     
    grpc_endpoint_op_status grpc_endpoint_read (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
     
    grpc_endpoint_op_status grpc_endpoint_write (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
     
    void grpc_endpoint_add_to_pollset (grpc_endpoint *ep, grpc_pollset *pollset)
     
    void grpc_endpoint_add_to_pollset_set (grpc_endpoint *ep, grpc_pollset_set *pollset_set)
    - + @@ -207,14 +207,14 @@ Functions - - + + - - + + @@ -242,12 +242,12 @@ Functions - +
    void grpc_endpoint_notify_on_read grpc_endpoint_op_status grpc_endpoint_read ( grpc_endpoint ep,
    grpc_endpoint_read_cb cb, gpr_slice_bufferslices,
    void * user_data grpc_iomgr_closurecb 
    - + @@ -255,26 +255,14 @@ Functions - + - - - - - - - - - - - - - - + + @@ -289,7 +277,7 @@ Functions diff --git a/doc/ref/core.internal/html/endpoint_8h.html b/doc/ref/core.internal/html/endpoint_8h.html index e15915dcf1a..2f779899399 100644 --- a/doc/ref/core.internal/html/endpoint_8h.html +++ b/doc/ref/core.internal/html/endpoint_8h.html @@ -23,7 +23,7 @@ @@ -96,6 +96,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    #include "src/core/iomgr/pollset.h"
    #include "src/core/iomgr/pollset_set.h"
    #include <grpc/support/slice.h>
    +#include <grpc/support/slice_buffer.h>
    #include <grpc/support/time.h>

    Go to the source code of this file.

    @@ -113,39 +114,26 @@ Typedefs - - - - - - - - + +
    grpc_endpoint_write_status grpc_endpoint_write grpc_endpoint_op_status grpc_endpoint_write ( grpc_endpoint ep,
    gpr_slicegpr_slice_buffer slices,
    size_t nslices,
    grpc_endpoint_write_cb cb,
    void * user_data grpc_iomgr_closurecb 
    GRPC Core -  0.10.0.0 +  0.11.0.0
     
    typedef struct grpc_endpoint_vtable grpc_endpoint_vtable
     
    typedef enum
    -grpc_endpoint_cb_status 
    grpc_endpoint_cb_status
     
    typedef enum
    -grpc_endpoint_write_status 
    grpc_endpoint_write_status
     
    typedef void(* grpc_endpoint_read_cb )(void *user_data, gpr_slice *slices, size_t nslices, grpc_endpoint_cb_status error)
     
    typedef void(* grpc_endpoint_write_cb )(void *user_data, grpc_endpoint_cb_status error)
     
    typedef enum
    +grpc_endpoint_op_status 
    grpc_endpoint_op_status
     
    - - - - +

    Enumerations

    enum  grpc_endpoint_cb_status { GRPC_ENDPOINT_CB_OK = 0, -GRPC_ENDPOINT_CB_EOF, -GRPC_ENDPOINT_CB_SHUTDOWN, -GRPC_ENDPOINT_CB_ERROR +
    enum  grpc_endpoint_op_status { GRPC_ENDPOINT_DONE, +GRPC_ENDPOINT_PENDING, +GRPC_ENDPOINT_ERROR }
     
    enum  grpc_endpoint_write_status { GRPC_ENDPOINT_WRITE_DONE, -GRPC_ENDPOINT_WRITE_PENDING, -GRPC_ENDPOINT_WRITE_ERROR - }
     
     
    - - + + - - + + @@ -168,24 +156,12 @@ Functions - -
    -
    -

    Functions

    void grpc_endpoint_notify_on_read (grpc_endpoint *ep, grpc_endpoint_read_cb cb, void *user_data)
     
    grpc_endpoint_op_status grpc_endpoint_read (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
     
    char * grpc_endpoint_get_peer (grpc_endpoint *ep)
     
    grpc_endpoint_write_status grpc_endpoint_write (grpc_endpoint *ep, gpr_slice *slices, size_t nslices, grpc_endpoint_write_cb cb, void *user_data)
     
    grpc_endpoint_op_status grpc_endpoint_write (grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
     
    void grpc_endpoint_shutdown (grpc_endpoint *ep)
     
    void grpc_endpoint_destroy (grpc_endpoint *ep)
    - - - -
    typedef enum grpc_endpoint_cb_status grpc_endpoint_cb_status
    -
    - -
    - - +
    - +
    typedef void(* grpc_endpoint_read_cb)(void *user_data, gpr_slice *slices, size_t nslices, grpc_endpoint_cb_status error)typedef enum grpc_endpoint_op_status grpc_endpoint_op_status
    @@ -202,70 +178,24 @@ Functions
    -
    -
    - -
    -
    - - - - -
    typedef void(* grpc_endpoint_write_cb)(void *user_data, grpc_endpoint_cb_status error)
    -
    - -
    -
    - -
    -
    -

    Enumeration Type Documentation

    - -
    -
    - - - - -
    enum grpc_endpoint_cb_status
    -
    - - - - - -
    Enumerator
    GRPC_ENDPOINT_CB_OK  -
    GRPC_ENDPOINT_CB_EOF  -
    GRPC_ENDPOINT_CB_SHUTDOWN  -
    GRPC_ENDPOINT_CB_ERROR  -
    - -
    -
    - +
    - - -
    Enumerator
    GRPC_ENDPOINT_WRITE_DONE  +
    Enumerator
    GRPC_ENDPOINT_DONE 
    GRPC_ENDPOINT_WRITE_PENDING  +
    GRPC_ENDPOINT_PENDING 
    GRPC_ENDPOINT_WRITE_ERROR  +
    GRPC_ENDPOINT_ERROR 
    @@ -356,12 +286,12 @@ Functions
    - +
    - + @@ -369,14 +299,14 @@ Functions - - + + - - + + @@ -404,12 +334,12 @@ Functions - +
    void grpc_endpoint_notify_on_read grpc_endpoint_op_status grpc_endpoint_read ( grpc_endpoint ep,
    grpc_endpoint_read_cb cb, gpr_slice_bufferslices,
    void * user_data grpc_iomgr_closurecb 
    - + @@ -417,26 +347,14 @@ Functions - + - - - - - - - - - - - - - - + + @@ -451,7 +369,7 @@ Functions diff --git a/doc/ref/core.internal/html/endpoint_8h_source.html b/doc/ref/core.internal/html/endpoint_8h_source.html index 9c430efc793..89da233107a 100644 --- a/doc/ref/core.internal/html/endpoint_8h_source.html +++ b/doc/ref/core.internal/html/endpoint_8h_source.html @@ -23,7 +23,7 @@ @@ -127,117 +127,107 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    37 #include "src/core/iomgr/pollset.h"
    39 #include <grpc/support/slice.h>
    -
    40 #include <grpc/support/time.h>
    -
    41 
    -
    42 /* An endpoint caps a streaming channel between two communicating processes.
    -
    43  Examples may be: a tcp socket, <stdin+stdout>, or some shared memory. */
    -
    44 
    - - -
    47 
    - -
    49  GRPC_ENDPOINT_CB_OK = 0, /* Call completed successfully */
    -
    50  GRPC_ENDPOINT_CB_EOF, /* Call completed successfully, end of file reached */
    -
    51  GRPC_ENDPOINT_CB_SHUTDOWN, /* Call interrupted by shutdown */
    -
    52  GRPC_ENDPOINT_CB_ERROR /* Call interrupted by socket error */
    - + +
    41 #include <grpc/support/time.h>
    +
    42 
    +
    43 /* An endpoint caps a streaming channel between two communicating processes.
    +
    44  Examples may be: a tcp socket, <stdin+stdout>, or some shared memory. */
    +
    45 
    + + +
    48 
    + +
    50  GRPC_ENDPOINT_DONE, /* completed immediately, cb won't be called */
    +
    51  GRPC_ENDPOINT_PENDING, /* cb will be called when completed */
    +
    52  GRPC_ENDPOINT_ERROR /* write errored out, cb won't be called */
    +
    54 
    - -
    56  GRPC_ENDPOINT_WRITE_DONE, /* completed immediately, cb won't be called */
    -
    57  GRPC_ENDPOINT_WRITE_PENDING, /* cb will be called when completed */
    -
    58  GRPC_ENDPOINT_WRITE_ERROR /* write errored out, cb won't be called */
    - -
    60 
    -
    61 typedef void (*grpc_endpoint_read_cb)(void *user_data, gpr_slice *slices,
    -
    62  size_t nslices,
    - -
    64 typedef void (*grpc_endpoint_write_cb)(void *user_data,
    - + + +
    57  grpc_iomgr_closure *cb);
    + +
    59  grpc_iomgr_closure *cb);
    +
    60  void (*add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset);
    + +
    62  void (*shutdown)(grpc_endpoint *ep);
    +
    63  void (*destroy)(grpc_endpoint *ep);
    +
    64  char *(*get_peer)(grpc_endpoint *ep);
    +
    65 };
    66 
    - - -
    69  void *user_data);
    - -
    71  size_t nslices, grpc_endpoint_write_cb cb,
    -
    72  void *user_data);
    -
    73  void (*add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset);
    - -
    75  void (*shutdown)(grpc_endpoint *ep);
    -
    76  void (*destroy)(grpc_endpoint *ep);
    -
    77  char *(*get_peer)(grpc_endpoint *ep);
    -
    78 };
    -
    79 
    -
    80 /* When data is available on the connection, calls the callback with slices. */
    - -
    82  void *user_data);
    -
    83 
    - -
    85 
    -
    86 /* Write slices out to the socket.
    -
    87 
    -
    88  If the connection is ready for more data after the end of the call, it
    -
    89  returns GRPC_ENDPOINT_WRITE_DONE.
    -
    90  Otherwise it returns GRPC_ENDPOINT_WRITE_PENDING and calls cb when the
    -
    91  connection is ready for more data. */
    - -
    93  gpr_slice *slices,
    -
    94  size_t nslices,
    - -
    96  void *user_data);
    -
    97 
    -
    98 /* Causes any pending read/write callbacks to run immediately with
    -
    99  GRPC_ENDPOINT_CB_SHUTDOWN status */
    - - -
    102 
    -
    103 /* Add an endpoint to a pollset, so that when the pollset is polled, events from
    -
    104  this endpoint are considered */
    - - -
    107 
    - - -
    110 };
    -
    111 
    -
    112 #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H */
    -
    void(* add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset)
    Definition: endpoint.h:73
    -
    Definition: endpoint.h:56
    -
    void(* shutdown)(grpc_endpoint *ep)
    Definition: endpoint.h:75
    -
    grpc_endpoint_cb_status
    Definition: endpoint.h:48
    +
    67 /* When data is available on the connection, calls the callback with slices.
    +
    68  Callback success indicates that the endpoint can accept more reads, failure
    +
    69  indicates the endpoint is closed.
    +
    70  Valid slices may be placed into \a slices even on callback success == 0. */
    + +
    72  grpc_endpoint *ep, gpr_slice_buffer *slices,
    + +
    74 
    + +
    76 
    +
    77 /* Write slices out to the socket.
    +
    78 
    +
    79  If the connection is ready for more data after the end of the call, it
    +
    80  returns GRPC_ENDPOINT_DONE.
    +
    81  Otherwise it returns GRPC_ENDPOINT_PENDING and calls cb when the
    +
    82  connection is ready for more data.
    +
    83  \a slices may be mutated at will by the endpoint until cb is called.
    +
    84  No guarantee is made to the content of slices after a write EXCEPT that
    +
    85  it is a valid slice buffer.
    +
    86  */
    + +
    88  grpc_endpoint *ep, gpr_slice_buffer *slices,
    + +
    90 
    +
    91 /* Causes any pending read/write callbacks to run immediately with
    +
    92  success==0 */
    + + +
    95 
    +
    96 /* Add an endpoint to a pollset, so that when the pollset is polled, events from
    +
    97  this endpoint are considered */
    + + +
    100  grpc_pollset_set *pollset_set);
    +
    101 
    + + +
    104 };
    +
    105 
    +
    106 #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_H */
    +
    void(* add_to_pollset)(grpc_endpoint *ep, grpc_pollset *pollset)
    Definition: endpoint.h:60
    +
    grpc_endpoint_op_status(* read)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
    Definition: endpoint.h:56
    +
    void(* shutdown)(grpc_endpoint *ep)
    Definition: endpoint.h:62
    -
    void(* add_to_pollset_set)(grpc_endpoint *ep, grpc_pollset_set *pollset)
    Definition: endpoint.h:74
    -
    grpc_endpoint_write_status
    Definition: endpoint.h:55
    -
    grpc_endpoint_write_status grpc_endpoint_write(grpc_endpoint *ep, gpr_slice *slices, size_t nslices, grpc_endpoint_write_cb cb, void *user_data)
    Definition: endpoint.c:41
    +
    void(* add_to_pollset_set)(grpc_endpoint *ep, grpc_pollset_set *pollset)
    Definition: endpoint.h:61
    +
    #define GRPC_MUST_USE_RESULT
    Definition: port_platform.h:330
    void grpc_endpoint_destroy(grpc_endpoint *ep)
    Definition: endpoint.c:59
    char * grpc_endpoint_get_peer(grpc_endpoint *ep)
    Definition: endpoint.c:61
    -
    Definition: endpoint.h:50
    -
    Definition: endpoint.h:57
    -
    void grpc_endpoint_notify_on_read(grpc_endpoint *ep, grpc_endpoint_read_cb cb, void *user_data)
    Definition: endpoint.c:36
    -
    grpc_endpoint_write_status(* write)(grpc_endpoint *ep, gpr_slice *slices, size_t nslices, grpc_endpoint_write_cb cb, void *user_data)
    Definition: endpoint.h:70
    -
    Definition: pollset_posix.h:48
    -
    const grpc_endpoint_vtable * vtable
    Definition: endpoint.h:109
    -
    Definition: endpoint.h:67
    -
    void(* notify_on_read)(grpc_endpoint *ep, grpc_endpoint_read_cb cb, void *user_data)
    Definition: endpoint.h:68
    -
    Definition: endpoint.h:51
    -
    void grpc_endpoint_add_to_pollset_set(grpc_endpoint *ep, grpc_pollset_set *pollset_set)
    Definition: endpoint.c:53
    -
    void(* destroy)(grpc_endpoint *ep)
    Definition: endpoint.h:76
    -
    void(* grpc_endpoint_read_cb)(void *user_data, gpr_slice *slices, size_t nslices, grpc_endpoint_cb_status error)
    Definition: endpoint.h:61
    -
    void grpc_endpoint_add_to_pollset(grpc_endpoint *ep, grpc_pollset *pollset)
    Definition: endpoint.c:49
    +
    Definition: pollset_posix.h:55
    +
    Definition: slice_buffer.h:48
    +
    const grpc_endpoint_vtable * vtable
    Definition: endpoint.h:103
    +
    Definition: endpoint.h:55
    +
    Definition: endpoint.h:50
    +
    void grpc_endpoint_add_to_pollset_set(grpc_endpoint *ep, grpc_pollset_set *pollset_set)
    Definition: endpoint.c:52
    +
    grpc_endpoint_op_status(* write)(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb)
    Definition: endpoint.h:58
    +
    Definition: endpoint.h:51
    +
    void(* destroy)(grpc_endpoint *ep)
    Definition: endpoint.h:63
    +
    A closure over a grpc_iomgr_cb_func.
    Definition: iomgr.h:45
    + +
    grpc_endpoint_op_status grpc_endpoint_read(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
    Definition: endpoint.c:36
    +
    grpc_endpoint_op_status grpc_endpoint_write(grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_iomgr_closure *cb) GRPC_MUST_USE_RESULT
    Definition: endpoint.c:42
    +
    void grpc_endpoint_add_to_pollset(grpc_endpoint *ep, grpc_pollset *pollset)
    Definition: endpoint.c:48
    -
    Definition: endpoint.h:58
    -
    Definition: endpoint.h:108
    +
    Definition: endpoint.h:102
    -
    Definition: endpoint.h:52
    -
    Definition: endpoint.h:49
    -
    void(* grpc_endpoint_write_cb)(void *user_data, grpc_endpoint_cb_status error)
    Definition: endpoint.h:64
    Definition: pollset_set_posix.h:40
    void grpc_endpoint_shutdown(grpc_endpoint *ep)
    Definition: endpoint.c:57
    -
    Definition: slice.h:79
    +
    grpc_endpoint_op_status
    Definition: endpoint.h:49
    +
    Definition: endpoint.h:52
    diff --git a/doc/ref/core.internal/html/endpoint__pair_8h.html b/doc/ref/core.internal/html/endpoint__pair_8h.html index e24b8da94ca..3d38b830c01 100644 --- a/doc/ref/core.internal/html/endpoint__pair_8h.html +++ b/doc/ref/core.internal/html/endpoint__pair_8h.html @@ -23,7 +23,7 @@ @@ -135,7 +135,7 @@ Functions diff --git a/doc/ref/core.internal/html/endpoint__pair_8h_source.html b/doc/ref/core.internal/html/endpoint__pair_8h_source.html index eea862c3809..9f9144b698d 100644 --- a/doc/ref/core.internal/html/endpoint__pair_8h_source.html +++ b/doc/ref/core.internal/html/endpoint__pair_8h_source.html @@ -23,7 +23,7 @@ @@ -134,17 +134,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    45  size_t read_slice_size);
    46 
    -
    47 #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_PAIR_H */
    +
    47 #endif /* GRPC_INTERNAL_CORE_IOMGR_ENDPOINT_PAIR_H */
    Definition: endpoint_pair.h:39
    grpc_endpoint * client
    Definition: endpoint_pair.h:40
    grpc_endpoint_pair grpc_iomgr_create_endpoint_pair(const char *name, size_t read_slice_size)
    -
    Definition: endpoint.h:108
    +
    Definition: endpoint.h:102
    grpc_endpoint * server
    Definition: endpoint_pair.h:41
    diff --git a/doc/ref/core.internal/html/endpoint__pair__posix_8c.html b/doc/ref/core.internal/html/endpoint__pair__posix_8c.html index 3d5da3a5103..b885248283b 100644 --- a/doc/ref/core.internal/html/endpoint__pair__posix_8c.html +++ b/doc/ref/core.internal/html/endpoint__pair__posix_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/endpoint__pair__windows_8c.html b/doc/ref/core.internal/html/endpoint__pair__windows_8c.html index d993f999dcf..ea216585597 100644 --- a/doc/ref/core.internal/html/endpoint__pair__windows_8c.html +++ b/doc/ref/core.internal/html/endpoint__pair__windows_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/env_8h.html b/doc/ref/core.internal/html/env_8h.html index e049044fc98..c2da1b47b26 100644 --- a/doc/ref/core.internal/html/env_8h.html +++ b/doc/ref/core.internal/html/env_8h.html @@ -23,7 +23,7 @@ @@ -148,7 +148,7 @@ Functions diff --git a/doc/ref/core.internal/html/env_8h_source.html b/doc/ref/core.internal/html/env_8h_source.html index c65f11de2fc..f0d3eb7c7fc 100644 --- a/doc/ref/core.internal/html/env_8h_source.html +++ b/doc/ref/core.internal/html/env_8h_source.html @@ -23,7 +23,7 @@ @@ -147,7 +147,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    57 }
    58 #endif
    59 
    -
    60 #endif /* GRPC_INTERNAL_CORE_SUPPORT_ENV_H */
    +
    60 #endif /* GRPC_INTERNAL_CORE_SUPPORT_ENV_H */
    const char * value
    Definition: hpack_table.c:44
    char * gpr_getenv(const char *name)
    void gpr_setenv(const char *name, const char *value)
    @@ -155,7 +155,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/env__linux_8c.html b/doc/ref/core.internal/html/env__linux_8c.html index dff64194df6..a4bed63d1b8 100644 --- a/doc/ref/core.internal/html/env__linux_8c.html +++ b/doc/ref/core.internal/html/env__linux_8c.html @@ -23,7 +23,7 @@ @@ -113,7 +113,7 @@ Macros diff --git a/doc/ref/core.internal/html/env__posix_8c.html b/doc/ref/core.internal/html/env__posix_8c.html index 5f2af1e3ba2..b97631673a7 100644 --- a/doc/ref/core.internal/html/env__posix_8c.html +++ b/doc/ref/core.internal/html/env__posix_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/env__win32_8c.html b/doc/ref/core.internal/html/env__win32_8c.html index 7965b641aff..95482325835 100644 --- a/doc/ref/core.internal/html/env__win32_8c.html +++ b/doc/ref/core.internal/html/env__win32_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/event__string_8c.html b/doc/ref/core.internal/html/event__string_8c.html index 1f89db14a5e..b4e805db2e2 100644 --- a/doc/ref/core.internal/html/event__string_8c.html +++ b/doc/ref/core.internal/html/event__string_8c.html @@ -23,7 +23,7 @@ @@ -121,7 +121,7 @@ Functions diff --git a/doc/ref/core.internal/html/event__string_8h.html b/doc/ref/core.internal/html/event__string_8h.html index 4148898ded9..ed99e94d845 100644 --- a/doc/ref/core.internal/html/event__string_8h.html +++ b/doc/ref/core.internal/html/event__string_8h.html @@ -23,7 +23,7 @@ @@ -119,7 +119,7 @@ Functions diff --git a/doc/ref/core.internal/html/event__string_8h_source.html b/doc/ref/core.internal/html/event__string_8h_source.html index 6e4707985fb..c6ce46a25bf 100644 --- a/doc/ref/core.internal/html/event__string_8h_source.html +++ b/doc/ref/core.internal/html/event__string_8h_source.html @@ -23,7 +23,7 @@ @@ -129,14 +129,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    39 /* Returns a string describing an event. Must be later freed with gpr_free() */
    40 char *grpc_event_string(grpc_event *ev);
    41 
    -
    42 #endif /* GRPC_INTERNAL_CORE_SURFACE_EVENT_STRING_H */
    -
    The result of an operation.
    Definition: grpc.h:224
    +
    42 #endif /* GRPC_INTERNAL_CORE_SURFACE_EVENT_STRING_H */
    +
    The result of an operation.
    Definition: grpc.h:234
    char * grpc_event_string(grpc_event *ev)
    Definition: event_string.c:56
    diff --git a/doc/ref/core.internal/html/fake__transport__security_8c.html b/doc/ref/core.internal/html/fake__transport__security_8c.html index c81db00a477..e3707d942c9 100644 --- a/doc/ref/core.internal/html/fake__transport__security_8c.html +++ b/doc/ref/core.internal/html/fake__transport__security_8c.html @@ -23,7 +23,7 @@ @@ -237,7 +237,7 @@ Functions diff --git a/doc/ref/core.internal/html/fake__transport__security_8h.html b/doc/ref/core.internal/html/fake__transport__security_8h.html index 0d6cbbf6b63..8ea70391da3 100644 --- a/doc/ref/core.internal/html/fake__transport__security_8h.html +++ b/doc/ref/core.internal/html/fake__transport__security_8h.html @@ -23,7 +23,7 @@ @@ -156,7 +156,7 @@ Functions diff --git a/doc/ref/core.internal/html/fake__transport__security_8h_source.html b/doc/ref/core.internal/html/fake__transport__security_8h_source.html index d517483fead..731e279fc2d 100644 --- a/doc/ref/core.internal/html/fake__transport__security_8h_source.html +++ b/doc/ref/core.internal/html/fake__transport__security_8h_source.html @@ -23,7 +23,7 @@ @@ -148,16 +148,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    58 }
    59 #endif
    60 
    -
    61 #endif /* GRPC_INTERNAL_CORE_TSI_FAKE_TRANSPORT_SECURITY_H */
    +
    61 #endif /* GRPC_INTERNAL_CORE_TSI_FAKE_TRANSPORT_SECURITY_H */
    Definition: transport_security.h:65
    -
    tsi_handshaker * tsi_create_fake_handshaker(int is_client)
    Definition: fake_transport_security.c:498
    +
    tsi_handshaker * tsi_create_fake_handshaker(int is_client)
    Definition: fake_transport_security.c:501
    Definition: transport_security.h:86
    -
    tsi_frame_protector * tsi_create_fake_protector(size_t *max_protected_frame_size)
    Definition: fake_transport_security.c:513
    +
    tsi_frame_protector * tsi_create_fake_protector(size_t *max_protected_frame_size)
    Definition: fake_transport_security.c:516
    diff --git a/doc/ref/core.internal/html/fd__posix_8c.html b/doc/ref/core.internal/html/fd__posix_8c.html index 0672f60f381..0e7300e6764 100644 --- a/doc/ref/core.internal/html/fd__posix_8c.html +++ b/doc/ref/core.internal/html/fd__posix_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/fd__posix_8h.html b/doc/ref/core.internal/html/fd__posix_8h.html index 4a84e1dea15..b85880597bf 100644 --- a/doc/ref/core.internal/html/fd__posix_8h.html +++ b/doc/ref/core.internal/html/fd__posix_8h.html @@ -23,7 +23,7 @@ @@ -569,7 +569,7 @@ Functions diff --git a/doc/ref/core.internal/html/fd__posix_8h_source.html b/doc/ref/core.internal/html/fd__posix_8h_source.html index 27d5be84f58..78fa74d9251 100644 --- a/doc/ref/core.internal/html/fd__posix_8h_source.html +++ b/doc/ref/core.internal/html/fd__posix_8h_source.html @@ -23,7 +23,7 @@ @@ -199,74 +199,77 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    109  on_done is called when the underlying file descriptor is definitely close()d.
    110  If on_done is NULL, no callback will be made.
    111  Requires: *fd initialized; no outstanding notify_on_read or
    -
    112  notify_on_write. */
    - -
    114  const char *reason);
    -
    115 
    -
    116 /* Begin polling on an fd.
    -
    117  Registers that the given pollset is interested in this fd - so that if read
    -
    118  or writability interest changes, the pollset can be kicked to pick up that
    -
    119  new interest.
    -
    120  Return value is:
    -
    121  (fd_needs_read? read_mask : 0) | (fd_needs_write? write_mask : 0)
    -
    122  i.e. a combination of read_mask and write_mask determined by the fd's current
    -
    123  interest in said events.
    -
    124  Polling strategies that do not need to alter their behavior depending on the
    -
    125  fd's current interest (such as epoll) do not need to call this function. */
    - -
    127  gpr_uint32 read_mask, gpr_uint32 write_mask,
    -
    128  grpc_fd_watcher *rec);
    -
    129 /* Complete polling previously started with grpc_fd_begin_poll */
    -
    130 void grpc_fd_end_poll(grpc_fd_watcher *rec, int got_read, int got_write);
    -
    131 
    -
    132 /* Return 1 if this fd is orphaned, 0 otherwise */
    - +
    112  notify_on_write.
    +
    113  MUST NOT be called with a pollset lock taken */
    + +
    115  const char *reason);
    +
    116 
    +
    117 /* Begin polling on an fd.
    +
    118  Registers that the given pollset is interested in this fd - so that if read
    +
    119  or writability interest changes, the pollset can be kicked to pick up that
    +
    120  new interest.
    +
    121  Return value is:
    +
    122  (fd_needs_read? read_mask : 0) | (fd_needs_write? write_mask : 0)
    +
    123  i.e. a combination of read_mask and write_mask determined by the fd's current
    +
    124  interest in said events.
    +
    125  Polling strategies that do not need to alter their behavior depending on the
    +
    126  fd's current interest (such as epoll) do not need to call this function.
    +
    127  MUST NOT be called with a pollset lock taken */
    + +
    129  gpr_uint32 read_mask, gpr_uint32 write_mask,
    +
    130  grpc_fd_watcher *rec);
    +
    131 /* Complete polling previously started with grpc_fd_begin_poll
    +
    132  MUST NOT be called with a pollset lock taken */
    +
    133 void grpc_fd_end_poll(grpc_fd_watcher *rec, int got_read, int got_write);
    134 
    -
    135 /* Cause any current callbacks to error out with GRPC_CALLBACK_CANCELLED. */
    - +
    135 /* Return 1 if this fd is orphaned, 0 otherwise */
    +
    137 
    -
    138 /* Register read interest, causing read_cb to be called once when fd becomes
    -
    139  readable, on deadline specified by deadline, or on shutdown triggered by
    -
    140  grpc_fd_shutdown.
    -
    141  read_cb will be called with read_cb_arg when *fd becomes readable.
    -
    142  read_cb is Called with status of GRPC_CALLBACK_SUCCESS if readable,
    -
    143  GRPC_CALLBACK_TIMED_OUT if the call timed out,
    -
    144  and CANCELLED if the call was cancelled.
    -
    145 
    -
    146  Requires:This method must not be called before the read_cb for any previous
    -
    147  call runs. Edge triggered events are used whenever they are supported by the
    -
    148  underlying platform. This means that users must drain fd in read_cb before
    -
    149  calling notify_on_read again. Users are also expected to handle spurious
    -
    150  events, i.e read_cb is called while nothing can be readable from fd */
    - -
    152 
    -
    153 /* Exactly the same semantics as above, except based on writable events. */
    - +
    138 /* Cause any current callbacks to error out with GRPC_CALLBACK_CANCELLED. */
    + +
    140 
    +
    141 /* Register read interest, causing read_cb to be called once when fd becomes
    +
    142  readable, on deadline specified by deadline, or on shutdown triggered by
    +
    143  grpc_fd_shutdown.
    +
    144  read_cb will be called with read_cb_arg when *fd becomes readable.
    +
    145  read_cb is Called with status of GRPC_CALLBACK_SUCCESS if readable,
    +
    146  GRPC_CALLBACK_TIMED_OUT if the call timed out,
    +
    147  and CANCELLED if the call was cancelled.
    +
    148 
    +
    149  Requires:This method must not be called before the read_cb for any previous
    +
    150  call runs. Edge triggered events are used whenever they are supported by the
    +
    151  underlying platform. This means that users must drain fd in read_cb before
    +
    152  calling notify_on_read again. Users are also expected to handle spurious
    +
    153  events, i.e read_cb is called while nothing can be readable from fd */
    +
    155 
    -
    156 /* Notification from the poller to an fd that it has become readable or
    -
    157  writable.
    -
    158  If allow_synchronous_callback is 1, allow running the fd callback inline
    -
    159  in this callstack, otherwise register an asynchronous callback and return */
    -
    160 void grpc_fd_become_readable(grpc_fd *fd, int allow_synchronous_callback);
    -
    161 void grpc_fd_become_writable(grpc_fd *fd, int allow_synchronous_callback);
    -
    162 
    -
    163 /* Reference counting for fds */
    -
    164 #ifdef GRPC_FD_REF_COUNT_DEBUG
    -
    165 void grpc_fd_ref(grpc_fd *fd, const char *reason, const char *file, int line);
    -
    166 void grpc_fd_unref(grpc_fd *fd, const char *reason, const char *file, int line);
    -
    167 #define GRPC_FD_REF(fd, reason) grpc_fd_ref(fd, reason, __FILE__, __LINE__)
    -
    168 #define GRPC_FD_UNREF(fd, reason) grpc_fd_unref(fd, reason, __FILE__, __LINE__)
    -
    169 #else
    -
    170 void grpc_fd_ref(grpc_fd *fd);
    -
    171 void grpc_fd_unref(grpc_fd *fd);
    -
    172 #define GRPC_FD_REF(fd, reason) grpc_fd_ref(fd)
    -
    173 #define GRPC_FD_UNREF(fd, reason) grpc_fd_unref(fd)
    -
    174 #endif
    -
    175 
    -
    176 void grpc_fd_global_init(void);
    -
    177 void grpc_fd_global_shutdown(void);
    -
    178 
    -
    179 #endif /* GRPC_INTERNAL_CORE_IOMGR_FD_POSIX_H */
    +
    156 /* Exactly the same semantics as above, except based on writable events. */
    + +
    158 
    +
    159 /* Notification from the poller to an fd that it has become readable or
    +
    160  writable.
    +
    161  If allow_synchronous_callback is 1, allow running the fd callback inline
    +
    162  in this callstack, otherwise register an asynchronous callback and return */
    +
    163 void grpc_fd_become_readable(grpc_fd *fd, int allow_synchronous_callback);
    +
    164 void grpc_fd_become_writable(grpc_fd *fd, int allow_synchronous_callback);
    +
    165 
    +
    166 /* Reference counting for fds */
    +
    167 #ifdef GRPC_FD_REF_COUNT_DEBUG
    +
    168 void grpc_fd_ref(grpc_fd *fd, const char *reason, const char *file, int line);
    +
    169 void grpc_fd_unref(grpc_fd *fd, const char *reason, const char *file, int line);
    +
    170 #define GRPC_FD_REF(fd, reason) grpc_fd_ref(fd, reason, __FILE__, __LINE__)
    +
    171 #define GRPC_FD_UNREF(fd, reason) grpc_fd_unref(fd, reason, __FILE__, __LINE__)
    +
    172 #else
    +
    173 void grpc_fd_ref(grpc_fd *fd);
    +
    174 void grpc_fd_unref(grpc_fd *fd);
    +
    175 #define GRPC_FD_REF(fd, reason) grpc_fd_ref(fd)
    +
    176 #define GRPC_FD_UNREF(fd, reason) grpc_fd_unref(fd)
    +
    177 #endif
    +
    178 
    +
    179 void grpc_fd_global_init(void);
    +
    180 void grpc_fd_global_shutdown(void);
    +
    181 
    +
    182 #endif /* GRPC_INTERNAL_CORE_IOMGR_FD_POSIX_H */
    gpr_atm shutdown
    Definition: fd_posix.h:62
    void grpc_fd_shutdown(grpc_fd *fd)
    void grpc_fd_become_readable(grpc_fd *fd, int allow_synchronous_callback)
    @@ -283,10 +286,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    grpc_pollset * pollset
    Definition: fd_posix.h:48
    struct grpc_fd_watcher * prev
    Definition: fd_posix.h:47
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    void grpc_fd_notify_on_write(grpc_fd *fd, grpc_iomgr_closure *closure)
    void grpc_fd_global_init(void)
    -
    Definition: pollset_posix.h:48
    +
    Definition: pollset_posix.h:55
    grpc_iomgr_object iomgr_object
    Definition: fd_posix.h:100
    struct grpc_fd_watcher grpc_fd_watcher
    gpr_atm readst
    Definition: fd_posix.h:92
    @@ -317,7 +320,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/file_8c.html b/doc/ref/core.internal/html/file_8c.html index 34ac22e2145..7b7e580fbc2 100644 --- a/doc/ref/core.internal/html/file_8c.html +++ b/doc/ref/core.internal/html/file_8c.html @@ -23,7 +23,7 @@ @@ -138,7 +138,7 @@ Functions diff --git a/doc/ref/core.internal/html/file_8h.html b/doc/ref/core.internal/html/file_8h.html index f00c9444ccc..61c5f227ef3 100644 --- a/doc/ref/core.internal/html/file_8h.html +++ b/doc/ref/core.internal/html/file_8h.html @@ -23,7 +23,7 @@ @@ -164,7 +164,7 @@ Functions diff --git a/doc/ref/core.internal/html/file_8h_source.html b/doc/ref/core.internal/html/file_8h_source.html index 959c200f1e3..237208a1d01 100644 --- a/doc/ref/core.internal/html/file_8h_source.html +++ b/doc/ref/core.internal/html/file_8h_source.html @@ -23,7 +23,7 @@ @@ -150,7 +150,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    60 }
    61 #endif
    62 
    -
    63 #endif /* GRPC_INTERNAL_CORE_SUPPORT_FILE_H */
    +
    63 #endif /* GRPC_INTERNAL_CORE_SUPPORT_FILE_H */
    FILE * gpr_tmpfile(const char *prefix, char **tmp_filename)
    gpr_slice gpr_load_file(const char *filename, int add_null_terminator, int *success)
    Definition: file.c:45
    @@ -158,7 +158,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/file__posix_8c.html b/doc/ref/core.internal/html/file__posix_8c.html index 6771c9205c6..d71d210f274 100644 --- a/doc/ref/core.internal/html/file__posix_8c.html +++ b/doc/ref/core.internal/html/file__posix_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/file__win32_8c.html b/doc/ref/core.internal/html/file__win32_8c.html index fce890b1be9..b7efe95b8ac 100644 --- a/doc/ref/core.internal/html/file__win32_8c.html +++ b/doc/ref/core.internal/html/file__win32_8c.html @@ -23,7 +23,7 @@ @@ -92,7 +92,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/files.html b/doc/ref/core.internal/html/files.html index c2c65ffeddf..788e3a5e7d0 100644 --- a/doc/ref/core.internal/html/files.html +++ b/doc/ref/core.internal/html/files.html @@ -23,7 +23,7 @@ @@ -94,29 +94,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + @@ -127,31 +126,34 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + @@ -197,9 +199,8 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - + + @@ -222,45 +223,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -279,8 +280,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - + @@ -306,150 +306,153 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    grpc_endpoint_write_status grpc_endpoint_write grpc_endpoint_op_status grpc_endpoint_write ( grpc_endpoint ep,
    gpr_slicegpr_slice_buffer slices,
    size_t nslices,
    grpc_endpoint_write_cb cb,
    void * user_data grpc_iomgr_closurecb 
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    GRPC Core -  0.10.0.0 +  0.11.0.0
    | o*byte_buffer.h
    | o*byte_buffer_reader.h
    | o*census.h
    \-src
     \-core
      o+census
      o+channel
      o+client_config
      o+iomgr
      o+profiling
      o+security
      o+support
      o+surface
      o+transport
      \+tsi
      o+statistics
      o+support
      o+surface
      o+transport
      \+tsi
    diff --git a/doc/ref/core.internal/html/format__request_8c.html b/doc/ref/core.internal/html/format__request_8c.html index bdfde089aaf..73b2f6cc53d 100644 --- a/doc/ref/core.internal/html/format__request_8c.html +++ b/doc/ref/core.internal/html/format__request_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -158,7 +158,7 @@ Functions diff --git a/doc/ref/core.internal/html/format__request_8h.html b/doc/ref/core.internal/html/format__request_8h.html index 308fd119670..892135f3293 100644 --- a/doc/ref/core.internal/html/format__request_8h.html +++ b/doc/ref/core.internal/html/format__request_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -154,7 +154,7 @@ Functions diff --git a/doc/ref/core.internal/html/format__request_8h_source.html b/doc/ref/core.internal/html/format__request_8h_source.html index 4ebfb8b21df..c55474ce8c0 100644 --- a/doc/ref/core.internal/html/format__request_8h_source.html +++ b/doc/ref/core.internal/html/format__request_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -132,17 +132,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    42  const char *body_bytes,
    43  size_t body_size);
    44 
    -
    45 #endif /* GRPC_INTERNAL_CORE_HTTPCLI_FORMAT_REQUEST_H */
    +
    45 #endif /* GRPC_INTERNAL_CORE_HTTPCLI_FORMAT_REQUEST_H */
    -
    gpr_slice grpc_httpcli_format_get_request(const grpc_httpcli_request *request)
    Definition: format_request.c:65
    -
    gpr_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request, const char *body_bytes, size_t body_size)
    Definition: format_request.c:81
    -
    Definition: httpcli.h:62
    +
    gpr_slice grpc_httpcli_format_get_request(const grpc_httpcli_request *request)
    Definition: format_request.c:67
    +
    gpr_slice grpc_httpcli_format_post_request(const grpc_httpcli_request *request, const char *body_bytes, size_t body_size)
    Definition: format_request.c:83
    +
    Definition: httpcli.h:72
    Definition: slice.h:79
    diff --git a/doc/ref/core.internal/html/frame_8h.html b/doc/ref/core.internal/html/frame_8h.html index e1adc31921b..fbf60d32d77 100644 --- a/doc/ref/core.internal/html/frame_8h.html +++ b/doc/ref/core.internal/html/frame_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -363,7 +363,7 @@ Enumerations diff --git a/doc/ref/core.internal/html/frame_8h_source.html b/doc/ref/core.internal/html/frame_8h_source.html index ecad627edef..9aea5813fc4 100644 --- a/doc/ref/core.internal/html/frame_8h_source.html +++ b/doc/ref/core.internal/html/frame_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -160,15 +160,15 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Definition: frame.h:43
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    Definition: internal.h:215
    -
    Definition: internal.h:412
    +
    Definition: internal.h:221
    +
    Definition: internal.h:426
    Definition: frame.h:45
    Definition: frame.h:44
    diff --git a/doc/ref/core.internal/html/frame__data_8c.html b/doc/ref/core.internal/html/frame__data_8c.html index 89260e9bffe..defb1e155f1 100644 --- a/doc/ref/core.internal/html/frame__data_8c.html +++ b/doc/ref/core.internal/html/frame__data_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -215,7 +215,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__data_8h.html b/doc/ref/core.internal/html/frame__data_8h.html index f399814b54e..e380233b3c7 100644 --- a/doc/ref/core.internal/html/frame__data_8h.html +++ b/doc/ref/core.internal/html/frame__data_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -280,7 +280,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__data_8h_source.html b/doc/ref/core.internal/html/frame__data_8h_source.html index ac4347fc5c1..3fd01f6a137 100644 --- a/doc/ref/core.internal/html/frame__data_8h_source.html +++ b/doc/ref/core.internal/html/frame__data_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -170,11 +170,11 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    80 gpr_slice grpc_chttp2_data_frame_create_empty_close(gpr_uint32 id);
    81 
    82 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_DATA_H */
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    grpc_chttp2_stream_state
    Definition: frame_data.h:44
    grpc_chttp2_parse_error grpc_chttp2_data_parser_begin_frame(grpc_chttp2_data_parser *parser, gpr_uint8 flags)
    Definition: frame_data.c:56
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    int is_frame_compressed
    Definition: frame_data.h:59
    grpc_stream_op_buffer incoming_sopb
    Definition: frame_data.h:60
    Definition: frame_data.h:50
    @@ -183,27 +183,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    grpc_chttp2_parse_error grpc_chttp2_data_parser_init(grpc_chttp2_data_parser *parser)
    Definition: frame_data.c:45
    Definition: frame_data.h:48
    -
    Definition: internal.h:215
    +
    Definition: internal.h:221
    Definition: frame_data.h:46
    gpr_uint32 frame_size
    Definition: frame_data.h:57
    -
    Definition: internal.h:412
    +
    Definition: internal.h:426
    void grpc_chttp2_data_parser_destroy(grpc_chttp2_data_parser *parser)
    Definition: frame_data.c:52
    Definition: frame_data.h:53
    -
    gpr_slice grpc_chttp2_data_frame_create_empty_close(gpr_uint32 id)
    Definition: stream_encoder.c:449
    +
    gpr_slice grpc_chttp2_data_frame_create_empty_close(gpr_uint32 id)
    Definition: stream_encoder.c:460
    Definition: frame_data.h:47
    grpc_chttp2_parse_error grpc_chttp2_data_parser_parse(void *parser, grpc_chttp2_transport_parsing *transport_parsing, grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last)
    Definition: frame_data.c:72
    Definition: frame_data.h:45
    gpr_uint8 frame_type
    Definition: frame_data.h:56
    -
    A stream op buffer is a wrapper around stream operations that is dynamically extendable.
    Definition: stream_op.h:176
    +
    A stream op buffer is a wrapper around stream operations that is dynamically extendable.
    Definition: stream_op.h:177
    Definition: slice.h:79
    gpr_uint8 is_last_frame
    Definition: frame_data.h:55
    diff --git a/doc/ref/core.internal/html/frame__goaway_8c.html b/doc/ref/core.internal/html/frame__goaway_8c.html index f966d7b3777..9a3f4221a8f 100644 --- a/doc/ref/core.internal/html/frame__goaway_8c.html +++ b/doc/ref/core.internal/html/frame__goaway_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -259,7 +259,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__goaway_8h.html b/doc/ref/core.internal/html/frame__goaway_8h.html index 5f9fed657fc..045e82ad84c 100644 --- a/doc/ref/core.internal/html/frame__goaway_8h.html +++ b/doc/ref/core.internal/html/frame__goaway_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -318,7 +318,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__goaway_8h_source.html b/doc/ref/core.internal/html/frame__goaway_8h_source.html index 81677c83286..94b75533657 100644 --- a/doc/ref/core.internal/html/frame__goaway_8h_source.html +++ b/doc/ref/core.internal/html/frame__goaway_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -166,13 +166,13 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    gpr_uint32 last_stream_id
    Definition: frame_goaway.h:56
    Definition: frame_goaway.h:50
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    Definition: frame_goaway.h:43
    Definition: frame_goaway.h:51
    Definition: frame_goaway.h:44
    grpc_chttp2_parse_error
    Definition: frame.h:42
    void grpc_chttp2_goaway_parser_destroy(grpc_chttp2_goaway_parser *p)
    Definition: frame_goaway.c:46
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    Definition: frame_goaway.h:48
    Definition: slice_buffer.h:48
    Definition: frame_goaway.h:47
    @@ -181,12 +181,12 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Definition: frame_goaway.h:54
    gpr_uint32 error_code
    Definition: frame_goaway.h:57
    -
    Definition: internal.h:215
    +
    Definition: internal.h:221
    Definition: frame_goaway.h:49
    Definition: frame_goaway.h:46
    char * debug_data
    Definition: frame_goaway.h:58
    -
    Definition: internal.h:412
    +
    Definition: internal.h:426
    grpc_chttp2_parse_error grpc_chttp2_goaway_parser_parse(void *parser, grpc_chttp2_transport_parsing *transport_parsing, grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last)
    Definition: frame_goaway.c:65
    void grpc_chttp2_goaway_parser_init(grpc_chttp2_goaway_parser *p)
    Definition: frame_goaway.c:42
    @@ -199,7 +199,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/frame__ping_8c.html b/doc/ref/core.internal/html/frame__ping_8c.html index 66b49202d3d..88bc7aef426 100644 --- a/doc/ref/core.internal/html/frame__ping_8c.html +++ b/doc/ref/core.internal/html/frame__ping_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -211,7 +211,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__ping_8h.html b/doc/ref/core.internal/html/frame__ping_8h.html index 431c0d0cfef..beb21bc8098 100644 --- a/doc/ref/core.internal/html/frame__ping_8h.html +++ b/doc/ref/core.internal/html/frame__ping_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -216,7 +216,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__ping_8h_source.html b/doc/ref/core.internal/html/frame__ping_8h_source.html index 8dfe9eecab6..364b8bb3e4c 100644 --- a/doc/ref/core.internal/html/frame__ping_8h_source.html +++ b/doc/ref/core.internal/html/frame__ping_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -142,16 +142,16 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    52  grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last);
    53 
    54 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_PING_H */
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    gpr_uint8 is_ack
    Definition: frame_ping.h:42
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    grpc_chttp2_parse_error grpc_chttp2_ping_parser_begin_frame(grpc_chttp2_ping_parser *parser, gpr_uint32 length, gpr_uint8 flags)
    Definition: frame_ping.c:60
    -
    Definition: internal.h:215
    +
    Definition: internal.h:221
    gpr_slice grpc_chttp2_ping_create(gpr_uint8 ack, gpr_uint8 *opaque_8bytes)
    Definition: frame_ping.c:42
    Definition: frame_ping.h:40
    -
    Definition: internal.h:412
    +
    Definition: internal.h:426
    gpr_uint8 byte
    Definition: frame_ping.h:41
    grpc_chttp2_parse_error grpc_chttp2_ping_parser_parse(void *parser, grpc_chttp2_transport_parsing *transport_parsing, grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last)
    Definition: frame_ping.c:71
    @@ -159,7 +159,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/frame__rst__stream_8c.html b/doc/ref/core.internal/html/frame__rst__stream_8c.html index 0c3080093de..24e83fe0526 100644 --- a/doc/ref/core.internal/html/frame__rst__stream_8c.html +++ b/doc/ref/core.internal/html/frame__rst__stream_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -210,7 +210,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__rst__stream_8h.html b/doc/ref/core.internal/html/frame__rst__stream_8h.html index f14043a58d0..ea06f5968e3 100644 --- a/doc/ref/core.internal/html/frame__rst__stream_8h.html +++ b/doc/ref/core.internal/html/frame__rst__stream_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -216,7 +216,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__rst__stream_8h_source.html b/doc/ref/core.internal/html/frame__rst__stream_8h_source.html index 51c79becf94..1ab861968b4 100644 --- a/doc/ref/core.internal/html/frame__rst__stream_8h_source.html +++ b/doc/ref/core.internal/html/frame__rst__stream_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -142,22 +142,22 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    52 
    53 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_RST_STREAM_H */
    gpr_uint8 byte
    Definition: frame_rst_stream.h:41
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    grpc_chttp2_parse_error grpc_chttp2_rst_stream_parser_parse(void *parser, grpc_chttp2_transport_parsing *transport_parsing, grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last)
    Definition: frame_rst_stream.c:73
    Definition: frame_rst_stream.h:40
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    gpr_slice grpc_chttp2_rst_stream_create(gpr_uint32 stream_id, gpr_uint32 code)
    Definition: frame_rst_stream.c:41
    -
    Definition: internal.h:215
    +
    Definition: internal.h:221
    grpc_chttp2_parse_error grpc_chttp2_rst_stream_parser_begin_frame(grpc_chttp2_rst_stream_parser *parser, gpr_uint32 length, gpr_uint8 flags)
    Definition: frame_rst_stream.c:62
    -
    Definition: internal.h:412
    +
    Definition: internal.h:426
    Definition: slice.h:79
    diff --git a/doc/ref/core.internal/html/frame__settings_8c.html b/doc/ref/core.internal/html/frame__settings_8c.html index 1ecb19db877..60916c7872d 100644 --- a/doc/ref/core.internal/html/frame__settings_8c.html +++ b/doc/ref/core.internal/html/frame__settings_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -286,7 +286,7 @@ Variables diff --git a/doc/ref/core.internal/html/frame__settings_8h.html b/doc/ref/core.internal/html/frame__settings_8h.html index 09c973ddb89..a04f82a31f8 100644 --- a/doc/ref/core.internal/html/frame__settings_8h.html +++ b/doc/ref/core.internal/html/frame__settings_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -379,7 +379,7 @@ Variables diff --git a/doc/ref/core.internal/html/frame__settings_8h_source.html b/doc/ref/core.internal/html/frame__settings_8h_source.html index 2e9c26981dd..c4ae6ec895f 100644 --- a/doc/ref/core.internal/html/frame__settings_8h_source.html +++ b/doc/ref/core.internal/html/frame__settings_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -191,7 +191,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    const grpc_chttp2_setting_parameters grpc_chttp2_settings_parameters[GRPC_CHTTP2_NUM_SETTINGS]
    Definition: frame_settings.c:47
    Definition: frame_settings.h:56
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    Definition: frame_settings.h:43
    Definition: frame_settings.h:71
    Definition: frame_settings.h:53
    @@ -201,7 +201,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Definition: frame_settings.h:46
    gpr_uint32 * target_settings
    Definition: frame_settings.h:63
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    Definition: frame_settings.h:44
    gpr_slice grpc_chttp2_settings_ack_create(void)
    Definition: frame_settings.c:108
    grpc_chttp2_settings_parse_state
    Definition: frame_settings.h:41
    @@ -213,14 +213,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Definition: frame_settings.h:52
    gpr_uint16 id
    Definition: frame_settings.h:65
    Definition: frame_settings.h:54
    -
    Definition: internal.h:215
    +
    Definition: internal.h:221
    Definition: frame_settings.h:72
    -
    uint16_t gpr_uint16
    Definition: port_platform.h:308
    +
    uint16_t gpr_uint16
    Definition: port_platform.h:311
    Definition: frame_settings.h:57
    gpr_uint32 max_value
    Definition: frame_settings.h:79
    gpr_slice grpc_chttp2_settings_create(gpr_uint32 *old, const gpr_uint32 *new, gpr_uint32 force_mask, size_t count)
    Definition: frame_settings.c:76
    Definition: frame_settings.h:58
    -
    Definition: internal.h:412
    +
    Definition: internal.h:426
    gpr_uint32 value
    Definition: frame_settings.h:66
    Definition: frame_settings.h:75
    Definition: frame_settings.h:61
    @@ -236,7 +236,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/frame__window__update_8c.html b/doc/ref/core.internal/html/frame__window__update_8c.html index 61ebdb479bd..fe7c2d28c0b 100644 --- a/doc/ref/core.internal/html/frame__window__update_8c.html +++ b/doc/ref/core.internal/html/frame__window__update_8c.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -209,7 +209,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__window__update_8h.html b/doc/ref/core.internal/html/frame__window__update_8h.html index bd0c6f13ef5..2cd61808343 100644 --- a/doc/ref/core.internal/html/frame__window__update_8h.html +++ b/doc/ref/core.internal/html/frame__window__update_8h.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -216,7 +216,7 @@ Functions diff --git a/doc/ref/core.internal/html/frame__window__update_8h_source.html b/doc/ref/core.internal/html/frame__window__update_8h_source.html index 27e02793e60..9fa2161add3 100644 --- a/doc/ref/core.internal/html/frame__window__update_8h_source.html +++ b/doc/ref/core.internal/html/frame__window__update_8h_source.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -144,14 +144,14 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    54  grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last);
    55 
    56 #endif /* GRPC_INTERNAL_CORE_TRANSPORT_CHTTP2_FRAME_WINDOW_UPDATE_H */
    -
    uint8_t gpr_uint8
    Definition: port_platform.h:307
    +
    uint8_t gpr_uint8
    Definition: port_platform.h:310
    gpr_uint32 amount
    Definition: frame_window_update.h:43
    grpc_chttp2_parse_error
    Definition: frame.h:42
    -
    uint32_t gpr_uint32
    Definition: port_platform.h:309
    +
    uint32_t gpr_uint32
    Definition: port_platform.h:312
    gpr_uint8 byte
    Definition: frame_window_update.h:41
    -
    Definition: internal.h:215
    -
    Definition: internal.h:412
    +
    Definition: internal.h:221
    +
    Definition: internal.h:426
    Definition: frame_window_update.h:40
    grpc_chttp2_parse_error grpc_chttp2_window_update_parser_parse(void *parser, grpc_chttp2_transport_parsing *transport_parsing, grpc_chttp2_stream_parsing *stream_parsing, gpr_slice slice, int is_last)
    Definition: frame_window_update.c:76
    @@ -162,7 +162,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/ref/core.internal/html/functions.html b/doc/ref/core.internal/html/functions.html index 6d7ba6cd24c..119fe72371d 100644 --- a/doc/ref/core.internal/html/functions.html +++ b/doc/ref/core.internal/html/functions.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -117,6 +117,9 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
    Here is a list of all struct and union fields with links to the structures/unions they belong to:

    - a -

    diff --git a/doc/ref/core.internal/html/functions_d.html b/doc/ref/core.internal/html/functions_d.html index 19fa1525b89..b789de6591f 100644 --- a/doc/ref/core.internal/html/functions_d.html +++ b/doc/ref/core.internal/html/functions_d.html @@ -23,7 +23,7 @@
    GRPC Core -  0.10.0.0 +  0.11.0.0
    @@ -118,15 +118,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');

    - d -