xrpld
Loading...
Searching...
No Matches
xrpl::SendAlways Struct Reference

Sends a message to all peers. More...

#include <predicates.h>

Collaboration diagram for xrpl::SendAlways:

Public Types

using return_type = void

Public Member Functions

 SendAlways (std::shared_ptr< Message > const &m)
void operator() (std::shared_ptr< Peer > const &peer) const

Public Attributes

std::shared_ptr< Message > const & msg

Detailed Description

Sends a message to all peers.

Definition at line 11 of file predicates.h.

Member Typedef Documentation

◆ return_type

Definition at line 13 of file predicates.h.

Constructor & Destructor Documentation

◆ SendAlways()

xrpl::SendAlways::SendAlways ( std::shared_ptr< Message > const & m)

Definition at line 17 of file predicates.h.

Member Function Documentation

◆ operator()()

void xrpl::SendAlways::operator() ( std::shared_ptr< Peer > const & peer) const

Definition at line 22 of file predicates.h.

Member Data Documentation

◆ msg

std::shared_ptr<Message> const& xrpl::SendAlways::msg

Definition at line 15 of file predicates.h.