mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
28 lines
409 B
C++
28 lines
409 B
C++
#pragma once
|
|
|
|
namespace xrpl::Resource {
|
|
|
|
/**
|
|
* The disposition of a consumer after applying a load charge.
|
|
*/
|
|
enum class Disposition {
|
|
/**
|
|
* No action required.
|
|
*/
|
|
Ok
|
|
|
|
/**
|
|
* Consumer should be warned that consumption is high.
|
|
*/
|
|
,
|
|
Warn
|
|
|
|
/**
|
|
* Consumer should be disconnected for excess consumption.
|
|
*/
|
|
,
|
|
Drop
|
|
};
|
|
|
|
} // namespace xrpl::Resource
|