mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 02:25:52 +00:00
Per XLS-0095, we are taking steps to rename ripple(d) to xrpl(d). This change specifically removes all copyright notices referencing Ripple, XRPLF, and certain affiliated contributors upon mutual agreement, so the notice in the LICENSE.md file applies throughout. Copyright notices referencing external contributions remain as-is. Duplicate verbiage is also removed.
23 lines
412 B
C++
23 lines
412 B
C++
#ifndef XRPL_NODESTORE_TASK_H_INCLUDED
|
|
#define XRPL_NODESTORE_TASK_H_INCLUDED
|
|
|
|
namespace ripple {
|
|
namespace NodeStore {
|
|
|
|
/** Derived classes perform scheduled tasks. */
|
|
struct Task
|
|
{
|
|
virtual ~Task() = default;
|
|
|
|
/** Performs the task.
|
|
The call may take place on a foreign thread.
|
|
*/
|
|
virtual void
|
|
performScheduledTask() = 0;
|
|
};
|
|
|
|
} // namespace NodeStore
|
|
} // namespace ripple
|
|
|
|
#endif
|