rippled
|
Public Member Functions | |
Handler () | |
void | squelch (PublicKey const &, Peer::id_t, std::uint32_t duration) const override |
Squelch handler. More... | |
void | unsquelch (PublicKey const &, Peer::id_t) const override |
Unsquelch handler. More... | |
Public Attributes | |
int | maxDuration_ |
Definition at line 1390 of file reduce_relay_test.cpp.
ripple::test::reduce_relay_test::Handler::Handler | ( | ) |
Definition at line 1392 of file reduce_relay_test.cpp.
|
overridevirtual |
Squelch handler.
validator | Public key of the source validator |
id | Peer's id to squelch |
duration | Squelch duration in seconds |
Implements ripple::reduce_relay::SquelchHandler.
Definition at line 1396 of file reduce_relay_test.cpp.
|
overridevirtual |
Unsquelch handler.
validator | Public key of the source validator |
id | Peer's id to unsquelch |
Implements ripple::reduce_relay::SquelchHandler.
Definition at line 1403 of file reduce_relay_test.cpp.
|
mutable |
Definition at line 1406 of file reduce_relay_test.cpp.