#include <net_node_common.h>
|
| virtual bool | relay_notify_to_list (int command, const std::string &data_buff, const std::list< boost::uuids::uuid > &connections) |
| |
| virtual bool | relay_notify_to_all (int command, const std::string &data_buff, const epee::net_utils::connection_context_base &context) |
| |
| virtual bool | invoke_command_to_peer (int command, const std::string &req_buff, std::string &resp_buff, const epee::net_utils::connection_context_base &context) |
| |
| virtual bool | invoke_notify_to_peer (int command, const std::string &req_buff, const epee::net_utils::connection_context_base &context) |
| |
| virtual bool | drop_connection (const epee::net_utils::connection_context_base &context) |
| |
| virtual void | request_callback (const epee::net_utils::connection_context_base &context) |
| |
| virtual void | for_each_connection (std::function< bool(t_connection_context &, peerid_type, uint32_t)> f) |
| |
| virtual bool | for_connection (const boost::uuids::uuid &, std::function< bool(t_connection_context &, peerid_type, uint32_t)> f) |
| |
| virtual uint64_t | get_connections_count () |
| |
| virtual bool | block_host (const epee::net_utils::network_address &address, time_t seconds) |
| |
| virtual bool | unblock_host (const epee::net_utils::network_address &address) |
| |
| virtual std::map< std::string, time_t > | get_blocked_hosts () |
| |
| virtual bool | add_host_fail (const epee::net_utils::network_address &address) |
| |
◆ add_host_fail()
template<class t_connection_context>
◆ block_host()
template<class t_connection_context>
◆ drop_connection()
template<class t_connection_context>
◆ for_connection()
template<class t_connection_context>
◆ for_each_connection()
template<class t_connection_context>
◆ get_blocked_hosts()
template<class t_connection_context>
◆ get_connections_count()
template<class t_connection_context>
◆ invoke_command_to_peer()
template<class t_connection_context>
| virtual bool nodetool::p2p_endpoint_stub< t_connection_context >::invoke_command_to_peer |
( |
int |
command, |
|
|
const std::string & |
req_buff, |
|
|
std::string & |
resp_buff, |
|
|
const epee::net_utils::connection_context_base & |
context |
|
) |
| |
|
inlinevirtual |
◆ invoke_notify_to_peer()
template<class t_connection_context>
| virtual bool nodetool::p2p_endpoint_stub< t_connection_context >::invoke_notify_to_peer |
( |
int |
command, |
|
|
const std::string & |
req_buff, |
|
|
const epee::net_utils::connection_context_base & |
context |
|
) |
| |
|
inlinevirtual |
◆ relay_notify_to_all()
template<class t_connection_context>
| virtual bool nodetool::p2p_endpoint_stub< t_connection_context >::relay_notify_to_all |
( |
int |
command, |
|
|
const std::string & |
data_buff, |
|
|
const epee::net_utils::connection_context_base & |
context |
|
) |
| |
|
inlinevirtual |
◆ relay_notify_to_list()
template<class t_connection_context>
| virtual bool nodetool::p2p_endpoint_stub< t_connection_context >::relay_notify_to_list |
( |
int |
command, |
|
|
const std::string & |
data_buff, |
|
|
const std::list< boost::uuids::uuid > & |
connections |
|
) |
| |
|
inlinevirtual |
◆ request_callback()
template<class t_connection_context>
| virtual void nodetool::p2p_endpoint_stub< t_connection_context >::request_callback |
( |
const epee::net_utils::connection_context_base & |
context | ) |
|
|
inlinevirtual |
◆ unblock_host()
template<class t_connection_context>
The documentation for this struct was generated from the following file: