|
xrpld
|
#include <Writer.h>

Public Member Functions | |
| virtual | ~Writer ()=default |
| virtual bool | complete ()=0 |
| Returns true if there is no more data to pull. | |
| virtual void | consume (std::size_t bytes)=0 |
| Removes bytes from the input sequence. | |
| virtual bool | prepare (std::size_t bytes, std::function< void(void)> resume)=0 |
| Add data to the input sequence. | |
| virtual std::vector< boost::asio::const_buffer > | data ()=0 |
| Returns a ConstBufferSequence representing the input sequence. | |
Definition at line 11 of file server/Writer.h.
|
virtualdefault |
|
pure virtual |
Returns true if there is no more data to pull.
Implemented in xrpl::SimpleWriter.
|
pure virtual |
|
pure virtual |
Add data to the input sequence.
| bytes | A hint to the number of bytes desired. |
| resume | A functor to later resume execution. |
Implemented in xrpl::SimpleWriter.
|
pure virtual |
Returns a ConstBufferSequence representing the input sequence.
Implemented in xrpl::SimpleWriter.