|
| client (protocol &p, const socket_address &addr, const socket_address &local={}) |
|
| client (protocol &p, client_options options, const socket_address &addr, const socket_address &local={}) |
|
| client (protocol &p, socket socket, const socket_address &addr, const socket_address &local={}) |
|
| client (protocol &p, client_options options, socket socket, const socket_address &addr, const socket_address &local={}) |
|
stats | get_stats () const |
|
size_t | incoming_queue_length () const noexcept |
|
auto | next_message_id () |
|
void | wait_for_reply (id_type id, std::unique_ptr< reply_handler_base > &&h, std::optional< rpc_clock_type::time_point > timeout, cancellable *cancel) |
|
void | wait_timed_out (id_type id) |
|
future | stop () noexcept |
|
void | abort_all_streams () |
|
void | deregister_this_stream () |
|
socket_address | peer_address () const override |
|
future | await_connection () |
|
template<typename Serializer , typename... Out> |
future< sink< Out... > > | make_stream_sink (socket socket) |
|
template<typename Serializer , typename... Out> |
future< sink< Out... > > | make_stream_sink () |
|
future | request (uint64_t type, int64_t id, snd_buf buf, std::optional< rpc_clock_type::time_point > timeout={}, cancellable *cancel=nullptr) |
|
size_t | outgoing_queue_length () const noexcept |
|
void | set_socket (connected_socket &&fd) |
|
future | send_negotiation_frame (feature_map features) |
|
bool | error () const noexcept |
|
void | abort () |
|
future | stream_receive (circular_buffer< foreign_ptr< std::unique_ptr< rcv_buf > > > &bufs) |
|
future | close_sink () |
|
bool | sink_closed () const noexcept |
|
future | close_source () |
|
connection_id | get_connection_id () const noexcept |
|
stats & | get_stats_internal () noexcept |
|
xshard_connection_ptr | get_stream (connection_id id) const |
|
void | register_stream (connection_id id, xshard_connection_ptr c) |
|
const logger & | get_logger () const noexcept |
|
template<typename Serializer > |
Serializer & | serializer () |
|
template<typename FrameType > |
future< typename FrameType::return_type > | read_frame (socket_address info, input_stream< char > &in) |
|
template<typename FrameType > |
future< typename FrameType::return_type > | read_frame_compressed (socket_address info, std::unique_ptr< compressor > &compressor, input_stream< char > &in) |
|
void | suspend_for_testing (promise<> &p) |
|
weak_ptr< client > | weak_from_this () noexcept |
|
weak_ptr< const client > | weak_from_this () const noexcept |
|