28 #include <iota/api/responses/base.hpp> 29 #include <iota/types/trytes.hpp> 69 explicit GetNodeInfo(
const std::string& appName =
"",
const std::string& appVersion =
"",
70 int64_t jreAvailableProcessors = 0, int64_t jreFreeMemory = 0,
71 int64_t jreMaxMemory = 0, int64_t jreTotalMemory = 0,
72 const Types::Trytes& latestMilestone =
"", int64_t latestMilestoneIndex = 0,
73 const Types::Trytes& latestSolidSubtangleMilestone =
"",
74 int64_t latestSolidSubtangleMilestoneIndex = 0, int64_t neighbors = 0,
75 int64_t packetsQueueSize = 0, int64_t time = 0, int64_t tips = 0,
76 int64_t transactionsToRequest = 0);
165 const int64_t&
getTime()
const;
170 const int64_t&
getTips()
const;
182 std::string appName_;
186 std::string appVersion_;
190 int64_t jreAvailableProcessors_;
194 int64_t jreFreeMemory_;
198 int64_t jreMaxMemory_;
202 int64_t jreTotalMemory_;
206 Types::Trytes latestMilestone_;
210 int64_t latestMilestoneIndex_;
216 Types::Trytes latestSolidSubtangleMilestone_;
220 int64_t latestSolidSubtangleMilestoneIndex_;
228 int64_t packetsQueueSize_;
240 int64_t transactionsToRequest_;
const int64_t & getLatestMilestoneIndex() const
Definition: get_node_info.hpp:44
const int64_t & getJreFreeMemory() const
const int64_t & getPacketsQueueSize() const
const Types::Trytes & getLatestSolidSubtangleMilestone() const
const int64_t & getTransactionsToRequest() const
const std::string & getAppVersion() const
const std::string & getAppName() const
const int64_t & getTime() const
const int64_t & getNeighbors() const
const int64_t & getLatestSolidSubtangleMilestoneIndex() const
void deserialize(const json &res) override
const int64_t & getTips() const
const int64_t & getJreMaxMemory() const
const Types::Trytes & getLatestMilestone() const
const int64_t & getJreAvailableProcessors() const
const int64_t & getJreTotalMemory() const
GetNodeInfo(const std::string &appName="", const std::string &appVersion="", int64_t jreAvailableProcessors=0, int64_t jreFreeMemory=0, int64_t jreMaxMemory=0, int64_t jreTotalMemory=0, const Types::Trytes &latestMilestone="", int64_t latestMilestoneIndex=0, const Types::Trytes &latestSolidSubtangleMilestone="", int64_t latestSolidSubtangleMilestoneIndex=0, int64_t neighbors=0, int64_t packetsQueueSize=0, int64_t time=0, int64_t tips=0, int64_t transactionsToRequest=0)