|
rippled
|
Implementation of NetworkIDService that reads from Config. More...
#include <NetworkIDServiceImpl.h>


Public Member Functions | |
| NetworkIDServiceImpl (std::uint32_t networkID) | |
| ~NetworkIDServiceImpl () override=default | |
| std::uint32_t | getNetworkID () const noexcept override |
| Get the configured network ID. | |
Private Attributes | |
| std::uint32_t | networkID_ |
Implementation of NetworkIDService that reads from Config.
This class provides a NetworkIDService interface that wraps the network ID from the application Config. It caches the network ID at construction time.
Definition at line 18 of file NetworkIDServiceImpl.h.
|
explicit |
Definition at line 6 of file NetworkIDServiceImpl.cpp.
|
overridedefault |
|
overridevirtualnoexcept |
Get the configured network ID.
Implements xrpl::NetworkIDService.
Definition at line 11 of file NetworkIDServiceImpl.cpp.
|
private |
Definition at line 29 of file NetworkIDServiceImpl.h.