public interface Connection extends IotaNodeApi
| Modifier and Type | Field and Description |
|---|---|
static String |
X_IOTA_API_VERSION_HEADER_NAME |
static String |
X_IOTA_API_VERSION_HEADER_VALUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isConnectedToSameNode(Connection other)
A check if we are connected to the same node.
|
boolean |
start()
Attempts to start the node connection
|
void |
stop()
Stops this connection
|
URL |
url() |
addNeighbors, attachToTangle, broadcastTransactions, checkConsistency, customRequest, findTransactions, getBalances, getInclusionStates, getNeighbors, getNodeInfo, getTips, getTransactionsToApprove, getTrytes, interruptAttachingToTangle, removeNeighbors, storeTransactions, wereAddressesSpentFromstatic final String X_IOTA_API_VERSION_HEADER_NAME
static final String X_IOTA_API_VERSION_HEADER_VALUE
boolean start()
true if start was successful, otherwise falsevoid stop()
URL url()
boolean isConnectedToSameNode(Connection other)
other - The other connectiontrue if it connects to the same node, otherwise falseCopyright © 2019. All rights reserved.