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, toString
public 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)
GetNodeInfoResponse
appName
- appName
appVersion
- appVersion
jreAvailableProcessors
- jreAvailableProcessors
jreFreeMemory
- jreFreeMemory
jreVersion
- jreVersion
maxMemory
- jreMaxMemory
totalMemory
- jreTotalMemory
latestMilestone
- latestMilestone
latestMilestoneIndex
- latestMilestoneIndex
latestSolidSubtangleMilestone
- latestSolidSubtangleMilestone
latestSolidSubtangleMilestoneIndex
- latestSolidSubtangleMilestoneIndex
milestoneStartIndex
- milestoneStartIndex
neighbors
- neighbors
packetsQueueSize
- packetsQueueSize
currentTimeMillis
- time
tips
- tips
numberOfTransactionsToRequest
- transactionsToRequest
features
- features
coordinatorAddress
- coordinatorAddress
GetNodeInfoResponse
filled with all the provided parameterspublic String getAppVersion()
appVersion
public int getJreAvailableProcessors()
jreAvailableProcessors
public long getJreFreeMemory()
jreFreeMemory
public long getJreMaxMemory()
jreMaxMemory
public long getJreTotalMemory()
jreTotalMemory
public String getJreVersion()
jreVersion
public String getLatestMilestone()
latestMilestone
public int getLatestMilestoneIndex()
latestMilestoneIndex
public String getLatestSolidSubtangleMilestone()
latestSolidSubtangleMilestone
public int getLatestSolidSubtangleMilestoneIndex()
latestSolidSubtangleMilestoneIndex
public int getMilestoneStartIndex()
milestoneStartIndex
public int getNeighbors()
neighbors
public int getPacketsQueueSize()
packetsQueueSize
public long getTime()
time
public int getTips()
tips
public int getTransactionsToRequest()
transactionsToRequest
public String getCoordinatorAddress()
coordinatorAddress
Copyright © 2018. All rights reserved.