| 
    rippled
    
   | 
 

Public Member Functions | |
| Validator () | |
| Validator (Validator const &)=default | |
| Validator (Validator &&)=default | |
| Validator & | operator= (Validator const &)=default | 
| Validator & | operator= (Validator &&)=default | 
| ~Validator () | |
| void | clear () | 
| PublicKey const & | key () | 
| operator PublicKey () const | |
| void | addPeer (PeerSPtr peer) | 
| void | deletePeer (Peer::id_t id) | 
| void | for_links (std::vector< Peer::id_t > peers, LinkIterCB f) | 
| void | for_links (LinkIterCB f, bool simulateSlow=false) | 
| void | send (std::vector< Peer::id_t > peers, SquelchCB f) | 
| Send to specific peers.   | |
| void | send (SquelchCB f) | 
| Send to all peers.   | |
| MessageSPtr | message () | 
| std::uint16_t | id () | 
| void | linkUp (Peer::id_t id) | 
| void | linkDown (Peer::id_t id) | 
Static Public Member Functions | |
| static void | resetId () | 
Private Types | |
| using | Links = std::unordered_map< Peer::id_t, LinkSPtr > | 
Private Attributes | |
| Links | links_ | 
| PublicKey | pkey_ | 
| MessageSPtr | message_ = nullptr | 
| std::uint16_t | id_ = 0 | 
Static Private Attributes | |
| static std::uint16_t | sid_ = 0 | 
Simulate Validator.
Definition at line 304 of file reduce_relay_test.cpp.
      
  | 
  private | 
Definition at line 306 of file reduce_relay_test.cpp.
| ripple::test::Validator::Validator | ( | ) | 
Definition at line 309 of file reduce_relay_test.cpp.
      
  | 
  default | 
      
  | 
  default | 
| ripple::test::Validator::~Validator | ( | ) | 
Definition at line 322 of file reduce_relay_test.cpp.
| void ripple::test::Validator::clear | ( | ) | 
Definition at line 328 of file reduce_relay_test.cpp.
      
  | 
  static | 
Definition at line 334 of file reduce_relay_test.cpp.
| PublicKey const & ripple::test::Validator::key | ( | ) | 
Definition at line 340 of file reduce_relay_test.cpp.
| ripple::test::Validator::operator PublicKey | ( | ) | const | 
Definition at line 345 of file reduce_relay_test.cpp.
| void ripple::test::Validator::addPeer | ( | PeerSPtr | peer | ) | 
Definition at line 351 of file reduce_relay_test.cpp.
| void ripple::test::Validator::deletePeer | ( | Peer::id_t | id | ) | 
Definition at line 358 of file reduce_relay_test.cpp.
| void ripple::test::Validator::for_links | ( | std::vector< Peer::id_t > | peers, | 
| LinkIterCB | f | ||
| ) | 
Definition at line 364 of file reduce_relay_test.cpp.
| void ripple::test::Validator::for_links | ( | LinkIterCB | f, | 
| bool | simulateSlow = false  | 
        ||
| ) | 
Definition at line 374 of file reduce_relay_test.cpp.
| void ripple::test::Validator::send | ( | std::vector< Peer::id_t > | peers, | 
| SquelchCB | f | ||
| ) | 
Send to specific peers.
Definition at line 393 of file reduce_relay_test.cpp.
| void ripple::test::Validator::send | ( | SquelchCB | f | ) | 
Send to all peers.
Definition at line 400 of file reduce_relay_test.cpp.
| MessageSPtr ripple::test::Validator::message | ( | ) | 
Definition at line 406 of file reduce_relay_test.cpp.
| std::uint16_t ripple::test::Validator::id | ( | ) | 
Definition at line 412 of file reduce_relay_test.cpp.
| void ripple::test::Validator::linkUp | ( | Peer::id_t | id | ) | 
Definition at line 418 of file reduce_relay_test.cpp.
| void ripple::test::Validator::linkDown | ( | Peer::id_t | id | ) | 
Definition at line 426 of file reduce_relay_test.cpp.
      
  | 
  private | 
Definition at line 434 of file reduce_relay_test.cpp.
      
  | 
  private | 
Definition at line 435 of file reduce_relay_test.cpp.
      
  | 
  private | 
Definition at line 436 of file reduce_relay_test.cpp.
      
  | 
  staticprivate | 
Definition at line 437 of file reduce_relay_test.cpp.
      
  | 
  private | 
Definition at line 438 of file reduce_relay_test.cpp.