mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
25 lines
478 B
C++
25 lines
478 B
C++
#ifndef XRPL_RESOURCE_DISPOSITION_H_INCLUDED
|
|
#define XRPL_RESOURCE_DISPOSITION_H_INCLUDED
|
|
|
|
namespace ripple {
|
|
namespace Resource {
|
|
|
|
/** The disposition of a consumer after applying a load charge. */
|
|
enum Disposition {
|
|
/** No action required. */
|
|
ok
|
|
|
|
/** Consumer should be warned that consumption is high. */
|
|
,
|
|
warn
|
|
|
|
/** Consumer should be disconnected for excess consumption. */
|
|
,
|
|
drop
|
|
};
|
|
|
|
} // namespace Resource
|
|
} // namespace ripple
|
|
|
|
#endif
|