#include <rpc_sessions.h>
Inherits std::enable_shared_from_this< RPCSessions >, ccf::AbstractRPCResponder, and http::ErrorReporter.
|
| | RPCSessions (ringbuffer::AbstractWriterFactory &writer_factory, std::shared_ptr< RPCMap > rpc_map_) |
| |
| void | set_custom_protocol_subsystem (std::shared_ptr< CustomProtocolSubsystem > cpss) |
| |
| void | report_parsing_error (const ccf::ListenInterfaceID &id) override |
| |
| void | report_request_payload_too_large_error (const ccf::ListenInterfaceID &id) override |
| |
| void | report_request_header_too_large_error (const ccf::ListenInterfaceID &id) override |
| |
| void | update_listening_interface_options (const ccf::NodeInfoNetwork &node_info) |
| |
| ccf::SessionMetrics | get_session_metrics () |
| |
| ccf::ApplicationProtocol | get_app_protocol_main_interface () const |
| |
| void | set_node_cert (const ccf::crypto::Pem &cert_, const ccf::crypto::Pem &pk) |
| |
| void | set_network_cert (const ccf::crypto::Pem &cert_, const ccf::crypto::Pem &pk) |
| |
| void | set_cert (ccf::Authority authority, const ccf::crypto::Pem &cert_, const ccf::crypto::Pem &pk) |
| |
| void | accept (ccf::tls::ConnID id, const ListenInterfaceID &listen_interface_id, bool udp=false) |
| |
| std::shared_ptr< Session > | find_session (ccf::tls::ConnID id) |
| |
| bool | reply_async (ccf::tls::ConnID id, bool terminate_after_send, std::vector< uint8_t > &&data) override |
| |
| void | remove_session (ccf::tls::ConnID id) |
| |
| std::shared_ptr< ClientSession > | create_client (const std::shared_ptr<::tls::Cert > &cert, const std::string &app_protocol="HTTP1") |
| |
| std::shared_ptr< ClientSession > | create_unencrypted_client () |
| |
| void | register_message_handlers (messaging::Dispatcher< ringbuffer::Message > &disp) |
| |
| virtual | ~AbstractRPCResponder ()=default |
| |
| virtual | ~ErrorReporter ()=default |
| |
◆ RPCSessions()
◆ accept()
◆ create_client()
| std::shared_ptr< ClientSession > ccf::RPCSessions::create_client |
( |
const std::shared_ptr<::tls::Cert > & |
cert, |
|
|
const std::string & |
app_protocol = "HTTP1" |
|
) |
| |
|
inline |
◆ create_unencrypted_client()
| std::shared_ptr< ClientSession > ccf::RPCSessions::create_unencrypted_client |
( |
| ) |
|
|
inline |
◆ find_session()
◆ get_app_protocol_main_interface()
◆ get_session_metrics()
◆ register_message_handlers()
◆ remove_session()
◆ reply_async()
| bool ccf::RPCSessions::reply_async |
( |
ccf::tls::ConnID |
id, |
|
|
bool |
terminate_after_send, |
|
|
std::vector< uint8_t > && |
data |
|
) |
| |
|
inlineoverridevirtual |
◆ report_parsing_error()
◆ report_request_header_too_large_error()
◆ report_request_payload_too_large_error()
◆ set_cert()
◆ set_custom_protocol_subsystem()
◆ set_network_cert()
◆ set_node_cert()
◆ update_listening_interface_options()
The documentation for this class was generated from the following file: