public class GetNodeInfoResponse extends AbstractResponse
getNodeInfo API call.| Constructor and Description |
|---|
GetNodeInfoResponse() |
| Modifier and Type | Method and Description |
|---|---|
static AbstractResponse |
create(String appName,
String appVersion,
int jreAvailableProcessors,
long jreFreeMemory,
String jreVersion,
long maxMemory,
long totalMemory,
String latestMilestone,
int latestMilestoneIndex,
String latestSolidSubtangleMilestone,
int latestSolidSubtangleMilestoneIndex,
int milestoneStartIndex,
int neighbors,
int packetsQueueSize,
long currentTimeMillis,
int tips,
int numberOfTransactionsToRequest,
String[] features,
String coordinatorAddress)
Creates a new
GetNodeInfoResponse |
String |
getAppName() |
String |
getAppVersion() |
String |
getCoordinatorAddress() |
String[] |
getFeatures() |
int |
getJreAvailableProcessors() |
long |
getJreFreeMemory() |
long |
getJreMaxMemory() |
long |
getJreTotalMemory() |
String |
getJreVersion() |
String |
getLatestMilestone() |
int |
getLatestMilestoneIndex() |
String |
getLatestSolidSubtangleMilestone() |
int |
getLatestSolidSubtangleMilestoneIndex() |
int |
getMilestoneStartIndex() |
int |
getNeighbors() |
int |
getPacketsQueueSize() |
long |
getTime() |
int |
getTips() |
int |
getTransactionsToRequest() |
equals, getDuration, hashCode, setDuration, toStringpublic static AbstractResponse create(String appName, String appVersion, int jreAvailableProcessors, long jreFreeMemory, String jreVersion, long maxMemory, long totalMemory, String latestMilestone, int latestMilestoneIndex, String latestSolidSubtangleMilestone, int latestSolidSubtangleMilestoneIndex, int milestoneStartIndex, int neighbors, int packetsQueueSize, long currentTimeMillis, int tips, int numberOfTransactionsToRequest, String[] features, String coordinatorAddress)
GetNodeInfoResponseappName - appNameappVersion - appVersionjreAvailableProcessors - jreAvailableProcessorsjreFreeMemory - jreFreeMemoryjreVersion - jreVersionmaxMemory - jreMaxMemorytotalMemory - jreTotalMemorylatestMilestone - latestMilestonelatestMilestoneIndex - latestMilestoneIndexlatestSolidSubtangleMilestone - latestSolidSubtangleMilestonelatestSolidSubtangleMilestoneIndex - latestSolidSubtangleMilestoneIndexmilestoneStartIndex - milestoneStartIndexneighbors - neighborspacketsQueueSize - packetsQueueSizecurrentTimeMillis - timetips - tipsnumberOfTransactionsToRequest - transactionsToRequestfeatures - featurescoordinatorAddress - coordinatorAddressGetNodeInfoResponse filled with all the provided parameterspublic String getAppVersion()
appVersionpublic int getJreAvailableProcessors()
jreAvailableProcessorspublic long getJreFreeMemory()
jreFreeMemorypublic long getJreMaxMemory()
jreMaxMemorypublic long getJreTotalMemory()
jreTotalMemorypublic String getJreVersion()
jreVersionpublic String getLatestMilestone()
latestMilestonepublic int getLatestMilestoneIndex()
latestMilestoneIndexpublic String getLatestSolidSubtangleMilestone()
latestSolidSubtangleMilestonepublic int getLatestSolidSubtangleMilestoneIndex()
latestSolidSubtangleMilestoneIndexpublic int getMilestoneStartIndex()
milestoneStartIndexpublic int getNeighbors()
neighborspublic int getPacketsQueueSize()
packetsQueueSizepublic long getTime()
timepublic int getTips()
tipspublic int getTransactionsToRequest()
transactionsToRequestpublic String getCoordinatorAddress()
coordinatorAddressCopyright © 2019. All rights reserved.