#include <net_node_common.h>
|
| virtual bool | relay_notify_to_list (int command, const epee::span< const uint8_t > data_buff, std::vector< std::pair< epee::net_utils::zone, boost::uuids::uuid >> connections) |
| |
| virtual bool | invoke_command_to_peer (int command, const epee::span< const uint8_t > req_buff, std::string &resp_buff, const epee::net_utils::connection_context_base &context) |
| |
| virtual bool | invoke_notify_to_peer (int command, const epee::span< const uint8_t > 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 size_t | get_zone_count () const |
| |
| virtual uint64_t | get_public_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) |
| |
| virtual void | add_used_stripe_peer (const t_connection_context &context) |
| |
| virtual void | remove_used_stripe_peer (const t_connection_context &context) |
| |
| virtual void | clear_used_stripe_peers () |
| |
◆ add_host_fail()
template<class t_connection_context >
◆ add_used_stripe_peer()
template<class t_connection_context >
◆ block_host()
template<class t_connection_context >
◆ clear_used_stripe_peers()
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_public_connections_count()
template<class t_connection_context >
◆ get_zone_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 epee::span< const uint8_t > |
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 epee::span< const uint8_t > |
req_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 epee::span< const uint8_t > |
data_buff, |
|
|
std::vector< std::pair< epee::net_utils::zone, boost::uuids::uuid >> |
connections |
|
) |
| |
|
inlinevirtual |
◆ remove_used_stripe_peer()
template<class t_connection_context >
◆ 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: