#include <transport.h>
Transport op: a set of operations to perform on a transport as a whole
Definition at line 452 of file transport.h.
grpc_pollset* grpc_transport_op::bind_pollset = nullptr |
add this transport to a pollset
Definition at line 486 of file transport.h.
grpc_pollset_set* grpc_transport_op::bind_pollset_set = nullptr |
add this transport to a pollset_set
Definition at line 488 of file transport.h.
grpc_error_handle grpc_transport_op::disconnect_with_error = GRPC_ERROR_NONE |
should the transport be disconnected Error contract: the transport that gets this op must cause disconnect_with_error to be unref'ed after processing it
Definition at line 464 of file transport.h.
grpc_error_handle grpc_transport_op::goaway_error = GRPC_ERROR_NONE |
what should the goaway contain? Error contract: the transport that gets this op must cause goaway_error to be unref'ed after processing it
Definition at line 468 of file transport.h.
grpc_handler_private_op_data grpc_transport_op::handler_private |
Definition at line 504 of file transport.h.
grpc_closure* grpc_transport_op::on_ack = nullptr |
Called when the ping ack is received
Definition at line 495 of file transport.h.
grpc_closure* grpc_transport_op::on_consumed = nullptr |
Called when processing of this op is done.
Definition at line 454 of file transport.h.
grpc_closure* grpc_transport_op::on_initiate = nullptr |
Ping may be delayed by the transport, on_initiate callback will be called when the ping is actually being sent.
Definition at line 493 of file transport.h.
Definition at line 498 of file transport.h.
struct { ... } grpc_transport_op::send_ping |
send a ping, if either on_initiate or on_ack is not NULL
set the callback for accepting new streams; this is a permanent callback, unlike the other one-shot closures. If true, the callback is set to set_accept_stream_fn, with its user_data argument set to set_accept_stream_user_data
Definition at line 473 of file transport.h.
void(* grpc_transport_op::set_accept_stream_fn) (void *user_data, grpc_transport *transport, const void *server_data) = nullptr |
Definition at line 474 of file transport.h.
void* grpc_transport_op::set_accept_stream_user_data = nullptr |
Definition at line 476 of file transport.h.
set the callback for accepting new streams based upon promises; this is a permanent callback, unlike the other one-shot closures. If true, the callback is set to set_make_promise_fn, with its user_data argument set to set_make_promise_data
Definition at line 481 of file transport.h.
void(* grpc_transport_op::set_make_promise_fn) (void *user_data, grpc_transport *transport, const void *server_data) = nullptr |
Definition at line 482 of file transport.h.
void* grpc_transport_op::set_make_promise_user_data = nullptr |
Definition at line 484 of file transport.h.
grpc_core::OrphanablePtr<grpc_core::ConnectivityStateWatcherInterface> grpc_transport_op::start_connectivity_watch |
connectivity monitoring - set connectivity_state to NULL to unsubscribe
Definition at line 457 of file transport.h.
grpc_connectivity_state grpc_transport_op::start_connectivity_watch_state = GRPC_CHANNEL_IDLE |
Definition at line 458 of file transport.h.
grpc_core::ConnectivityStateWatcherInterface* grpc_transport_op::stop_connectivity_watch |
Definition at line 459 of file transport.h.