|
Monero
|
#include <message_transporter.h>

Public Member Functions | |
| message_transporter (std::unique_ptr< epee::net_utils::http::abstract_http_client > http_client) | |
| void | set_options (const std::string &bitmessage_address, const epee::wipeable_string &bitmessage_login) |
| bool | send_message (const transport_message &message) |
| bool | receive_messages (const std::vector< std::string > &destination_transport_addresses, std::vector< transport_message > &messages) |
| bool | delete_message (const std::string &transport_id) |
| void | stop () |
| std::string | derive_transport_address (const std::string &seed) |
| bool | delete_transport_address (const std::string &transport_address) |
Private Member Functions | |
| bool | post_request (const std::string &request, std::string &answer) |
Static Private Member Functions | |
| static std::string | get_str_between_tags (const std::string &s, const std::string &start_delim, const std::string &stop_delim) |
| static void | start_xml_rpc_cmd (std::string &xml, const std::string &method_name) |
| static void | add_xml_rpc_string_param (std::string &xml, const std::string ¶m) |
| static void | add_xml_rpc_base64_param (std::string &xml, const std::string ¶m) |
| static void | add_xml_rpc_integer_param (std::string &xml, const int32_t ¶m) |
| static void | end_xml_rpc_cmd (std::string &xml) |
Private Attributes | |
| const std::unique_ptr< epee::net_utils::http::abstract_http_client > | m_http_client |
| std::string | m_bitmessage_url |
| epee::wipeable_string | m_bitmessage_login |
| std::atomic< bool > | m_run |
| mms::message_transporter::message_transporter | ( | std::unique_ptr< epee::net_utils::http::abstract_http_client > | http_client | ) |
|
staticprivate |
|
staticprivate |
|
staticprivate |
| bool mms::message_transporter::delete_message | ( | const std::string & | transport_id | ) |
| bool mms::message_transporter::delete_transport_address | ( | const std::string & | transport_address | ) |
| std::string mms::message_transporter::derive_transport_address | ( | const std::string & | seed | ) |
|
staticprivate |
|
staticprivate |
|
private |
| bool mms::message_transporter::receive_messages | ( | const std::vector< std::string > & | destination_transport_addresses, |
| std::vector< transport_message > & | messages ) |
| bool mms::message_transporter::send_message | ( | const transport_message & | message | ) |
| void mms::message_transporter::set_options | ( | const std::string & | bitmessage_address, |
| const epee::wipeable_string & | bitmessage_login ) |
|
staticprivate |
|
inline |
|
private |
|
private |
|
private |
|
private |