public class Neighbor extends Object
Constructor and Description |
---|
Neighbor(String address,
Integer numberOfAllTransactions,
Integer numberOfInvalidTransactions,
Integer numberOfNewTransactions,
Integer numberOfRandomTransactionRequests,
Integer numberOfSentTransactions,
String connectionType)
Initializes a new instance of the Neighbor class.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Get the address.
|
String |
getConnectionType()
Get the connection type.
|
Integer |
getNumberOfAllTransactions()
Get the number of all transactions.
|
Integer |
getNumberOfInvalidTransactions()
Get the number of invalid transactions.
|
Integer |
getNumberOfNewTransactions()
Get the number of new transactions.
|
Integer |
getNumberOfRandomTransactionRequests()
Get the number of random transaction requests.
|
Integer |
getNumberOfSentTransactions()
Get the number of sent transactions.
|
public Neighbor(String address, Integer numberOfAllTransactions, Integer numberOfInvalidTransactions, Integer numberOfNewTransactions, Integer numberOfRandomTransactionRequests, Integer numberOfSentTransactions, String connectionType)
address
- numberOfAllTransactions
- numberOfInvalidTransactions
- numberOfNewTransactions
- numberOfRandomTransactionRequests
- numberOfSentTransactions
- connectionType
- public String getAddress()
public Integer getNumberOfAllTransactions()
public Integer getNumberOfInvalidTransactions()
public Integer getNumberOfNewTransactions()
public Integer getNumberOfRandomTransactionRequests()
public Integer getNumberOfSentTransactions()
public String getConnectionType()
Copyright © 2018. All rights reserved.