|
xrpld
|
Handles the book_changes RPC method. More...
#include <BookChanges.h>


Classes | |
| struct | Output |
| The data a book_changes request produces, written out by writeResult(). More... | |
Public Member Functions | |
| BookChangesHandler (JsonContext &context) | |
| Construct a handler for a single request. | |
| std::expected< Output, ::rpc::Status > | process (Input const &input) const |
| Process the request. | |
Static Public Member Functions | |
| static void | writeResult (json::Value &value, Output const &output) |
| Write the output of process() into the response. | |
Private Attributes | |
| std::reference_wrapper< JsonContext > | context_ |
Handles the book_changes RPC method.
The request is parsed by ::rpc::spec::handlers::book_changes.
Definition at line 23 of file handlers/orderbook/BookChanges.h.
|
explicit |
Construct a handler for a single request.
| context | The context of the request being handled. |
Definition at line 16 of file BookChanges.cpp.
|
nodiscard |
Process the request.
| input | The request, parsed and validated by the spec. |
Definition at line 21 of file BookChanges.cpp.
|
static |
Write the output of process() into the response.
| value | The response to write into. |
| output | The output process() returned. |
Definition at line 32 of file BookChanges.cpp.
|
private |
Definition at line 60 of file handlers/orderbook/BookChanges.h.