#include <binder_transport.h>
Public Member Functions | |
grpc_binder_transport (std::unique_ptr< grpc_binder::Binder > binder, bool is_client, std::shared_ptr< grpc::experimental::binder::SecurityPolicy > security_policy) | |
int | NewStreamTxCode () |
~grpc_binder_transport () | |
Public Attributes | |
void(* | accept_stream_fn )(void *user_data, grpc_transport *transport, const void *server_data) = nullptr |
void * | accept_stream_user_data = nullptr |
grpc_transport | base |
grpc_core::Combiner * | combiner |
bool | is_client |
grpc_core::RefCount | refs |
absl::flat_hash_map< int, grpc_binder_stream * > | registered_stream |
grpc_core::ConnectivityStateTracker | state_tracker |
std::shared_ptr< grpc_binder::TransportStreamReceiver > | transport_stream_receiver |
grpc_core::OrphanablePtr< grpc_binder::WireReader > | wire_reader |
std::shared_ptr< grpc_binder::WireWriter > | wire_writer |
Private Attributes | |
std::atomic< int > | next_free_tx_code {grpc_binder::kFirstCallId} |
Definition at line 45 of file binder_transport.h.
|
explicit |
Definition at line 702 of file binder_transport.cc.
grpc_binder_transport::~grpc_binder_transport | ( | ) |
Definition at line 733 of file binder_transport.cc.
|
inline |
Definition at line 52 of file binder_transport.h.
void(* grpc_binder_transport::accept_stream_fn) (void *user_data, grpc_transport *transport, const void *server_data) = nullptr |
Definition at line 74 of file binder_transport.h.
void* grpc_binder_transport::accept_stream_user_data = nullptr |
Definition at line 76 of file binder_transport.h.
grpc_transport grpc_binder_transport::base |
Definition at line 60 of file binder_transport.h.
grpc_core::Combiner* grpc_binder_transport::combiner |
Definition at line 70 of file binder_transport.h.
bool grpc_binder_transport::is_client |
Definition at line 67 of file binder_transport.h.
|
private |
Definition at line 82 of file binder_transport.h.
grpc_core::RefCount grpc_binder_transport::refs |
Definition at line 79 of file binder_transport.h.
absl::flat_hash_map<int, grpc_binder_stream*> grpc_binder_transport::registered_stream |
Definition at line 69 of file binder_transport.h.
grpc_core::ConnectivityStateTracker grpc_binder_transport::state_tracker |
Definition at line 78 of file binder_transport.h.
std::shared_ptr<grpc_binder::TransportStreamReceiver> grpc_binder_transport::transport_stream_receiver |
Definition at line 63 of file binder_transport.h.
grpc_core::OrphanablePtr<grpc_binder::WireReader> grpc_binder_transport::wire_reader |
Definition at line 64 of file binder_transport.h.
std::shared_ptr<grpc_binder::WireWriter> grpc_binder_transport::wire_writer |
Definition at line 65 of file binder_transport.h.