diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html new file mode 100644 index 0000000..9f14ce0 --- /dev/null +++ b/javadoc/allclasses-frame.html @@ -0,0 +1,93 @@ + + + +
+ + +| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final String |
+CONTENT_TYPE_HEADER |
+"Content-Type: application/json" |
+
+
+public static final String |
+USER_AGENT_HEADER |
+"User-Agent: JOTA-API wrapper" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+private static final long |
+serialVersionUID |
+-7850044681919575720L |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+private static final long |
+serialVersionUID |
+5617085097507773343L |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+private static final long |
+serialVersionUID |
+-3807270816402226476L |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+HASH_LENGTH |
+243 |
+
+
+private static final int |
+NUMBER_OF_ROUNDS |
+27 |
+
+
+private static final int |
+STATE_LENGTH |
+729 |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+public static final int |
+SEED_LENGTH_MAX |
+81 |
+
+
+public static final String |
+TRYTE_ALPHABET |
+"9ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
+
| Modifier and Type | +Constant Field | +Value | +
|---|---|---|
+
+private static final int |
+MAX_TRIT_VALUE |
+1 |
+
+
+private static final int |
+MIN_TRIT_VALUE |
+-1 |
+
+
+private static final int |
+NUMBER_OF_TRITS_IN_A_BYTE |
+5 |
+
+
+private static final int |
+NUMBER_OF_TRITS_IN_A_TRYTE |
+3 |
+
+
+private static final int |
+RADIX |
+3 |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/deprecated-list.html b/javadoc/deprecated-list.html new file mode 100644 index 0000000..2d316e3 --- /dev/null +++ b/javadoc/deprecated-list.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/index-all.html b/javadoc/index-all.html new file mode 100644 index 0000000..b085b0a --- /dev/null +++ b/javadoc/index-all.html @@ -0,0 +1,2345 @@ + + + + + + +IotaNeighborsRequestIotaGetBalancesRequestIotaBroadcastTransactionRequestIotaFindTransactionsRequestIotaAttachToTangleRequestIotaGetBalancesRequestIotaGetInclusionStateRequestIotaCommandRequestIotaNeighborsRequestIotaCommandRequestIotaGetTransactionsToApproveRequestIotaGetTrytesRequestIotaCommandRequestIotaNeighborsRequestIotaStoreTransactionsRequestCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/index.html b/javadoc/index.html new file mode 100644 index 0000000..f138047 --- /dev/null +++ b/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + + +public static class IotaAPI.Builder +extends IotaAPICore.Builder<IotaAPI.Builder>+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+customCurl |
+
host, port, protocol| Modifier and Type | +Method and Description | +
|---|---|
IotaAPI |
+build() |
+
IotaAPI.Builder |
+withCustomCurl(ICurl curl) |
+
host, port, protocolpublic IotaAPI.Builder withCustomCurl(ICurl curl)+
public IotaAPI build()+
build in class IotaAPICore.Builder<IotaAPI.Builder>Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/IotaAPI.html b/javadoc/jota/IotaAPI.html new file mode 100644 index 0000000..f02b7c4 --- /dev/null +++ b/javadoc/jota/IotaAPI.html @@ -0,0 +1,1010 @@ + + + + + + +public class IotaAPI +extends IotaAPICore+
+ IotaApiProxy api = IotaApiProxy.Builder + .protocol("http") + .nodeAddress("localhost") + .port(12345) + .build(); +
+ GetNodeInfoResponse response = api.getNodeInfo();
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IotaAPI.Builder |
+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+customCurl |
+
private static org.slf4j.Logger |
+log |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+IotaAPI(IotaAPI.Builder builder) |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
StoreTransactionsResponse |
+broadcastAndStore(String... trytes)
+Wrapper function that broadcasts and stores the specified trytes.
+ |
+
Bundle[] |
+bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
String |
+findTailTransactionHash(String hash) |
+
List<Transaction> |
+findTransactionObjects(String[] input)
+Wrapper function for findTransactions, getTrytes and transactionObjects.
+ |
+
List<Transaction> |
+findTransactionObjectsByBundle(String[] input)
+Wrapper function for findTransactions, getTrytes and transactionObjects.
+ |
+
GetBalancesAndFormatResponse |
+getBalanceAndFormat(List<String> addresses,
+ long threshold,
+ int start,
+ int end,
+ StopWatch stopWatch,
+ int security)
+Gets the balances and formats the output.
+ |
+
GetBundleResponse |
+getBundle(String transaction)
+Gets the associated bundle transactions of a single transaction.
+ |
+
GetBalancesAndFormatResponse |
+getInputs(String seed,
+ int security,
+ int start,
+ int end,
+ long threshold)
+Gets the inputs of a seed
+ |
+
GetInclusionStateResponse |
+getLatestInclusion(String[] hashes)
+Wrapper function for getNodeInfo and getInclusionStates
+ |
+
GetNewAddressResponse |
+getNewAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ int total,
+ boolean returnAll)
+Generates a new address from a seed and returns the remainderAddress.
+ |
+
List<Transaction> |
+getTransactionsObjects(String[] hashes)
+Wrapper function for getTrytes and transactionObjects.
+ |
+
GetTransferResponse |
+getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
List<Transaction> |
+initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
List<String> |
+prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
ReplayBundleResponse |
+replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
SendTransferResponse |
+sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
List<Transaction> |
+sendTrytes(String[] trytes,
+ int depth,
+ int minWeightMagnitude)
+Facade method: Gets transactions to approve, attaches to Tangle, broadcasts and stores.
+ |
+
Bundle |
+traverseBundle(String trunkTx,
+ String bundleHash,
+ Bundle bundle)
+Basically traverse the Bundle by going down the trunkTransactions until
+ the bundle hash of the transaction is no longer the same.
+ |
+
addNeighbors, attachToTangle, broadcastTransactions, findTransactions, findTransactionsByAddresses, findTransactionsByApprovees, findTransactionsByBundles, findTransactionsByDigests, getBalances, getBalances, getInclusionStates, getNeighbors, getNodeInfo, getTips, getTransactionsToApprove, getTrytes, interruptAttachingToTangle, removeNeighbors, storeTransactions, wrapCheckedExceptionprivate static final org.slf4j.Logger log+
private ICurl customCurl+
protected IotaAPI(IotaAPI.Builder builder)+
public GetNewAddressResponse getNewAddress(String seed, + int security, + int index, + boolean checksum, + int total, + boolean returnAll) + throws InvalidSecurityLevelException, + InvalidAddressException+
seed - Tryte-encoded seed. It should be noted that this seed is not transferred.security - Security level to be used for the private key / address. Can be 1, 2 or 3.index - Key index to start search from. If the index is provided, the generation of the address is not deterministic.checksum - Adds 9-tryte address checksum.total - Total number of addresses to generate.returnAll - If true, it returns all addresses which were deterministically generated (until findTransactions returns null).InvalidAddressException - is thrown when the specified address is not an valid address.InvalidSecurityLevelException - is thrown when the specified security level is not valid.public GetTransferResponse getTransfers(String seed, + int security, + Integer start, + Integer end, + Boolean inclusionStates) + throws ArgumentException, + InvalidBundleException, + InvalidSignatureException, + NoNodeInfoException, + NoInclusionStatesException, + InvalidSecurityLevelException, + InvalidAddressException+
seed - Tryte-encoded seed. It should be noted that this seed is not transferred.security - The security level of private key / seed.start - Starting key index.end - Ending key index.inclusionStates - If true, it gets the inclusion states of the transfers.InvalidAddressException - is thrown when the specified address is not an valid address.ArgumentException - is thrown when an invalid argument is provided.InvalidBundleException - is thrown if an invalid bundle was found or provided.InvalidSignatureException - is thrown when an invalid signature is encountered.NoNodeInfoException - is thrown when its not possible to get node info.NoInclusionStatesException - when it not possible to get a inclusion state.InvalidSecurityLevelException - is thrown when the specified security level is not valid.public Bundle[] bundlesFromAddresses(String[] addresses, + Boolean inclusionStates) + throws ArgumentException, + InvalidBundleException, + InvalidSignatureException, + NoNodeInfoException, + NoInclusionStatesException+
addresses - List of addresses.inclusionStates - If true, it gets the inclusion states of the transfers.ArgumentException - is thrown when an invalid argument is provided.InvalidBundleException - is thrown if an invalid bundle was found or provided.InvalidSignatureException - is thrown when an invalid signature is encountered.NoNodeInfoException - is thrown when its not possible to get node info.NoInclusionStatesException - when it not possible to get a inclusion state.public StoreTransactionsResponse broadcastAndStore(String... trytes) + throws BroadcastAndStoreException+
trytes - The trytes.BroadcastAndStoreException - is thrown if its not possible to broadcast and store.public List<Transaction> sendTrytes(String[] trytes, + int depth, + int minWeightMagnitude) + throws InvalidTrytesException+
trytes - The trytes.depth - The depth.minWeightMagnitude - The minimum weight magnitude.InvalidTrytesException - is thrown when invalid trytes is provided.public List<Transaction> getTransactionsObjects(String[] hashes)+
hashes - The hashespublic List<Transaction> findTransactionObjects(String[] input)+
input - The inputs.public List<Transaction> findTransactionObjectsByBundle(String[] input)+
input - The inputs.public List<String> prepareTransfers(String seed, + int security, + List<Transfer> transfers, + String remainder, + List<Input> inputs) + throws NotEnoughBalanceException, + InvalidSecurityLevelException, + InvalidAddressException, + InvalidTransferException+
seed - 81-tryte encoded address of recipient.security - The security level of private key / seed.transfers - Array of transfer objects.remainder - If defined, this address will be used for sending the remainder value (of the inputs) to.inputs - The inputs.InvalidAddressException - is thrown when the specified address is not an valid address.NotEnoughBalanceException - is thrown when a transfer fails because their is not enough balance to perform the transfer.InvalidSecurityLevelException - is thrown when the specified security level is not valid.InvalidTransferException - is thrown when an invalid transfer is provided.public GetBalancesAndFormatResponse getInputs(String seed, + int security, + int start, + int end, + long threshold) + throws InvalidSecurityLevelException, + InvalidAddressException+
seed - Tryte-encoded seed. It should be noted that this seed is not transferred.security - The Security level of private key / seed.start - Starting key index.end - Ending key index.threshold - Min balance required.InvalidAddressException - is thrown when the specified address is not an valid address.InvalidSecurityLevelException - is thrown when the specified security level is not valid.public GetBalancesAndFormatResponse getBalanceAndFormat(List<String> addresses, + long threshold, + int start, + int end, + StopWatch stopWatch, + int security) + throws InvalidSecurityLevelException+
addresses - The addresses.threshold - Min balance required.start - Starting key index.end - Ending key index.stopWatch - the stopwatch.security - The security level of private key / seed.InvalidSecurityLevelException - is thrown when the specified security level is not valid.public GetBundleResponse getBundle(String transaction) + throws ArgumentException, + InvalidBundleException, + InvalidSignatureException+
transaction - The transaction encoded in trytes.ArgumentException - is thrown when an invalid argument is provided.InvalidBundleException - is thrown if an invalid bundle was found or provided.InvalidSignatureException - is thrown when an invalid signature is encountered.public ReplayBundleResponse replayBundle(String transaction, + int depth, + int minWeightMagnitude) + throws InvalidBundleException, + ArgumentException, + InvalidSignatureException, + InvalidTrytesException+
transaction - The transaction.depth - The depth.minWeightMagnitude - The minimum weight magnitude.InvalidBundleException - is thrown if an invalid bundle was found or provided.ArgumentException - is thrown when an invalid argument is provided.InvalidSignatureException - is thrown when an invalid signature is encountered.InvalidTransferException - is thrown when an invalid transfer is provided.InvalidTrytesExceptionpublic GetInclusionStateResponse getLatestInclusion(String[] hashes) + throws NoNodeInfoException+
hashes - The hashes.NoNodeInfoException - is thrown when its not possible to get node info.public SendTransferResponse sendTransfer(String seed, + int security, + int depth, + int minWeightMagnitude, + List<Transfer> transfers, + Input[] inputs, + String address) + throws NotEnoughBalanceException, + InvalidSecurityLevelException, + InvalidTrytesException, + InvalidAddressException, + InvalidTransferException+
seed - Tryte-encoded seedsecurity - The security level of private key / seed.depth - The depth.minWeightMagnitude - The minimum weight magnitude.transfers - Array of transfer objects.inputs - List of inputs used for funding the transfer.address - If defined, this address will be used for sending the remainder value (of the inputs) to.InvalidAddressException - is thrown when the specified address is not an valid address.NotEnoughBalanceException - is thrown when a transfer fails because their is not enough balance to perform the transfer.InvalidSecurityLevelException - is thrown when the specified security level is not valid.InvalidTrytesException - is thrown when invalid trytes is provided.InvalidAddressException - is thrown when the specified address is not an valid address.InvalidTransferException - is thrown when an invalid transfer is provided.public Bundle traverseBundle(String trunkTx, + String bundleHash, + Bundle bundle) + throws ArgumentException+
trunkTx - Hash of a trunk or a tail transaction of a bundle.bundleHash - The bundle hashes.bundle - List of bundles to be populated.ArgumentException - is thrown when an invalid argument is provided.public List<Transaction> initiateTransfer(int securitySum, + String inputAddress, + String remainderAddress, + List<Transfer> transfers, + boolean testMode) + throws InvalidAddressException, + InvalidBundleException, + InvalidTransferException+
securitySum - The sum of security levels used by all co-signers.inputAddress - Array of input addresses as well as the securitySum.remainderAddress - Has to be generated by the cosigners before initiating the transfer, can be null if fully spent.InvalidBundleException - is thrown if an invalid bundle was found or provided.InvalidAddressException - is thrown when the specified address is not an valid address.InvalidTransferExceptionpublic String findTailTransactionHash(String hash) + throws ArgumentException+
hash - The hash.ArgumentException - is thrown when an invalid argument is provided.public List<String> addRemainder(String seed, + int security, + List<Input> inputs, + Bundle bundle, + String tag, + long totalValue, + String remainderAddress, + List<String> signatureFragments) + throws NotEnoughBalanceException, + InvalidSecurityLevelException, + InvalidAddressException+
seed - Tryte-encoded seed.security - The security level of private key / seed.inputs - List of inputs used for funding the transfer.bundle - To be populated.tag - The tag.totalValue - The total value.remainderAddress - If defined, this address will be used for sending the remainder value (of the inputs) to.signatureFragments - The signature fragments.NotEnoughBalanceException - is thrown when a transfer fails because their is not enough balance to perform the transfer.InvalidSecurityLevelException - is thrown when the specified security level is not valid.InvalidAddressException - is thrown when the specified address is not an valid address.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/IotaAPICommands.html b/javadoc/jota/IotaAPICommands.html new file mode 100644 index 0000000..463b1c6 --- /dev/null +++ b/javadoc/jota/IotaAPICommands.html @@ -0,0 +1,569 @@ + + + + + + +public enum IotaAPICommands +extends Enum<IotaAPICommands>+
+ 'params' is not currently used.
| Enum Constant and Description | +
|---|
ADD_NEIGHBORS |
+
ATTACH_TO_TANGLE |
+
BROADCAST_TRANSACTIONS |
+
FIND_TRANSACTIONS |
+
GET_BALANCES |
+
GET_INCLUSIONS_STATES |
+
GET_NEIGHBORS |
+
GET_NODE_INFO |
+
GET_TIPS |
+
GET_TRANSACTIONS_TO_APPROVE |
+
GET_TRYTES |
+
INTERRUPT_ATTACHING_TO_TANGLE |
+
REMOVE_NEIGHBORS |
+
STORE_TRANSACTIONS |
+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+command |
+
private int |
+params |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+command() |
+
int |
+params() |
+
static IotaAPICommands |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IotaAPICommands[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final IotaAPICommands GET_NODE_INFO+
public static final IotaAPICommands GET_NEIGHBORS+
public static final IotaAPICommands ADD_NEIGHBORS+
public static final IotaAPICommands REMOVE_NEIGHBORS+
public static final IotaAPICommands GET_TIPS+
public static final IotaAPICommands FIND_TRANSACTIONS+
public static final IotaAPICommands GET_TRYTES+
public static final IotaAPICommands GET_INCLUSIONS_STATES+
public static final IotaAPICommands GET_BALANCES+
public static final IotaAPICommands GET_TRANSACTIONS_TO_APPROVE+
public static final IotaAPICommands ATTACH_TO_TANGLE+
public static final IotaAPICommands INTERRUPT_ATTACHING_TO_TANGLE+
public static final IotaAPICommands BROADCAST_TRANSACTIONS+
public static final IotaAPICommands STORE_TRANSACTIONS+
private String command+
private int params+
public static IotaAPICommands[] values()+
+for (IotaAPICommands c : IotaAPICommands.values()) + System.out.println(c); +
public static IotaAPICommands valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String command()+
public int params()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/IotaAPICore.Builder.html b/javadoc/jota/IotaAPICore.Builder.html new file mode 100644 index 0000000..c5748ed --- /dev/null +++ b/javadoc/jota/IotaAPICore.Builder.html @@ -0,0 +1,424 @@ + + + + + + +public static class IotaAPICore.Builder<T extends IotaAPICore.Builder<T>> +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
(package private) String |
+host |
+
(package private) String |
+port |
+
(package private) String |
+protocol |
+
| Modifier and Type | +Method and Description | +
|---|---|
IotaAPICore |
+build() |
+
private void |
+checkEnviromentVariables() |
+
private boolean |
+checkPropertiesFiles() |
+
T |
+host(String host) |
+
T |
+port(String port) |
+
T |
+protocol(String protocol) |
+
String protocol+
String host+
String port+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/IotaAPICore.html b/javadoc/jota/IotaAPICore.html new file mode 100644 index 0000000..7fe1d82 --- /dev/null +++ b/javadoc/jota/IotaAPICore.html @@ -0,0 +1,707 @@ + + + + + + +| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IotaAPICore.Builder<T extends IotaAPICore.Builder<T>> |
+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+host |
+
private static org.slf4j.Logger |
+log |
+
private String |
+port |
+
private String |
+protocol |
+
private IotaAPIService |
+service |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+IotaAPICore(IotaAPICore.Builder builder)
+Build the API core.
+ |
+
private static final org.slf4j.Logger log+
private IotaAPIService service+
private String protocol+
private String host+
private String port+
protected IotaAPICore(IotaAPICore.Builder builder)+
builder - The builder.protected static <T> retrofit2.Response<T> wrapCheckedException(retrofit2.Call<T> call)+
T - call - private static String env(String env, + String def)+
env - def - private void postConstruct()+
public GetNodeInfoResponse getNodeInfo()+
public GetNeighborsResponse getNeighbors()+
public AddNeighborsResponse addNeighbors(String... uris)+
public RemoveNeighborsResponse removeNeighbors(String... uris)+
public GetTipsResponse getTips()+
public FindTransactionResponse findTransactions(String[] addresses, + String[] tags, + String[] approvees, + String[] bundles)+
public FindTransactionResponse findTransactionsByAddresses(String... addresses)+
public FindTransactionResponse findTransactionsByBundles(String... bundles)+
public FindTransactionResponse findTransactionsByApprovees(String... approvees)+
public FindTransactionResponse findTransactionsByDigests(String... digests)+
public GetInclusionStateResponse getInclusionStates(String[] transactions, + String[] tips)+
public GetTrytesResponse getTrytes(String... hashes)+
public GetTransactionsToApproveResponse getTransactionsToApprove(Integer depth)+
public GetBalancesResponse getBalances(Integer threshold, + String[] addresses)+
public GetBalancesResponse getBalances(Integer threshold, + List<String> addresses)+
public InterruptAttachingToTangleResponse interruptAttachingToTangle()+
public GetAttachToTangleResponse attachToTangle(String trunkTransaction, + String branchTransaction, + Integer minWeightMagnitude, + String... trytes) + throws InvalidTrytesException+
InvalidTrytesExceptionpublic StoreTransactionsResponse storeTransactions(String... trytes)+
public BroadcastTransactionsResponse broadcastTransactions(String... trytes)+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/IotaAPIService.html b/javadoc/jota/IotaAPIService.html new file mode 100644 index 0000000..01e252c --- /dev/null +++ b/javadoc/jota/IotaAPIService.html @@ -0,0 +1,582 @@ + + + + + + +public interface IotaAPIService
+| Modifier and Type | +Field and Description | +
|---|---|
static String |
+CONTENT_TYPE_HEADER |
+
static String |
+USER_AGENT_HEADER |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<AddNeighborsResponse> |
+addNeighbors(IotaNeighborsRequest request)
+Add a list of neighbors to your node.
+ |
+
retrofit2.Call<GetAttachToTangleResponse> |
+attachToTangle(IotaAttachToTangleRequest request)
+Attaches the specified transactions (trytes) to the Tangle by doing Proof of Work.
+ |
+
retrofit2.Call<BroadcastTransactionsResponse> |
+broadcastTransactions(IotaBroadcastTransactionRequest request)
+Broadcast a list of transactions to all neighbors.
+ |
+
retrofit2.Call<FindTransactionResponse> |
+findTransactions(IotaFindTransactionsRequest request)
+Find the transactions which match the specified input and return
+ |
+
retrofit2.Call<GetBalancesResponse> |
+getBalances(IotaGetBalancesRequest request)
+It returns the confirmed balance which a list of addresses have at the latest confirmed milestone.
+ |
+
retrofit2.Call<GetInclusionStateResponse> |
+getInclusionStates(IotaGetInclusionStateRequest request)
+Get the inclusion states of a set of transactions.
+ |
+
retrofit2.Call<GetNeighborsResponse> |
+getNeighbors(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
retrofit2.Call<GetNodeInfoResponse> |
+getNodeInfo(IotaCommandRequest request)
+Returns information about your node.
+ |
+
retrofit2.Call<GetTipsResponse> |
+getTips(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
retrofit2.Call<GetTransactionsToApproveResponse> |
+getTransactionsToApprove(IotaGetTransactionsToApproveRequest request)
+Tip selection which returns trunkTransaction and branchTransaction.
+ |
+
retrofit2.Call<GetTrytesResponse> |
+getTrytes(IotaGetTrytesRequest request)
+Returns the raw trytes data of a transaction.
+ |
+
retrofit2.Call<InterruptAttachingToTangleResponse> |
+interruptAttachingToTangle(IotaCommandRequest request)
+Interrupts and completely aborts the attachToTangle process.
+ |
+
retrofit2.Call<RemoveNeighborsResponse> |
+removeNeighbors(IotaNeighborsRequest request)
+Removes a list of neighbors to your node.
+ |
+
retrofit2.Call<StoreTransactionsResponse> |
+storeTransactions(IotaStoreTransactionsRequest request)
+Store transactions into the local storage.
+ |
+
static final String CONTENT_TYPE_HEADER+
static final String USER_AGENT_HEADER+
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetNodeInfoResponse> getNodeInfo(@Body
+ IotaCommandRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getNodeInfo"}'
NodeInfoResponse object, if succesfull.@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetNeighborsResponse> getNeighbors(@Body
+ IotaCommandRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getNeighbors"}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<AddNeighborsResponse> addNeighbors(@Body
+ IotaNeighborsRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "addNeighbors", "uris": ["udp://8.8.8.8:14265", "udp://8.8.8.5:14265"]}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<RemoveNeighborsResponse> removeNeighbors(@Body
+ IotaNeighborsRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "removeNeighbors", "uris": ["udp://8.8.8.8:14265", "udp://8.8.8.5:14265"]}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetTipsResponse> getTips(@Body
+ IotaCommandRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getTips"}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<FindTransactionResponse> findTransactions(@Body
+ IotaFindTransactionsRequest request)
++ curl http://localhost:14265 \ -X POST \ -H 'Content-Type: application/json' \ + -d '{"command": "findTransactions", "addresses": ["RVORZ9SIIP9RCYMREUIXXVPQIPHVCNPQ9HZWYKFWYWZRE9JQKG9REPKIASHUUECPSQO9JT9XNMVKWYGVAZETAIRPTM"]}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetInclusionStateResponse> getInclusionStates(@Body
+ IotaGetInclusionStateRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getInclusionStates", "transactions"Q9HZWYKFWYWZRE9JQKG9REPKIASHUUECPSQO9JT9XNMVKWYGVAZETAIRPTM"], "tips" : []}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetTrytesResponse> getTrytes(@Body
+ IotaGetTrytesRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getTrytes", "hashes": ["OAATQS9VQLSXCLDJVJJVYUGONXAXOFMJOZNSYWRZSWECMXAQQURHQBJNLD9IOFEPGZEPEMPXCIVRX9999"]}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetTransactionsToApproveResponse> getTransactionsToApprove(@Body
+ IotaGetTransactionsToApproveRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getTransactionsToApprove", "depth": 27}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetBalancesResponse> getBalances(@Body
+ IotaGetBalancesRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "getBalances", "addresses": ["HBBYKAKTILIPVUKFOTSLHGENPTXYBNKXZFQFR9VQFWNBMTQNRVOUKPVPRNBSZVVILMAFBKOTBLGLWLOHQ"], "threshold": 100}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<GetAttachToTangleResponse> attachToTangle(@Body
+ IotaAttachToTangleRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "attachToTangle", "trunkTransaction": "JVMTDGDPDFYHMZPMWEKKANBQSLSDTIIHAYQUMZOKHXXXGJHJDQPOMDOMNRDKYCZRUFZROZDADTHZC9999", "branchTransaction": "P9KFSJVGSPLXAEBJSHWFZLGP9GGJTIO9YITDEHATDTGAFLPLBZ9FOFWWTKMAZXZHFGQHUOXLXUALY9999", "minWeightMagnitude": 18, "trytes": ["TRYTVALUEHERE"]}'
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<InterruptAttachingToTangleResponse> interruptAttachingToTangle(@Body
+ IotaCommandRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "interruptAttachingToTangle" }
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<BroadcastTransactionsResponse> broadcastTransactions(@Body
+ IotaBroadcastTransactionRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "broadcastTransactions", "trytes": ["BYSWEAUTWXHXZ9YBZISEK9LUHWGMHXCGEVNZHRLUWQFCUSDXZHOFHWHL9MQPVJXXZLIXPXPXF9KYEREFSKCPKYIIKPZVLHUTDFQKKVVBBN9ATTLPCNPJDWDEVIYYLGPZGCWXOBDXMLJC9VO9QXTTBLAXTTBFUAROYEGQIVB9MJWJKXJMCUPTWAUGFZBTZCSJVRBGMYXTVBDDS9MYUJCPZ9YDWWQNIPUAIJXXSNLKUBSCOIJPCLEFPOXFJREXQCUVUMKSDOVQGGHRNILCO9GNCLWFM9APMNMWYASHXQAYBEXF9QRIHIBHYEJOYHRQJAOKAQ9AJJFQ9WEIWIJOTZATIBOXQLBMIJU9PCGBLVDDVFP9CFFSXTDUXMEGOOFXWRTLFGV9XXMYWEMGQEEEDBTIJ9OJOXFAPFQXCDAXOUDMLVYRMRLUDBETOLRJQAEDDLNVIRQJUBZBO9CCFDHIX9MSQCWYAXJVWHCUPTRSXJDESISQPRKZAFKFRULCGVRSBLVFOPEYLEE99JD9SEBALQINPDAZHFAB9RNBH9AZWIJOTLBZVIEJIAYGMC9AZGNFWGRSWAXTYSXVROVNKCOQQIWGPNQZKHUNODGYADPYLZZZUQRTJRTODOUKAOITNOMWNGHJBBA99QUMBHRENGBHTH9KHUAOXBVIVDVYYZMSEYSJWIOGGXZVRGN999EEGQMCOYVJQRIRROMPCQBLDYIGQO9AMORPYFSSUGACOJXGAQSPDY9YWRRPESNXXBDQ9OZOXVIOMLGTSWAMKMTDRSPGJKGBXQIVNRJRFRYEZ9VJDLHIKPSKMYC9YEGHFDS9SGVDHRIXBEMLFIINOHVPXIFAZCJKBHVMQZEVWCOSNWQRDYWVAIBLSCBGESJUIBWZECPUCAYAWMTQKRMCHONIPKJYYTEGZCJYCT9ABRWTJLRQXKMWY9GWZMHYZNWPXULNZAPVQLPMYQZCYNEPOCGOHBJUZLZDPIXVHLDMQYJUUBEDXXPXFLNRGIPWBRNQQZJSGSJTTYHIGGFAWJVXWL9THTPWOOHTNQWCNYOYZXALHAZXVMIZE9WMQUDCHDJMIBWKTYH9AC9AFOT9DPCADCV9ZWUTE9QNOMSZPTZDJLJZCJGHXUNBJFUBJWQUEZDMHXGBPTNSPZBR9TGSKVOHMOQSWPGFLSWNESFKSAZY9HHERAXALZCABFYPOVLAHMIHVDBGKUMDXC9WHHTIRYHZVWNXSVQUWCR9M9RAGMFEZZKZ9XEOQGOSLFQCHHOKLDSA9QCMDGCGMRYJZLBVIFOLBIJPROKMHOYTBTJIWUZWJMCTKCJKKTR9LCVYPVJI9AHGI9JOWMIWZAGMLDFJA9WU9QAMEFGABIBEZNNAL9OXSBFLOEHKDGHWFQSHMPLYFCNXAAZYJLMQDEYRGL9QKCEUEJ9LLVUOINVSZZQHCIKPAGMT9CAYIIMTTBCPKWTYHOJIIY9GYNPAJNUJ9BKYYXSV9JSPEXYMCFAIKTGNRSQGUNIYZCRT9FOWENSZQPD9ALUPYYAVICHVYELYFPUYDTWUSWNIYFXPX9MICCCOOZIWRNJIDALWGWRATGLJXNAYTNIZWQ9YTVDBOFZRKO9CFWRPAQQRXTPACOWCPRLYRYSJARRKSQPR9TCFXDVIXLP9XVL99ERRDSOHBFJDJQQGGGCZNDQ9NYCTQJWVZIAELCRBJJFDMCNZU9FIZRPGNURTXOCDSQGXTQHKHUECGWFUUYS9J9NYQ9U9P9UUP9YMZHWWWCIASCFLCMSKTELZWUGCDE9YOKVOVKTAYPHDF9ZCCQAYPJIJNGSHUIHHCOSSOOBUDOKE9CJZGYSSGNCQJVBEFTZFJ9SQUHOASKRRGBSHWKBCBWBTJHOGQ9WOMQFHWJVEG9NYX9KWBTCAIXNXHEBDIOFO9ALYMFGRICLCKKLG9FOBOX9PDWNQRGHBKHGKKRLWTBEQMCWQRLHAVYYZDIIPKVQTHYTWQMTOACXZOQCDTJTBAAUWXSGJF9PNQIJ9AJRUMUVCPWYVYVARKR9RKGOUHHNKNVGGPDDLGKPQNOYHNKAVVKCXWXOQPZNSLATUJT9AUWRMPPSWHSTTYDFAQDXOCYTZHOYYGAIM9CELMZ9AZPWB9MJXGHOKDNNSZVUDAGXTJJSSZCPZVPZBYNNTUQABSXQWZCHDQSLGK9UOHCFKBIBNETK999999999999999999999999999999999999999999999999999999999999999999999999999999999NOXDXXKUDWLOFJLIPQIBRBMGDYCPGDNLQOLQS99EQYKBIU9VHCJVIPFUYCQDNY9APGEVYLCENJIOBLWNB999999999XKBRHUD99C99999999NKZKEKWLDKMJCI9N9XQOLWEPAYWSH9999999999999999999999999KDDTGZLIPBNZKMLTOLOXQVNGLASESDQVPTXALEKRMIOHQLUHD9ELQDBQETS9QFGTYOYWLNTSKKMVJAUXSIROUICDOXKSYZTDPEDKOQENTJOWJONDEWROCEJIEWFWLUAACVSJFTMCHHXJBJRKAAPUDXXVXFWP9X9999IROUICDOXKSYZTDPEDKOQENTJOWJONDEWROCEJIEWFWLUAACVSJFTMCHHXJBJRKAAPUDXXVXFWP9X9999"]}
@Headers(value={"Content-Type: application/json","User-Agent: JOTA-API wrapper"})
+ @POST(value="./")
+retrofit2.Call<StoreTransactionsResponse> storeTransactions(@Body
+ IotaStoreTransactionsRequest request)
++ curl http://localhost:14265 -X POST -H 'Content-Type: application/json' + -d '{"command": "storeTransactions", "trytes": ["BYSWEAUTWXHXZ9YBZISEK9LUHWGMHXCGEVNZHRLUWQFCUSDXZHOFHWHL9MQPVJXXZLIXPXPXF9KYEREFSKCPKYIIKPZVLHUTDFQKKVVBBN9ATTLPCNPJDWDEVIYYLGPZGCWXOBDXMLJC9VO9QXTTBLAXTTBFUAROYEGQIVB9MJWJKXJMCUPTWAUGFZBTZCSJVRBGMYXTVBDDS9MYUJCPZ9YDWWQNIPUAIJXXSNLKUBSCOIJPCLEFPOXFJREXQCUVUMKSDOVQGGHRNILCO9GNCLWFM9APMNMWYASHXQAYBEXF9QRIHIBHYEJOYHRQJAOKAQ9AJJFQ9WEIWIJOTZATIBOXQLBMIJU9PCGBLVDDVFP9CFFSXTDUXMEGOOFXWRTLFGV9XXMYWEMGQEEEDBTIJ9OJOXFAPFQXCDAXOUDMLVYRMRLUDBETOLRJQAEDDLNVIRQJUBZBO9CCFDHIX9MSQCWYAXJVWHCUPTRSXJDESISQPRKZAFKFRULCGVRSBLVFOPEYLEE99JD9SEBALQINPDAZHFAB9RNBH9AZWIJOTLBZVIEJIAYGMC9AZGNFWGRSWAXTYSXVROVNKCOQQIWGPNQZKHUNODGYADPYLZZZUQRTJRTODOUKAOITNOMWNGHJBBA99QUMBHRENGBHTH9KHUAOXBVIVDVYYZMSEYSJWIOGGXZVRGN999EEGQMCOYVJQRIRROMPCQBLDYIGQO9AMORPYFSSUGACOJXGAQSPDY9YWRRPESNXXBDQ9OZOXVIOMLGTSWAMKMTDRSPGJKGBXQIVNRJRFRYEZ9VJDLHIKPSKMYC9YEGHFDS9SGVDHRIXBEMLFIINOHVPXIFAZCJKBHVMQZEVWCOSNWQRDYWVAIBLSCBGESJUIBWZECPUCAYAWMTQKRMCHONIPKJYYTEGZCJYCT9ABRWTJLRQXKMWY9GWZMHYZNWPXULNZAPVQLPMYQZCYNEPOCGOHBJUZLZDPIXVHLDMQYJUUBEDXXPXFLNRGIPWBRNQQZJSGSJTTYHIGGFAWJVXWL9THTPWOOHTNQWCNYOYZXALHAZXVMIZE9WMQUDCHDJMIBWKTYH9AC9AFOT9DPCADCV9ZWUTE9QNOMSZPTZDJLJZCJGHXUNBJFUBJWQUEZDMHXGBPTNSPZBR9TGSKVOHMOQSWPGFLSWNESFKSAZY9HHERAXALZCABFYPOVLAHMIHVDBGKUMDXC9WHHTIRYHZVWNXSVQUWCR9M9RAGMFEZZKZ9XEOQGOSLFQCHHOKLDSA9QCMDGCGMRYJZLBVIFOLBIJPROKMHOYTBTJIWUZWJMCTKCJKKTR9LCVYPVJI9AHGI9JOWMIWZAGMLDFJA9WU9QAMEFGABIBEZNNAL9OXSBFLOEHKDGHWFQSHMPLYFCNXAAZYJLMQDEYRGL9QKCEUEJ9LLVUOINVSZZQHCIKPAGMT9CAYIIMTTBCPKWTYHOJIIY9GYNPAJNUJ9BKYYXSV9JSPEXYMCFAIKTGNRSQGUNIYZCRT9FOWENSZQPD9ALUPYYAVICHVYELYFPUYDTWUSWNIYFXPX9MICCCOOZIWRNJIDALWGWRATGLJXNAYTNIZWQ9YTVDBOFZRKO9CFWRPAQQRXTPACOWCPRLYRYSJARRKSQPR9TCFXDVIXLP9XVL99ERRDSOHBFJDJQQGGGCZNDQ9NYCTQJWVZIAELCRBJJFDMCNZU9FIZRPGNURTXOCDSQGXTQHKHUECGWFUUYS9J9NYQ9U9P9UUP9YMZHWWWCIASCFLCMSKTELZWUGCDE9YOKVOVKTAYPHDF9ZCCQAYPJIJNGSHUIHHCOSSOOBUDOKE9CJZGYSSGNCQJVBEFTZFJ9SQUHOASKRRGBSHWKBCBWBTJHOGQ9WOMQFHWJVEG9NYX9KWBTCAIXNXHEBDIOFO9ALYMFGRICLCKKLG9FOBOX9PDWNQRGHBKHGKKRLWTBEQMCWQRLHAVYYZDIIPKVQTHYTWQMTOACXZOQCDTJTBAAUWXSGJF9PNQIJ9AJRUMUVCPWYVYVARKR9RKGOUHHNKNVGGPDDLGKPQNOYHNKAVVKCXWXOQPZNSLATUJT9AUWRMPPSWHSTTYDFAQDXOCYTZHOYYGAIM9CELMZ9AZPWB9MJXGHOKDNNSZVUDAGXTJJSSZCPZVPZBYNNTUQABSXQWZCHDQSLGK9UOHCFKBIBNETK999999999999999999999999999999999999999999999999999999999999999999999999999999999NOXDXXKUDWLOFJLIPQIBRBMGDYCPGDNLQOLQS99EQYKBIU9VHCJVIPFUYCQDNY9APGEVYLCENJIOBLWNB999999999XKBRHUD99C99999999NKZKEKWLDKMJCI9N9XQOLWEPAYWSH9999999999999999999999999KDDTGZLIPBNZKMLTOLOXQVNGLASESDQVPTXALEKRMIOHQLUHD9ELQDBQETS9QFGTYOYWLNTSKKMVJAUXSIROUICDOXKSYZTDPEDKOQENTJOWJONDEWROCEJIEWFWLUAACVSJFTMCHHXJBJRKAAPUDXXVXFWP9X9999IROUICDOXKSYZTDPEDKOQENTJOWJONDEWROCEJIEWFWLUAACVSJFTMCHHXJBJRKAAPUDXXVXFWP9X9999"]}'
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPI.Builder.html b/javadoc/jota/class-use/IotaAPI.Builder.html new file mode 100644 index 0000000..aa664d1 --- /dev/null +++ b/javadoc/jota/class-use/IotaAPI.Builder.html @@ -0,0 +1,175 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
IotaAPI.Builder |
+IotaAPI.Builder.withCustomCurl(ICurl curl) |
+
| Constructor and Description | +
|---|
IotaAPI(IotaAPI.Builder builder) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPI.html b/javadoc/jota/class-use/IotaAPI.html new file mode 100644 index 0000000..18f0e25 --- /dev/null +++ b/javadoc/jota/class-use/IotaAPI.html @@ -0,0 +1,164 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPICommands.html b/javadoc/jota/class-use/IotaAPICommands.html new file mode 100644 index 0000000..650f93b --- /dev/null +++ b/javadoc/jota/class-use/IotaAPICommands.html @@ -0,0 +1,199 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IotaAPICommands |
+IotaAPICommands.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IotaAPICommands[] |
+IotaAPICommands.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Constructor and Description | +
|---|
IotaCommandRequest(IotaAPICommands command) |
+
IotaNeighborsRequest(IotaAPICommands type,
+ String... uris)
+Initializes a new instance of the IotaNeighborsRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPICore.Builder.html b/javadoc/jota/class-use/IotaAPICore.Builder.html new file mode 100644 index 0000000..9d42f92 --- /dev/null +++ b/javadoc/jota/class-use/IotaAPICore.Builder.html @@ -0,0 +1,190 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IotaAPICore.Builder<T extends IotaAPICore.Builder<T>> |
+
| Modifier and Type | +Class and Description | +
|---|---|
static class |
+IotaAPI.Builder |
+
| Constructor and Description | +
|---|
IotaAPICore(IotaAPICore.Builder builder)
+Build the API core.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPICore.html b/javadoc/jota/class-use/IotaAPICore.html new file mode 100644 index 0000000..3ed2066 --- /dev/null +++ b/javadoc/jota/class-use/IotaAPICore.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+IotaAPI
+IotaAPI Builder.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
IotaAPICore |
+IotaAPICore.Builder.build() |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/class-use/IotaAPIService.html b/javadoc/jota/class-use/IotaAPIService.html new file mode 100644 index 0000000..89a6b2b --- /dev/null +++ b/javadoc/jota/class-use/IotaAPIService.html @@ -0,0 +1,164 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
private IotaAPIService |
+IotaAPICore.service |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaAttachToTangleRequest.html b/javadoc/jota/dto/request/IotaAttachToTangleRequest.html new file mode 100644 index 0000000..391ee5f --- /dev/null +++ b/javadoc/jota/dto/request/IotaAttachToTangleRequest.html @@ -0,0 +1,547 @@ + + + + + + +public class IotaAttachToTangleRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+branchTransaction |
+
private Integer |
+minWeightMagnitude |
+
private String |
+trunkTransaction |
+
private String[] |
+trytes |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaAttachToTangleRequest(String trunkTransaction,
+ String branchTransaction,
+ Integer minWeightMagnitude,
+ String... trytes)
+Initializes a new instance of the IotaAttachedToTangleRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaAttachToTangleRequest |
+createAttachToTangleRequest(String trunkTransaction,
+ String branchTransaction,
+ Integer minWeightMagnitude,
+ String... trytes)
+Create a new instance of the IotaAttachedToTangleRequest class.
+ |
+
String |
+getBranchTransaction()
+Gets the branch transaction.
+ |
+
Integer |
+getMinWeightMagnitude()
+Gets the min weight magnitude.
+ |
+
String |
+getTrunkTransaction()
+Gets the trunk transaction.
+ |
+
String[] |
+getTrytes()
+Gets the trytes.
+ |
+
void |
+setBranchTransaction(String branchTransaction)
+Sets the branch transaction.
+ |
+
void |
+setMinWeightMagnitude(Integer minWeightMagnitude)
+Sets the min weight magnitude.
+ |
+
void |
+setTrunkTransaction(String trunkTransaction)
+Sets the trunk transaction.
+ |
+
void |
+setTrytes(String[] trytes)
+Sets the trytes.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate String trunkTransaction+
private String branchTransaction+
private Integer minWeightMagnitude+
private String[] trytes+
public static IotaAttachToTangleRequest createAttachToTangleRequest(String trunkTransaction, + String branchTransaction, + Integer minWeightMagnitude, + String... trytes)+
public String getTrunkTransaction()+
public void setTrunkTransaction(String trunkTransaction)+
trunkTransaction - The trunk transaction.public String getBranchTransaction()+
public void setBranchTransaction(String branchTransaction)+
branchTransaction - the branch transaction.public Integer getMinWeightMagnitude()+
public void setMinWeightMagnitude(Integer minWeightMagnitude)+
minWeightMagnitude - The min weight magnitude.public String[] getTrytes()+
public void setTrytes(String[] trytes)+
trytes - The trytes.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaBroadcastTransactionRequest.html b/javadoc/jota/dto/request/IotaBroadcastTransactionRequest.html new file mode 100644 index 0000000..a0ae243 --- /dev/null +++ b/javadoc/jota/dto/request/IotaBroadcastTransactionRequest.html @@ -0,0 +1,375 @@ + + + + + + +public class IotaBroadcastTransactionRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+trytes |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaBroadcastTransactionRequest(String... trytes)
+Initializes a new instance of the IotaBroadcastTransactionRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaBroadcastTransactionRequest |
+createBroadcastTransactionsRequest(String... trytes)
+Initializes a new instance of the IotaBroadcastTransactionRequest class.
+ |
+
String[] |
+getTrytes()
+Gets the trytes.
+ |
+
void |
+setTrytes(String[] trytes)
+Sets the trytes.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate IotaBroadcastTransactionRequest(String... trytes)+
public static IotaBroadcastTransactionRequest createBroadcastTransactionsRequest(String... trytes)+
public String[] getTrytes()+
public void setTrytes(String[] trytes)+
trytes - The trytes.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaCommandRequest.html b/javadoc/jota/dto/request/IotaCommandRequest.html new file mode 100644 index 0000000..4ec5c7e --- /dev/null +++ b/javadoc/jota/dto/request/IotaCommandRequest.html @@ -0,0 +1,384 @@ + + + + + + +public class IotaCommandRequest +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
(package private) String |
+command |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+IotaCommandRequest(IotaAPICommands command) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaCommandRequest |
+createGetNeighborsRequest()
+Gets the neighbours of the node.
+ |
+
static IotaCommandRequest |
+createGetTipsRequest()
+Gets the tips of the node.
+ |
+
static IotaCommandRequest |
+createInterruptAttachToTangleRequest()
+Interrupt attaching to the tangle
+ |
+
static IotaCommandRequest |
+createNodeInfoRequest()
+Get information about the node.
+ |
+
protected IotaCommandRequest(IotaAPICommands command)+
command - public static IotaCommandRequest createNodeInfoRequest()+
public static IotaCommandRequest createGetTipsRequest()+
public static IotaCommandRequest createGetNeighborsRequest()+
public static IotaCommandRequest createInterruptAttachToTangleRequest()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaFindTransactionsRequest.html b/javadoc/jota/dto/request/IotaFindTransactionsRequest.html new file mode 100644 index 0000000..8a1df06 --- /dev/null +++ b/javadoc/jota/dto/request/IotaFindTransactionsRequest.html @@ -0,0 +1,598 @@ + + + + + + +public class IotaFindTransactionsRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+addresses |
+
private String[] |
+approvees |
+
private String[] |
+bundles |
+
private String[] |
+tags |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaFindTransactionsRequest()
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
IotaFindTransactionsRequest |
+byAddresses(String... addresses)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+byApprovees(String... approvees)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+byBundles(String... bundles)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+byTags(String... tags)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
static IotaFindTransactionsRequest |
+createFindTransactionRequest()
+Create a new instance of the IotaFindTransactionsRequest class.
+ |
+
String[] |
+getAddresses()
+Gets the addresses.
+ |
+
String[] |
+getApprovees()
+Gets the approvees.
+ |
+
String[] |
+getBundles()
+Gets the bundles.
+ |
+
String[] |
+getTags()
+Gets the tags.
+ |
+
void |
+setAddresses(String[] addresses)
+Sets the addresses.
+ |
+
void |
+setApprovees(String[] approvees)
+Sets the approvees.
+ |
+
void |
+setBundles(String[] bundles)
+Sets the bundles.
+ |
+
void |
+setTags(String[] tags)
+Sets the tags.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate String[] bundles+
private String[] addresses+
private String[] tags+
private String[] approvees+
private IotaFindTransactionsRequest()+
public static IotaFindTransactionsRequest createFindTransactionRequest()+
public IotaFindTransactionsRequest byBundles(String... bundles)+
public IotaFindTransactionsRequest byAddresses(String... addresses)+
public IotaFindTransactionsRequest byTags(String... tags)+
public IotaFindTransactionsRequest byApprovees(String... approvees)+
public String[] getBundles()+
public void setBundles(String[] bundles)+
bundles - The bundles.public String[] getAddresses()+
public void setAddresses(String[] addresses)+
addresses - The addresses.public String[] getTags()+
public void setTags(String[] tags)+
tags - The tags.public String[] getApprovees()+
public void setApprovees(String[] approvees)+
approvees - The approvees.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaGetBalancesRequest.html b/javadoc/jota/dto/request/IotaGetBalancesRequest.html new file mode 100644 index 0000000..c5e6cac --- /dev/null +++ b/javadoc/jota/dto/request/IotaGetBalancesRequest.html @@ -0,0 +1,432 @@ + + + + + + +public class IotaGetBalancesRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+addresses |
+
private Integer |
+threshold |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaGetBalancesRequest(Integer threshold,
+ String... addresses)
+Initializes a new instance of the IotaGetBalancesRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetBalancesRequest |
+createIotaGetBalancesRequest(Integer threshold,
+ String... addresses)
+Create a new instance of the IotaGetBalancesRequest class.
+ |
+
String[] |
+getAddresses()
+Gets the addresses.
+ |
+
Integer |
+getThreshold()
+Gets the threshold.
+ |
+
void |
+setAddresses(String[] addresses)
+Sets the addresses.
+ |
+
void |
+setThreshold(Integer threshold)
+Sets the threshold.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate String[] addresses+
private Integer threshold+
public static IotaGetBalancesRequest createIotaGetBalancesRequest(Integer threshold, + String... addresses)+
public String[] getAddresses()+
public void setAddresses(String[] addresses)+
addresses - The addresses.public Integer getThreshold()+
public void setThreshold(Integer threshold)+
threshold - The threshold.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaGetInclusionStateRequest.html b/javadoc/jota/dto/request/IotaGetInclusionStateRequest.html new file mode 100644 index 0000000..26b7698 --- /dev/null +++ b/javadoc/jota/dto/request/IotaGetInclusionStateRequest.html @@ -0,0 +1,450 @@ + + + + + + +public class IotaGetInclusionStateRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+tips |
+
private String[] |
+transactions |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaGetInclusionStateRequest(String[] transactions,
+ String[] tips)
+Initializes a new instance of the IotaGetInclusionStateRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetInclusionStateRequest |
+createGetInclusionStateRequest(Collection<String> transactions,
+ Collection<String> tips)
+Create a new instance of the IotaGetInclusionStateRequest class.
+ |
+
static IotaGetInclusionStateRequest |
+createGetInclusionStateRequest(String[] transactions,
+ String[] tips)
+Create a new instance of the IotaGetInclusionStateRequest class.
+ |
+
String[] |
+getTips()
+Gets the tips.
+ |
+
String[] |
+getTransactions()
+Gets the transactions.
+ |
+
void |
+setTips(String[] tips)
+Sets the tips.
+ |
+
void |
+setTransactions(String[] transactions)
+Sets the transactions.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate String[] transactions+
private String[] tips+
public static IotaGetInclusionStateRequest createGetInclusionStateRequest(String[] transactions, + String[] tips)+
public static IotaGetInclusionStateRequest createGetInclusionStateRequest(Collection<String> transactions, + Collection<String> tips)+
public String[] getTransactions()+
public void setTransactions(String[] transactions)+
transactions - The transactions.public String[] getTips()+
public void setTips(String[] tips)+
tips - The tips.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaGetTransactionsToApproveRequest.html b/javadoc/jota/dto/request/IotaGetTransactionsToApproveRequest.html new file mode 100644 index 0000000..5a53b09 --- /dev/null +++ b/javadoc/jota/dto/request/IotaGetTransactionsToApproveRequest.html @@ -0,0 +1,375 @@ + + + + + + +public class IotaGetTransactionsToApproveRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private Integer |
+depth |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaGetTransactionsToApproveRequest(Integer depth)
+Initializes a new instance of the IotaGetTransactionsToApproveRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetTransactionsToApproveRequest |
+createIotaGetTransactionsToApproveRequest(Integer depth)
+Create a new instance of the IotaGetTransactionsToApproveRequest class.
+ |
+
Integer |
+getDepth()
+Gets the depth.
+ |
+
void |
+setDepth(Integer depth)
+Sets the depth.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate IotaGetTransactionsToApproveRequest(Integer depth)+
public static IotaGetTransactionsToApproveRequest createIotaGetTransactionsToApproveRequest(Integer depth)+
public Integer getDepth()+
public void setDepth(Integer depth)+
depth - The depth.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaGetTrytesRequest.html b/javadoc/jota/dto/request/IotaGetTrytesRequest.html new file mode 100644 index 0000000..70f6ba2 --- /dev/null +++ b/javadoc/jota/dto/request/IotaGetTrytesRequest.html @@ -0,0 +1,375 @@ + + + + + + +public class IotaGetTrytesRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+hashes |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaGetTrytesRequest(String... hashes)
+Initializes a new instance of the IotaGetTrytesRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetTrytesRequest |
+createGetTrytesRequest(String... hashes)
+Create a new instance of the IotaGetTrytesRequest class.
+ |
+
String[] |
+getHashes()
+Gets the hashes.
+ |
+
void |
+setHashes(String[] hashes)
+Sets the hashes.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate IotaGetTrytesRequest(String... hashes)+
public static IotaGetTrytesRequest createGetTrytesRequest(String... hashes)+
public String[] getHashes()+
public void setHashes(String[] hashes)+
hashes - The hashes.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaNeighborsRequest.html b/javadoc/jota/dto/request/IotaNeighborsRequest.html new file mode 100644 index 0000000..31d226b --- /dev/null +++ b/javadoc/jota/dto/request/IotaNeighborsRequest.html @@ -0,0 +1,393 @@ + + + + + + +public class IotaNeighborsRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+uris |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaNeighborsRequest(IotaAPICommands type,
+ String... uris)
+Initializes a new instance of the IotaNeighborsRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaNeighborsRequest |
+createAddNeighborsRequest(String... uris)
+Create a new instance of the IotaNeighborsRequest class.
+ |
+
static IotaNeighborsRequest |
+createRemoveNeighborsRequest(String... uris)
+Create a new instance of the IotaNeighborsRequest class.
+ |
+
String[] |
+getUris()
+Gets the uris.
+ |
+
void |
+setUris(String[] uris)
+Sets the uris.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate IotaNeighborsRequest(IotaAPICommands type, + String... uris)+
public static IotaNeighborsRequest createAddNeighborsRequest(String... uris)+
public static IotaNeighborsRequest createRemoveNeighborsRequest(String... uris)+
public String[] getUris()+
public void setUris(String[] uris)+
uris - The uris.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/IotaStoreTransactionsRequest.html b/javadoc/jota/dto/request/IotaStoreTransactionsRequest.html new file mode 100644 index 0000000..3ac736b --- /dev/null +++ b/javadoc/jota/dto/request/IotaStoreTransactionsRequest.html @@ -0,0 +1,376 @@ + + + + + + +public class IotaStoreTransactionsRequest +extends IotaCommandRequest+
| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+trytes |
+
command| Modifier | +Constructor and Description | +
|---|---|
private |
+IotaStoreTransactionsRequest(String... trytes)
+Initializes a new instance of the IotaStoreTransactionsRequest class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaStoreTransactionsRequest |
+createStoreTransactionsRequest(String... trytes)
+Create a new instance of the IotaStoreTransactionsRequest class.
+ |
+
String[] |
+getTrytes()
+Gets the trytes.
+ |
+
void |
+setTrytes(String[] trytes)
+Sets the trytes.
+ |
+
createGetNeighborsRequest, createGetTipsRequest, createInterruptAttachToTangleRequest, createNodeInfoRequestprivate IotaStoreTransactionsRequest(String... trytes)+
public static IotaStoreTransactionsRequest createStoreTransactionsRequest(String... trytes)+
public String[] getTrytes()+
public void setTrytes(String[] trytes)+
trytes - The trytes.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaAttachToTangleRequest.html b/javadoc/jota/dto/request/class-use/IotaAttachToTangleRequest.html new file mode 100644 index 0000000..681ed08 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaAttachToTangleRequest.html @@ -0,0 +1,193 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetAttachToTangleResponse> |
+IotaAPIService.attachToTangle(IotaAttachToTangleRequest request)
+Attaches the specified transactions (trytes) to the Tangle by doing Proof of Work.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaAttachToTangleRequest |
+IotaAttachToTangleRequest.createAttachToTangleRequest(String trunkTransaction,
+ String branchTransaction,
+ Integer minWeightMagnitude,
+ String... trytes)
+Create a new instance of the IotaAttachedToTangleRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaBroadcastTransactionRequest.html b/javadoc/jota/dto/request/class-use/IotaBroadcastTransactionRequest.html new file mode 100644 index 0000000..6026373 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaBroadcastTransactionRequest.html @@ -0,0 +1,190 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<BroadcastTransactionsResponse> |
+IotaAPIService.broadcastTransactions(IotaBroadcastTransactionRequest request)
+Broadcast a list of transactions to all neighbors.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaBroadcastTransactionRequest |
+IotaBroadcastTransactionRequest.createBroadcastTransactionsRequest(String... trytes)
+Initializes a new instance of the IotaBroadcastTransactionRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaCommandRequest.html b/javadoc/jota/dto/request/class-use/IotaCommandRequest.html new file mode 100644 index 0000000..0b207a7 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaCommandRequest.html @@ -0,0 +1,290 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetNeighborsResponse> |
+IotaAPIService.getNeighbors(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
retrofit2.Call<GetNodeInfoResponse> |
+IotaAPIService.getNodeInfo(IotaCommandRequest request)
+Returns information about your node.
+ |
+
retrofit2.Call<GetTipsResponse> |
+IotaAPIService.getTips(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
retrofit2.Call<InterruptAttachingToTangleResponse> |
+IotaAPIService.interruptAttachingToTangle(IotaCommandRequest request)
+Interrupts and completely aborts the attachToTangle process.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+IotaAttachToTangleRequest
+This class represents the core API request 'attachToTangle'.
+ |
+
class |
+IotaBroadcastTransactionRequest
+Broadcast a list of transactions to all neighbors.
+ |
+
class |
+IotaFindTransactionsRequest
+This class represents the core api request 'findTransactions'
+ |
+
class |
+IotaGetBalancesRequest
+This class represents the core api request 'getBalances'
+ |
+
class |
+IotaGetInclusionStateRequest
+This class represents the core API request 'getInclusionStates'
+ |
+
class |
+IotaGetTransactionsToApproveRequest
+This class represents the core API request 'getTransactionsToApprove'
+ |
+
class |
+IotaGetTrytesRequest
+This class represents the core API request 'getTrytes'
+ |
+
class |
+IotaNeighborsRequest
+This class represents the core API request 'addNeighbors' and 'removeNeighbors'
+ |
+
class |
+IotaStoreTransactionsRequest
+This class represents the core API request 'getTransactionsToApprove'
+ It stores transactions into the local storage.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaCommandRequest |
+IotaCommandRequest.createGetNeighborsRequest()
+Gets the neighbours of the node.
+ |
+
static IotaCommandRequest |
+IotaCommandRequest.createGetTipsRequest()
+Gets the tips of the node.
+ |
+
static IotaCommandRequest |
+IotaCommandRequest.createInterruptAttachToTangleRequest()
+Interrupt attaching to the tangle
+ |
+
static IotaCommandRequest |
+IotaCommandRequest.createNodeInfoRequest()
+Get information about the node.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaFindTransactionsRequest.html b/javadoc/jota/dto/request/class-use/IotaFindTransactionsRequest.html new file mode 100644 index 0000000..0f8cd21 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaFindTransactionsRequest.html @@ -0,0 +1,214 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<FindTransactionResponse> |
+IotaAPIService.findTransactions(IotaFindTransactionsRequest request)
+Find the transactions which match the specified input and return
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
IotaFindTransactionsRequest |
+IotaFindTransactionsRequest.byAddresses(String... addresses)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+IotaFindTransactionsRequest.byApprovees(String... approvees)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+IotaFindTransactionsRequest.byBundles(String... bundles)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
IotaFindTransactionsRequest |
+IotaFindTransactionsRequest.byTags(String... tags)
+Initializes a new instance of the IotaFindTransactionsRequest class.
+ |
+
static IotaFindTransactionsRequest |
+IotaFindTransactionsRequest.createFindTransactionRequest()
+Create a new instance of the IotaFindTransactionsRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaGetBalancesRequest.html b/javadoc/jota/dto/request/class-use/IotaGetBalancesRequest.html new file mode 100644 index 0000000..d3516b3 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaGetBalancesRequest.html @@ -0,0 +1,191 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetBalancesResponse> |
+IotaAPIService.getBalances(IotaGetBalancesRequest request)
+It returns the confirmed balance which a list of addresses have at the latest confirmed milestone.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetBalancesRequest |
+IotaGetBalancesRequest.createIotaGetBalancesRequest(Integer threshold,
+ String... addresses)
+Create a new instance of the IotaGetBalancesRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaGetInclusionStateRequest.html b/javadoc/jota/dto/request/class-use/IotaGetInclusionStateRequest.html new file mode 100644 index 0000000..1c3361f --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaGetInclusionStateRequest.html @@ -0,0 +1,198 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetInclusionStateResponse> |
+IotaAPIService.getInclusionStates(IotaGetInclusionStateRequest request)
+Get the inclusion states of a set of transactions.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetInclusionStateRequest |
+IotaGetInclusionStateRequest.createGetInclusionStateRequest(Collection<String> transactions,
+ Collection<String> tips)
+Create a new instance of the IotaGetInclusionStateRequest class.
+ |
+
static IotaGetInclusionStateRequest |
+IotaGetInclusionStateRequest.createGetInclusionStateRequest(String[] transactions,
+ String[] tips)
+Create a new instance of the IotaGetInclusionStateRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaGetTransactionsToApproveRequest.html b/javadoc/jota/dto/request/class-use/IotaGetTransactionsToApproveRequest.html new file mode 100644 index 0000000..5fc6a81 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaGetTransactionsToApproveRequest.html @@ -0,0 +1,190 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetTransactionsToApproveResponse> |
+IotaAPIService.getTransactionsToApprove(IotaGetTransactionsToApproveRequest request)
+Tip selection which returns trunkTransaction and branchTransaction.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetTransactionsToApproveRequest |
+IotaGetTransactionsToApproveRequest.createIotaGetTransactionsToApproveRequest(Integer depth)
+Create a new instance of the IotaGetTransactionsToApproveRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaGetTrytesRequest.html b/javadoc/jota/dto/request/class-use/IotaGetTrytesRequest.html new file mode 100644 index 0000000..6f8e019 --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaGetTrytesRequest.html @@ -0,0 +1,190 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetTrytesResponse> |
+IotaAPIService.getTrytes(IotaGetTrytesRequest request)
+Returns the raw trytes data of a transaction.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaGetTrytesRequest |
+IotaGetTrytesRequest.createGetTrytesRequest(String... hashes)
+Create a new instance of the IotaGetTrytesRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaNeighborsRequest.html b/javadoc/jota/dto/request/class-use/IotaNeighborsRequest.html new file mode 100644 index 0000000..6c20fbe --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaNeighborsRequest.html @@ -0,0 +1,202 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<AddNeighborsResponse> |
+IotaAPIService.addNeighbors(IotaNeighborsRequest request)
+Add a list of neighbors to your node.
+ |
+
retrofit2.Call<RemoveNeighborsResponse> |
+IotaAPIService.removeNeighbors(IotaNeighborsRequest request)
+Removes a list of neighbors to your node.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaNeighborsRequest |
+IotaNeighborsRequest.createAddNeighborsRequest(String... uris)
+Create a new instance of the IotaNeighborsRequest class.
+ |
+
static IotaNeighborsRequest |
+IotaNeighborsRequest.createRemoveNeighborsRequest(String... uris)
+Create a new instance of the IotaNeighborsRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/class-use/IotaStoreTransactionsRequest.html b/javadoc/jota/dto/request/class-use/IotaStoreTransactionsRequest.html new file mode 100644 index 0000000..23f497c --- /dev/null +++ b/javadoc/jota/dto/request/class-use/IotaStoreTransactionsRequest.html @@ -0,0 +1,190 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<StoreTransactionsResponse> |
+IotaAPIService.storeTransactions(IotaStoreTransactionsRequest request)
+Store transactions into the local storage.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static IotaStoreTransactionsRequest |
+IotaStoreTransactionsRequest.createStoreTransactionsRequest(String... trytes)
+Create a new instance of the IotaStoreTransactionsRequest class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/package-frame.html b/javadoc/jota/dto/request/package-frame.html new file mode 100644 index 0000000..2c1516f --- /dev/null +++ b/javadoc/jota/dto/request/package-frame.html @@ -0,0 +1,30 @@ + + + + + + +| Class | +Description | +
|---|---|
| IotaAttachToTangleRequest | +
+ This class represents the core API request 'attachToTangle'.
+ |
+
| IotaBroadcastTransactionRequest | +
+ Broadcast a list of transactions to all neighbors.
+ |
+
| IotaCommandRequest | +
+ This class represents the core api request 'getNodeInfo', 'getNeighbors' and 'interruptAttachToTangle'
+ |
+
| IotaFindTransactionsRequest | +
+ This class represents the core api request 'findTransactions'
+ |
+
| IotaGetBalancesRequest | +
+ This class represents the core api request 'getBalances'
+ |
+
| IotaGetInclusionStateRequest | +
+ This class represents the core API request 'getInclusionStates'
+ |
+
| IotaGetTransactionsToApproveRequest | +
+ This class represents the core API request 'getTransactionsToApprove'
+ |
+
| IotaGetTrytesRequest | +
+ This class represents the core API request 'getTrytes'
+ |
+
| IotaNeighborsRequest | +
+ This class represents the core API request 'addNeighbors' and 'removeNeighbors'
+ |
+
| IotaStoreTransactionsRequest | +
+ This class represents the core API request 'getTransactionsToApprove'
+ It stores transactions into the local storage.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/package-tree.html b/javadoc/jota/dto/request/package-tree.html new file mode 100644 index 0000000..350e1e4 --- /dev/null +++ b/javadoc/jota/dto/request/package-tree.html @@ -0,0 +1,149 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/request/package-use.html b/javadoc/jota/dto/request/package-use.html new file mode 100644 index 0000000..a56af1e --- /dev/null +++ b/javadoc/jota/dto/request/package-use.html @@ -0,0 +1,272 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Class and Description | +
|---|
| IotaAttachToTangleRequest
+ This class represents the core API request 'attachToTangle'.
+ |
+
| IotaBroadcastTransactionRequest
+ Broadcast a list of transactions to all neighbors.
+ |
+
| IotaCommandRequest
+ This class represents the core api request 'getNodeInfo', 'getNeighbors' and 'interruptAttachToTangle'
+ |
+
| IotaFindTransactionsRequest
+ This class represents the core api request 'findTransactions'
+ |
+
| IotaGetBalancesRequest
+ This class represents the core api request 'getBalances'
+ |
+
| IotaGetInclusionStateRequest
+ This class represents the core API request 'getInclusionStates'
+ |
+
| IotaGetTransactionsToApproveRequest
+ This class represents the core API request 'getTransactionsToApprove'
+ |
+
| IotaGetTrytesRequest
+ This class represents the core API request 'getTrytes'
+ |
+
| IotaNeighborsRequest
+ This class represents the core API request 'addNeighbors' and 'removeNeighbors'
+ |
+
| IotaStoreTransactionsRequest
+ This class represents the core API request 'getTransactionsToApprove'
+ It stores transactions into the local storage.
+ |
+
| Class and Description | +
|---|
| IotaAttachToTangleRequest
+ This class represents the core API request 'attachToTangle'.
+ |
+
| IotaBroadcastTransactionRequest
+ Broadcast a list of transactions to all neighbors.
+ |
+
| IotaCommandRequest
+ This class represents the core api request 'getNodeInfo', 'getNeighbors' and 'interruptAttachToTangle'
+ |
+
| IotaFindTransactionsRequest
+ This class represents the core api request 'findTransactions'
+ |
+
| IotaGetBalancesRequest
+ This class represents the core api request 'getBalances'
+ |
+
| IotaGetInclusionStateRequest
+ This class represents the core API request 'getInclusionStates'
+ |
+
| IotaGetTransactionsToApproveRequest
+ This class represents the core API request 'getTransactionsToApprove'
+ |
+
| IotaGetTrytesRequest
+ This class represents the core API request 'getTrytes'
+ |
+
| IotaNeighborsRequest
+ This class represents the core API request 'addNeighbors' and 'removeNeighbors'
+ |
+
| IotaStoreTransactionsRequest
+ This class represents the core API request 'getTransactionsToApprove'
+ It stores transactions into the local storage.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/AbstractResponse.html b/javadoc/jota/dto/response/AbstractResponse.html new file mode 100644 index 0000000..d2d045e --- /dev/null +++ b/javadoc/jota/dto/response/AbstractResponse.html @@ -0,0 +1,395 @@ + + + + + + +public abstract class AbstractResponse +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private Long |
+duration |
+
| Constructor and Description | +
|---|
AbstractResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(Object obj) |
+
Long |
+getDuration()
+Gets the duration.
+ |
+
int |
+hashCode() |
+
void |
+setDuration(Long duration)
+Sets the duration.
+ |
+
String |
+toString()
+Returns a String that represents this object.
+ |
+
public Long getDuration()+
public void setDuration(Long duration)+
duration - The durationpublic String toString()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/AddNeighborsResponse.html b/javadoc/jota/dto/response/AddNeighborsResponse.html new file mode 100644 index 0000000..89f9b32 --- /dev/null +++ b/javadoc/jota/dto/response/AddNeighborsResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class AddNeighborsResponse +extends AbstractResponse+
IotaNeighborsRequest| Modifier and Type | +Field and Description | +
|---|---|
private int |
+addedNeighbors |
+
| Constructor and Description | +
|---|
AddNeighborsResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+getAddedNeighbors()
+Gets the number of added neighbors.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/AnalyzeTransactionResponse.html b/javadoc/jota/dto/response/AnalyzeTransactionResponse.html new file mode 100644 index 0000000..326f15d --- /dev/null +++ b/javadoc/jota/dto/response/AnalyzeTransactionResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class AnalyzeTransactionResponse +extends AbstractResponse+
IotaGetBalancesRequest| Modifier and Type | +Field and Description | +
|---|---|
private List<Transaction> |
+transactions |
+
| Constructor and Description | +
|---|
AnalyzeTransactionResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+getTransactions()
+Gets the transactions.
+ |
+
equals, getDuration, hashCode, setDuration, toStringprivate List<Transaction> transactions+
public AnalyzeTransactionResponse()+
public List<Transaction> getTransactions()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/BroadcastTransactionsResponse.html b/javadoc/jota/dto/response/BroadcastTransactionsResponse.html new file mode 100644 index 0000000..d61433f --- /dev/null +++ b/javadoc/jota/dto/response/BroadcastTransactionsResponse.html @@ -0,0 +1,250 @@ + + + + + + +public class BroadcastTransactionsResponse +extends AbstractResponse+
IotaBroadcastTransactionRequest| Constructor and Description | +
|---|
BroadcastTransactionsResponse() |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/FindTransactionResponse.html b/javadoc/jota/dto/response/FindTransactionResponse.html new file mode 100644 index 0000000..c98d002 --- /dev/null +++ b/javadoc/jota/dto/response/FindTransactionResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class FindTransactionResponse +extends AbstractResponse+
IotaFindTransactionsRequest| Modifier and Type | +Field and Description | +
|---|---|
(package private) String[] |
+hashes |
+
| Constructor and Description | +
|---|
FindTransactionResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+getHashes()
+Gets the hashes.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetAttachToTangleResponse.html b/javadoc/jota/dto/response/GetAttachToTangleResponse.html new file mode 100644 index 0000000..dd3e9aa --- /dev/null +++ b/javadoc/jota/dto/response/GetAttachToTangleResponse.html @@ -0,0 +1,330 @@ + + + + + + +public class GetAttachToTangleResponse +extends AbstractResponse+
IotaAttachToTangleRequest| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+trytes |
+
| Constructor and Description | +
|---|
GetAttachToTangleResponse(long duration)
+Initializes a new instance of the GetAttachToTangleResponse class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+getTrytes()
+Gets the rytes.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetBalancesAndFormatResponse.html b/javadoc/jota/dto/response/GetBalancesAndFormatResponse.html new file mode 100644 index 0000000..38755a0 --- /dev/null +++ b/javadoc/jota/dto/response/GetBalancesAndFormatResponse.html @@ -0,0 +1,420 @@ + + + + + + +public class GetBalancesAndFormatResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Input> |
+input |
+
private long |
+totalBalance |
+
| Constructor and Description | +
|---|
GetBalancesAndFormatResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBalancesAndFormatResponse |
+create(List<Input> inputs,
+ long totalBalance2,
+ long duration)
+Initializes a new instance of the GetBalancesAndFormatResponse class.
+ |
+
List<Input> |
+getInput()
+Gets the input.
+ |
+
long |
+getTotalBalance()
+Gets the total balance.
+ |
+
void |
+setInput(List<Input> input)
+Sets the input.
+ |
+
void |
+setTotalBalance(long totalBalance)
+Sets the total balance.
+ |
+
equals, getDuration, hashCode, setDuration, toStringpublic GetBalancesAndFormatResponse()+
public static GetBalancesAndFormatResponse create(List<Input> inputs, + long totalBalance2, + long duration)+
public void setInput(List<Input> input)+
input - The input.public long getTotalBalance()+
public void setTotalBalance(long totalBalance)+
totalBalance - The total balance.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetBalancesResponse.html b/javadoc/jota/dto/response/GetBalancesResponse.html new file mode 100644 index 0000000..4b4eb50 --- /dev/null +++ b/javadoc/jota/dto/response/GetBalancesResponse.html @@ -0,0 +1,393 @@ + + + + + + +public class GetBalancesResponse +extends AbstractResponse+
IotaGetBalancesRequest| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+balances |
+
private String |
+milestone |
+
private int |
+milestoneIndex |
+
| Constructor and Description | +
|---|
GetBalancesResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+getBalances()
+Gets the balances.
+ |
+
String |
+getMilestone()
+Gets the milestone.
+ |
+
int |
+getMilestoneIndex()
+Gets the milestone index.
+ |
+
equals, getDuration, hashCode, setDuration, toStringprivate String[] balances+
private String milestone+
private int milestoneIndex+
public int getMilestoneIndex()+
public String getMilestone()+
public String[] getBalances()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetBundleResponse.html b/javadoc/jota/dto/response/GetBundleResponse.html new file mode 100644 index 0000000..9e66f68 --- /dev/null +++ b/javadoc/jota/dto/response/GetBundleResponse.html @@ -0,0 +1,345 @@ + + + + + + +public class GetBundleResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Transaction> |
+transactions |
+
| Constructor and Description | +
|---|
GetBundleResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBundleResponse |
+create(List<Transaction> transactions,
+ long duration)
+Initializes a new instance of the GetBundleResponse class.
+ |
+
List<Transaction> |
+getTransactions()
+Gets the transactions.
+ |
+
equals, getDuration, hashCode, setDuration, toStringprivate List<Transaction> transactions+
public static GetBundleResponse create(List<Transaction> transactions, + long duration)+
public List<Transaction> getTransactions()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetInclusionStateResponse.html b/javadoc/jota/dto/response/GetInclusionStateResponse.html new file mode 100644 index 0000000..cb3210c --- /dev/null +++ b/javadoc/jota/dto/response/GetInclusionStateResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class GetInclusionStateResponse +extends AbstractResponse+
IotaGetInclusionStateRequest| Modifier and Type | +Field and Description | +
|---|---|
private boolean[] |
+states |
+
| Constructor and Description | +
|---|
GetInclusionStateResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean[] |
+getStates()
+Gets the states.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetNeighborsResponse.html b/javadoc/jota/dto/response/GetNeighborsResponse.html new file mode 100644 index 0000000..6c0dc66 --- /dev/null +++ b/javadoc/jota/dto/response/GetNeighborsResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class GetNeighborsResponse +extends AbstractResponse+
IotaCommandRequest| Modifier and Type | +Field and Description | +
|---|---|
private List<Neighbor> |
+neighbors |
+
| Constructor and Description | +
|---|
GetNeighborsResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Neighbor> |
+getNeighbors()
+Gets the neighbors.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetNewAddressResponse.html b/javadoc/jota/dto/response/GetNewAddressResponse.html new file mode 100644 index 0000000..427b5f5 --- /dev/null +++ b/javadoc/jota/dto/response/GetNewAddressResponse.html @@ -0,0 +1,345 @@ + + + + + + +public class GetNewAddressResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private List<String> |
+addresses |
+
| Constructor and Description | +
|---|
GetNewAddressResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetNewAddressResponse |
+create(List<String> addresses,
+ long duration)
+Initializes a new instance of the GetNewAddressResponse class.
+ |
+
List<String> |
+getAddresses()
+Gets the addresses.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetNodeInfoResponse.html b/javadoc/jota/dto/response/GetNodeInfoResponse.html new file mode 100644 index 0000000..bfdcc73 --- /dev/null +++ b/javadoc/jota/dto/response/GetNodeInfoResponse.html @@ -0,0 +1,824 @@ + + + + + + +public class GetNodeInfoResponse +extends AbstractResponse+
IotaNeighborsRequest| Modifier and Type | +Field and Description | +
|---|---|
private String |
+appName |
+
private String |
+appVersion |
+
private int |
+jreAvailableProcessors |
+
private long |
+jreFreeMemory |
+
private long |
+jreMaxMemory |
+
private long |
+jreTotalMemory |
+
private String |
+jreVersion |
+
private String |
+latestMilestone |
+
private int |
+latestMilestoneIndex |
+
private String |
+latestSolidSubtangleMilestone |
+
private int |
+latestSolidSubtangleMilestoneIndex |
+
private int |
+neighbors |
+
private int |
+packetsQueueSize |
+
private long |
+time |
+
private int |
+tips |
+
private int |
+transactionsToRequest |
+
| Constructor and Description | +
|---|
GetNodeInfoResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getAppName()
+Name of the IOTA software you're currently using (IRI stands for Initial Reference Implementation).
+ |
+
String |
+getAppVersion()
+The version of the IOTA software you're currently running.
+ |
+
Integer |
+getJreAvailableProcessors()
+Available cores on your machine for JRE.
+ |
+
long |
+getJreFreeMemory()
+The amount of free memory in the Java Virtual Machine.
+ |
+
long |
+getJreMaxMemory()
+The maximum amount of memory that the Java virtual machine will attempt to use.
+ |
+
long |
+getJreTotalMemory()
+The total amount of memory in the Java virtual machine.
+ |
+
String |
+getJreVersion()
+The version of running java version.
+ |
+
String |
+getLatestMilestone()
+Latest milestone that was signed off by the coordinator.
+ |
+
int |
+getLatestMilestoneIndex()
+Index of the latest milestone.
+ |
+
String |
+getLatestSolidSubtangleMilestone()
+The latest milestone which is solid and is used for sending transactions.
+ |
+
int |
+getLatestSolidSubtangleMilestoneIndex()
+Index of the latest solid subtangle.
+ |
+
int |
+getNeighbors()
+Number of neighbors you are directly connected with.
+ |
+
int |
+getPacketsQueueSize()
+Packets which are currently queued up.
+ |
+
Long |
+getTime()
+Current UNIX timestamp.
+ |
+
int |
+getTips()
+Number of tips in the network.
+ |
+
int |
+getTransactionsToRequest()
+Transactions to request during syncing process.
+ |
+
equals, getDuration, hashCode, setDuration, toStringprivate String appName+
private String appVersion+
private String jreVersion+
private int jreAvailableProcessors+
private long jreFreeMemory+
private long jreMaxMemory+
private long jreTotalMemory+
private String latestMilestone+
private int latestMilestoneIndex+
private String latestSolidSubtangleMilestone+
private int latestSolidSubtangleMilestoneIndex+
private int neighbors+
private int packetsQueueSize+
private long time+
private int tips+
private int transactionsToRequest+
public String getAppName()+
public String getAppVersion()+
public String getJreVersion()+
public Integer getJreAvailableProcessors()+
public long getJreFreeMemory()+
public long getJreMaxMemory()+
public long getJreTotalMemory()+
public String getLatestMilestone()+
public int getLatestMilestoneIndex()+
public String getLatestSolidSubtangleMilestone()+
public int getLatestSolidSubtangleMilestoneIndex()+
public int getNeighbors()+
public int getPacketsQueueSize()+
public Long getTime()+
public int getTips()+
public int getTransactionsToRequest()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetTipsResponse.html b/javadoc/jota/dto/response/GetTipsResponse.html new file mode 100644 index 0000000..8d8aa3a --- /dev/null +++ b/javadoc/jota/dto/response/GetTipsResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class GetTipsResponse +extends AbstractResponse+
IotaCommandRequest| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+hashes |
+
| Constructor and Description | +
|---|
GetTipsResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+getHashes()
+Gets the hashes.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetTransactionsToApproveResponse.html b/javadoc/jota/dto/response/GetTransactionsToApproveResponse.html new file mode 100644 index 0000000..14d7ec2 --- /dev/null +++ b/javadoc/jota/dto/response/GetTransactionsToApproveResponse.html @@ -0,0 +1,360 @@ + + + + + + +public class GetTransactionsToApproveResponse +extends AbstractResponse+
IotaGetTransactionsToApproveRequest| Modifier and Type | +Field and Description | +
|---|---|
private String |
+branchTransaction |
+
private String |
+trunkTransaction |
+
| Constructor and Description | +
|---|
GetTransactionsToApproveResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getBranchTransaction()
+Gets the branch transaction.
+ |
+
String |
+getTrunkTransaction()
+Gets the trunk transaction.
+ |
+
equals, getDuration, hashCode, setDuration, toStringprivate String trunkTransaction+
private String branchTransaction+
public GetTransactionsToApproveResponse()+
public String getTrunkTransaction()+
public String getBranchTransaction()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetTransferResponse.html b/javadoc/jota/dto/response/GetTransferResponse.html new file mode 100644 index 0000000..164e014 --- /dev/null +++ b/javadoc/jota/dto/response/GetTransferResponse.html @@ -0,0 +1,345 @@ + + + + + + +public class GetTransferResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private Bundle[] |
+transferBundle |
+
| Constructor and Description | +
|---|
GetTransferResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetTransferResponse |
+create(Bundle[] transferBundle,
+ long duration)
+Initializes a new instance of the GetTransferResponse class.
+ |
+
Bundle[] |
+getTransfers()
+Gets the transfer bundle.
+ |
+
equals, getDuration, hashCode, setDuration, toStringpublic static GetTransferResponse create(Bundle[] transferBundle, + long duration)+
public Bundle[] getTransfers()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/GetTrytesResponse.html b/javadoc/jota/dto/response/GetTrytesResponse.html new file mode 100644 index 0000000..b5da025 --- /dev/null +++ b/javadoc/jota/dto/response/GetTrytesResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class GetTrytesResponse +extends AbstractResponse+
IotaGetTrytesRequest| Modifier and Type | +Field and Description | +
|---|---|
private String[] |
+trytes |
+
| Constructor and Description | +
|---|
GetTrytesResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
String[] |
+getTrytes()
+Gets the trytes.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/InterruptAttachingToTangleResponse.html b/javadoc/jota/dto/response/InterruptAttachingToTangleResponse.html new file mode 100644 index 0000000..739405c --- /dev/null +++ b/javadoc/jota/dto/response/InterruptAttachingToTangleResponse.html @@ -0,0 +1,250 @@ + + + + + + +public class InterruptAttachingToTangleResponse +extends AbstractResponse+
IotaCommandRequest| Constructor and Description | +
|---|
InterruptAttachingToTangleResponse() |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/RemoveNeighborsResponse.html b/javadoc/jota/dto/response/RemoveNeighborsResponse.html new file mode 100644 index 0000000..8354134 --- /dev/null +++ b/javadoc/jota/dto/response/RemoveNeighborsResponse.html @@ -0,0 +1,327 @@ + + + + + + +public class RemoveNeighborsResponse +extends AbstractResponse+
IotaNeighborsRequest| Modifier and Type | +Field and Description | +
|---|---|
private int |
+removedNeighbors |
+
| Constructor and Description | +
|---|
RemoveNeighborsResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+getRemovedNeighbors()
+Gets the number of removed neighbors.
+ |
+
equals, getDuration, hashCode, setDuration, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/ReplayBundleResponse.html b/javadoc/jota/dto/response/ReplayBundleResponse.html new file mode 100644 index 0000000..a3f8582 --- /dev/null +++ b/javadoc/jota/dto/response/ReplayBundleResponse.html @@ -0,0 +1,365 @@ + + + + + + +public class ReplayBundleResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private Boolean[] |
+successfully |
+
| Constructor and Description | +
|---|
ReplayBundleResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ReplayBundleResponse |
+create(Boolean[] successfully,
+ long duration)
+Initializes a new instance of the ReplayBundleResponse class.
+ |
+
Boolean[] |
+getSuccessfully()
+Gets the successfully.
+ |
+
void |
+setSuccessfully(Boolean[] successfully)
+Sets the successfully.
+ |
+
equals, getDuration, hashCode, setDuration, toStringpublic static ReplayBundleResponse create(Boolean[] successfully, + long duration)+
public Boolean[] getSuccessfully()+
public void setSuccessfully(Boolean[] successfully)+
successfully - The successfully.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/SendTransferResponse.html b/javadoc/jota/dto/response/SendTransferResponse.html new file mode 100644 index 0000000..14c3317 --- /dev/null +++ b/javadoc/jota/dto/response/SendTransferResponse.html @@ -0,0 +1,365 @@ + + + + + + +public class SendTransferResponse +extends AbstractResponse+
| Modifier and Type | +Field and Description | +
|---|---|
private Boolean[] |
+successfully |
+
| Constructor and Description | +
|---|
SendTransferResponse() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SendTransferResponse |
+create(Boolean[] successfully,
+ long duration)
+Initializes a new instance of the SendTransferResponse class.
+ |
+
Boolean[] |
+getSuccessfully()
+Gets the successfully.
+ |
+
void |
+setSuccessfully(Boolean[] successfully)
+Sets the successfully.
+ |
+
equals, getDuration, hashCode, setDuration, toStringpublic static SendTransferResponse create(Boolean[] successfully, + long duration)+
public Boolean[] getSuccessfully()+
public void setSuccessfully(Boolean[] successfully)+
successfully - The successfully.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/StoreTransactionsResponse.html b/javadoc/jota/dto/response/StoreTransactionsResponse.html new file mode 100644 index 0000000..e980675 --- /dev/null +++ b/javadoc/jota/dto/response/StoreTransactionsResponse.html @@ -0,0 +1,253 @@ + + + + + + +public class StoreTransactionsResponse +extends AbstractResponse+
IotaStoreTransactionsRequest| Constructor and Description | +
|---|
StoreTransactionsResponse(long duration)
+Initializes a new instance of the StoreTransactionsResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/AbstractResponse.html b/javadoc/jota/dto/response/class-use/AbstractResponse.html new file mode 100644 index 0000000..3b19e88 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/AbstractResponse.html @@ -0,0 +1,286 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.dto.response | ++ |
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/AddNeighborsResponse.html b/javadoc/jota/dto/response/class-use/AddNeighborsResponse.html new file mode 100644 index 0000000..79d96cf --- /dev/null +++ b/javadoc/jota/dto/response/class-use/AddNeighborsResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
AddNeighborsResponse |
+IotaAPICore.addNeighbors(String... uris) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<AddNeighborsResponse> |
+IotaAPIService.addNeighbors(IotaNeighborsRequest request)
+Add a list of neighbors to your node.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/AnalyzeTransactionResponse.html b/javadoc/jota/dto/response/class-use/AnalyzeTransactionResponse.html new file mode 100644 index 0000000..1acb1bc --- /dev/null +++ b/javadoc/jota/dto/response/class-use/AnalyzeTransactionResponse.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/BroadcastTransactionsResponse.html b/javadoc/jota/dto/response/class-use/BroadcastTransactionsResponse.html new file mode 100644 index 0000000..375ab73 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/BroadcastTransactionsResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
BroadcastTransactionsResponse |
+IotaAPICore.broadcastTransactions(String... trytes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<BroadcastTransactionsResponse> |
+IotaAPIService.broadcastTransactions(IotaBroadcastTransactionRequest request)
+Broadcast a list of transactions to all neighbors.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/FindTransactionResponse.html b/javadoc/jota/dto/response/class-use/FindTransactionResponse.html new file mode 100644 index 0000000..b12b199 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/FindTransactionResponse.html @@ -0,0 +1,198 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
FindTransactionResponse |
+IotaAPICore.findTransactions(String[] addresses,
+ String[] tags,
+ String[] approvees,
+ String[] bundles) |
+
FindTransactionResponse |
+IotaAPICore.findTransactionsByAddresses(String... addresses) |
+
FindTransactionResponse |
+IotaAPICore.findTransactionsByApprovees(String... approvees) |
+
FindTransactionResponse |
+IotaAPICore.findTransactionsByBundles(String... bundles) |
+
FindTransactionResponse |
+IotaAPICore.findTransactionsByDigests(String... digests) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<FindTransactionResponse> |
+IotaAPIService.findTransactions(IotaFindTransactionsRequest request)
+Find the transactions which match the specified input and return
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetAttachToTangleResponse.html b/javadoc/jota/dto/response/class-use/GetAttachToTangleResponse.html new file mode 100644 index 0000000..72cf668 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetAttachToTangleResponse.html @@ -0,0 +1,182 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetAttachToTangleResponse |
+IotaAPICore.attachToTangle(String trunkTransaction,
+ String branchTransaction,
+ Integer minWeightMagnitude,
+ String... trytes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetAttachToTangleResponse> |
+IotaAPIService.attachToTangle(IotaAttachToTangleRequest request)
+Attaches the specified transactions (trytes) to the Tangle by doing Proof of Work.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetBalancesAndFormatResponse.html b/javadoc/jota/dto/response/class-use/GetBalancesAndFormatResponse.html new file mode 100644 index 0000000..f78747c --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetBalancesAndFormatResponse.html @@ -0,0 +1,207 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetBalancesAndFormatResponse |
+IotaAPI.getBalanceAndFormat(List<String> addresses,
+ long threshold,
+ int start,
+ int end,
+ StopWatch stopWatch,
+ int security)
+Gets the balances and formats the output.
+ |
+
GetBalancesAndFormatResponse |
+IotaAPI.getInputs(String seed,
+ int security,
+ int start,
+ int end,
+ long threshold)
+Gets the inputs of a seed
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBalancesAndFormatResponse |
+GetBalancesAndFormatResponse.create(List<Input> inputs,
+ long totalBalance2,
+ long duration)
+Initializes a new instance of the GetBalancesAndFormatResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetBalancesResponse.html b/javadoc/jota/dto/response/class-use/GetBalancesResponse.html new file mode 100644 index 0000000..9b3196c --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetBalancesResponse.html @@ -0,0 +1,185 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetBalancesResponse |
+IotaAPICore.getBalances(Integer threshold,
+ List<String> addresses) |
+
GetBalancesResponse |
+IotaAPICore.getBalances(Integer threshold,
+ String[] addresses) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetBalancesResponse> |
+IotaAPIService.getBalances(IotaGetBalancesRequest request)
+It returns the confirmed balance which a list of addresses have at the latest confirmed milestone.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetBundleResponse.html b/javadoc/jota/dto/response/class-use/GetBundleResponse.html new file mode 100644 index 0000000..f6a7b44 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetBundleResponse.html @@ -0,0 +1,191 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetBundleResponse |
+IotaAPI.getBundle(String transaction)
+Gets the associated bundle transactions of a single transaction.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBundleResponse |
+GetBundleResponse.create(List<Transaction> transactions,
+ long duration)
+Initializes a new instance of the GetBundleResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetInclusionStateResponse.html b/javadoc/jota/dto/response/class-use/GetInclusionStateResponse.html new file mode 100644 index 0000000..905d469 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetInclusionStateResponse.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetInclusionStateResponse |
+IotaAPICore.getInclusionStates(String[] transactions,
+ String[] tips) |
+
GetInclusionStateResponse |
+IotaAPI.getLatestInclusion(String[] hashes)
+Wrapper function for getNodeInfo and getInclusionStates
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetInclusionStateResponse> |
+IotaAPIService.getInclusionStates(IotaGetInclusionStateRequest request)
+Get the inclusion states of a set of transactions.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetNeighborsResponse.html b/javadoc/jota/dto/response/class-use/GetNeighborsResponse.html new file mode 100644 index 0000000..efde10f --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetNeighborsResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetNeighborsResponse |
+IotaAPICore.getNeighbors() |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetNeighborsResponse> |
+IotaAPIService.getNeighbors(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetNewAddressResponse.html b/javadoc/jota/dto/response/class-use/GetNewAddressResponse.html new file mode 100644 index 0000000..62d8b42 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetNewAddressResponse.html @@ -0,0 +1,196 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetNewAddressResponse |
+IotaAPI.getNewAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ int total,
+ boolean returnAll)
+Generates a new address from a seed and returns the remainderAddress.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetNewAddressResponse |
+GetNewAddressResponse.create(List<String> addresses,
+ long duration)
+Initializes a new instance of the GetNewAddressResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetNodeInfoResponse.html b/javadoc/jota/dto/response/class-use/GetNodeInfoResponse.html new file mode 100644 index 0000000..3f8e3be --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetNodeInfoResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetNodeInfoResponse |
+IotaAPICore.getNodeInfo() |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetNodeInfoResponse> |
+IotaAPIService.getNodeInfo(IotaCommandRequest request)
+Returns information about your node.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetTipsResponse.html b/javadoc/jota/dto/response/class-use/GetTipsResponse.html new file mode 100644 index 0000000..b41a9d7 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetTipsResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetTipsResponse |
+IotaAPICore.getTips() |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetTipsResponse> |
+IotaAPIService.getTips(IotaCommandRequest request)
+Get the list of latest tips (unconfirmed transactions).
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetTransactionsToApproveResponse.html b/javadoc/jota/dto/response/class-use/GetTransactionsToApproveResponse.html new file mode 100644 index 0000000..d671e3e --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetTransactionsToApproveResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetTransactionsToApproveResponse |
+IotaAPICore.getTransactionsToApprove(Integer depth) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetTransactionsToApproveResponse> |
+IotaAPIService.getTransactionsToApprove(IotaGetTransactionsToApproveRequest request)
+Tip selection which returns trunkTransaction and branchTransaction.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetTransferResponse.html b/javadoc/jota/dto/response/class-use/GetTransferResponse.html new file mode 100644 index 0000000..208da7d --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetTransferResponse.html @@ -0,0 +1,193 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetTransferResponse |
+GetTransferResponse.create(Bundle[] transferBundle,
+ long duration)
+Initializes a new instance of the GetTransferResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/GetTrytesResponse.html b/javadoc/jota/dto/response/class-use/GetTrytesResponse.html new file mode 100644 index 0000000..23fbf83 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/GetTrytesResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetTrytesResponse |
+IotaAPICore.getTrytes(String... hashes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<GetTrytesResponse> |
+IotaAPIService.getTrytes(IotaGetTrytesRequest request)
+Returns the raw trytes data of a transaction.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/InterruptAttachingToTangleResponse.html b/javadoc/jota/dto/response/class-use/InterruptAttachingToTangleResponse.html new file mode 100644 index 0000000..9a39447 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/InterruptAttachingToTangleResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
InterruptAttachingToTangleResponse |
+IotaAPICore.interruptAttachingToTangle() |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<InterruptAttachingToTangleResponse> |
+IotaAPIService.interruptAttachingToTangle(IotaCommandRequest request)
+Interrupts and completely aborts the attachToTangle process.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/RemoveNeighborsResponse.html b/javadoc/jota/dto/response/class-use/RemoveNeighborsResponse.html new file mode 100644 index 0000000..bf5727b --- /dev/null +++ b/javadoc/jota/dto/response/class-use/RemoveNeighborsResponse.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
RemoveNeighborsResponse |
+IotaAPICore.removeNeighbors(String... uris) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<RemoveNeighborsResponse> |
+IotaAPIService.removeNeighbors(IotaNeighborsRequest request)
+Removes a list of neighbors to your node.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/ReplayBundleResponse.html b/javadoc/jota/dto/response/class-use/ReplayBundleResponse.html new file mode 100644 index 0000000..189df54 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/ReplayBundleResponse.html @@ -0,0 +1,193 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
ReplayBundleResponse |
+IotaAPI.replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static ReplayBundleResponse |
+ReplayBundleResponse.create(Boolean[] successfully,
+ long duration)
+Initializes a new instance of the ReplayBundleResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/SendTransferResponse.html b/javadoc/jota/dto/response/class-use/SendTransferResponse.html new file mode 100644 index 0000000..7c3abb5 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/SendTransferResponse.html @@ -0,0 +1,197 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static SendTransferResponse |
+SendTransferResponse.create(Boolean[] successfully,
+ long duration)
+Initializes a new instance of the SendTransferResponse class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/class-use/StoreTransactionsResponse.html b/javadoc/jota/dto/response/class-use/StoreTransactionsResponse.html new file mode 100644 index 0000000..77eac62 --- /dev/null +++ b/javadoc/jota/dto/response/class-use/StoreTransactionsResponse.html @@ -0,0 +1,185 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
StoreTransactionsResponse |
+IotaAPI.broadcastAndStore(String... trytes)
+Wrapper function that broadcasts and stores the specified trytes.
+ |
+
StoreTransactionsResponse |
+IotaAPICore.storeTransactions(String... trytes) |
+
| Modifier and Type | +Method and Description | +
|---|---|
retrofit2.Call<StoreTransactionsResponse> |
+IotaAPIService.storeTransactions(IotaStoreTransactionsRequest request)
+Store transactions into the local storage.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/package-frame.html b/javadoc/jota/dto/response/package-frame.html new file mode 100644 index 0000000..1f4aec6 --- /dev/null +++ b/javadoc/jota/dto/response/package-frame.html @@ -0,0 +1,42 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/package-tree.html b/javadoc/jota/dto/response/package-tree.html new file mode 100644 index 0000000..f7c0b38 --- /dev/null +++ b/javadoc/jota/dto/response/package-tree.html @@ -0,0 +1,161 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/dto/response/package-use.html b/javadoc/jota/dto/response/package-use.html new file mode 100644 index 0000000..ed3442b --- /dev/null +++ b/javadoc/jota/dto/response/package-use.html @@ -0,0 +1,305 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| Class and Description | +
|---|
| AbstractResponse
+ Abstract response.
+ |
+
| GetBalancesAndFormatResponse
+ Response of api request 'getBalancesAndFormatResponse'
+ |
+
| GetBundleResponse
+ Response of api request 'getBundle
+ |
+
| GetNewAddressResponse
+ Response of api request 'getNewAddress'
+ |
+
| GetTransferResponse
+ Response of api request 'getTransfer'
+ |
+
| ReplayBundleResponse
+ Response of api request 'replayBundle'
+ |
+
| SendTransferResponse
+ Response of api request 'sendTransfer'
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/ArgumentException.html b/javadoc/jota/error/ArgumentException.html new file mode 100644 index 0000000..0d514ca --- /dev/null +++ b/javadoc/jota/error/ArgumentException.html @@ -0,0 +1,345 @@ + + + + + + +public class ArgumentException +extends BaseException+
| Modifier and Type | +Field and Description | +
|---|---|
private static long |
+serialVersionUID
+Serial version UID
+ |
+
messages| Constructor and Description | +
|---|
ArgumentException()
+Initializes a new instance of the ArgumentException.
+ |
+
ArgumentException(String msg)
+Initializes a new instance of the ArgumentException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/BaseException.html b/javadoc/jota/error/BaseException.html new file mode 100644 index 0000000..a511d81 --- /dev/null +++ b/javadoc/jota/error/BaseException.html @@ -0,0 +1,402 @@ + + + + + + +public class BaseException +extends Exception+
| Modifier and Type | +Field and Description | +
|---|---|
protected Collection<String> |
+messages |
+
private static long |
+serialVersionUID
+Serial version UID
+ |
+
| Constructor and Description | +
|---|
BaseException(Collection<String> messages) |
+
BaseException(Collection<String> messages,
+ Exception cause) |
+
BaseException(String msg) |
+
BaseException(String msg,
+ Exception cause) |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getMessage() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID+
protected Collection<String> messages+
public BaseException(String msg)+
public BaseException(Collection<String> messages)+
public BaseException(Collection<String> messages, + Exception cause)+
public String getMessage()+
getMessage in class ThrowableCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/BroadcastAndStoreException.html b/javadoc/jota/error/BroadcastAndStoreException.html new file mode 100644 index 0000000..6e4f199 --- /dev/null +++ b/javadoc/jota/error/BroadcastAndStoreException.html @@ -0,0 +1,295 @@ + + + + + + +public class BroadcastAndStoreException +extends BaseException+
messages| Constructor and Description | +
|---|
BroadcastAndStoreException()
+Initializes a new instance of the BroadcastAndStoreException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidAddressException.html b/javadoc/jota/error/InvalidAddressException.html new file mode 100644 index 0000000..9584b52 --- /dev/null +++ b/javadoc/jota/error/InvalidAddressException.html @@ -0,0 +1,295 @@ + + + + + + +public class InvalidAddressException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidAddressException()
+Initializes a new instance of the InvalidAddressException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidBundleException.html b/javadoc/jota/error/InvalidBundleException.html new file mode 100644 index 0000000..b057eea --- /dev/null +++ b/javadoc/jota/error/InvalidBundleException.html @@ -0,0 +1,310 @@ + + + + + + +public class InvalidBundleException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidBundleException()
+Initializes a new instance of the InvalidBundleException.
+ |
+
InvalidBundleException(String msg)
+Initializes a new instance of the InvalidBundleException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidSecurityLevelException.html b/javadoc/jota/error/InvalidSecurityLevelException.html new file mode 100644 index 0000000..86b7962 --- /dev/null +++ b/javadoc/jota/error/InvalidSecurityLevelException.html @@ -0,0 +1,295 @@ + + + + + + +public class InvalidSecurityLevelException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidSecurityLevelException()
+Initializes a new instance of the InvalidSecurityLevelException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidSignatureException.html b/javadoc/jota/error/InvalidSignatureException.html new file mode 100644 index 0000000..312a61c --- /dev/null +++ b/javadoc/jota/error/InvalidSignatureException.html @@ -0,0 +1,295 @@ + + + + + + +public class InvalidSignatureException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidSignatureException()
+Initializes a new instance of the InvalidSignatureException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidTransferException.html b/javadoc/jota/error/InvalidTransferException.html new file mode 100644 index 0000000..a3c995a --- /dev/null +++ b/javadoc/jota/error/InvalidTransferException.html @@ -0,0 +1,295 @@ + + + + + + +public class InvalidTransferException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidTransferException()
+Initializes a new instance of the InvalidTransferException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/InvalidTrytesException.html b/javadoc/jota/error/InvalidTrytesException.html new file mode 100644 index 0000000..d2e3f82 --- /dev/null +++ b/javadoc/jota/error/InvalidTrytesException.html @@ -0,0 +1,295 @@ + + + + + + +public class InvalidTrytesException +extends BaseException+
messages| Constructor and Description | +
|---|
InvalidTrytesException()
+Initializes a new instance of the InvalidTrytesException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/NoInclusionStatesException.html b/javadoc/jota/error/NoInclusionStatesException.html new file mode 100644 index 0000000..793f5bb --- /dev/null +++ b/javadoc/jota/error/NoInclusionStatesException.html @@ -0,0 +1,295 @@ + + + + + + +public class NoInclusionStatesException +extends BaseException+
messages| Constructor and Description | +
|---|
NoInclusionStatesException()
+Initializes a new instance of the NoInclusionStatesException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/NoNodeInfoException.html b/javadoc/jota/error/NoNodeInfoException.html new file mode 100644 index 0000000..dc57631 --- /dev/null +++ b/javadoc/jota/error/NoNodeInfoException.html @@ -0,0 +1,295 @@ + + + + + + +public class NoNodeInfoException +extends BaseException+
messages| Constructor and Description | +
|---|
NoNodeInfoException()
+Initializes a new instance of the NoNodeInfoException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/NotEnoughBalanceException.html b/javadoc/jota/error/NotEnoughBalanceException.html new file mode 100644 index 0000000..8044840 --- /dev/null +++ b/javadoc/jota/error/NotEnoughBalanceException.html @@ -0,0 +1,330 @@ + + + + + + +public class NotEnoughBalanceException +extends BaseException+
| Modifier and Type | +Field and Description | +
|---|---|
private static long |
+serialVersionUID
+Serial version UID
+ |
+
messages| Constructor and Description | +
|---|
NotEnoughBalanceException()
+Initializes a new instance of the NotEnoughBalanceException.
+ |
+
getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/ArgumentException.html b/javadoc/jota/error/class-use/ArgumentException.html new file mode 100644 index 0000000..8947a02 --- /dev/null +++ b/javadoc/jota/error/class-use/ArgumentException.html @@ -0,0 +1,202 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
String |
+IotaAPI.findTailTransactionHash(String hash) |
+
GetBundleResponse |
+IotaAPI.getBundle(String transaction)
+Gets the associated bundle transactions of a single transaction.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
ReplayBundleResponse |
+IotaAPI.replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
Bundle |
+IotaAPI.traverseBundle(String trunkTx,
+ String bundleHash,
+ Bundle bundle)
+Basically traverse the Bundle by going down the trunkTransactions until
+ the bundle hash of the transaction is no longer the same.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/BaseException.html b/javadoc/jota/error/class-use/BaseException.html new file mode 100644 index 0000000..7d637b9 --- /dev/null +++ b/javadoc/jota/error/class-use/BaseException.html @@ -0,0 +1,226 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.error | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+ArgumentException
+This exception occurs when an invalid argument is provided.
+ |
+
class |
+BroadcastAndStoreException
+This exceptions occurs if its not possible to broadcast and store.
+ |
+
class |
+InvalidAddressException
+This exception occurs when an invalid address is provided.
+ |
+
class |
+InvalidBundleException
+This exceptions occurs if an invalid bundle was found or provided.
+ |
+
class |
+InvalidSecurityLevelException
+This exception occurs when an invalid security level is provided.
+ |
+
class |
+InvalidSignatureException
+This exception occurs when an invalid signature is encountered.
+ |
+
class |
+InvalidTransferException
+This exception occurs when an invalid transfer is provided.
+ |
+
class |
+InvalidTrytesException
+This exception occurs when invalid trytes is provided.
+ |
+
class |
+NoInclusionStatesException
+This exception occurs when it not possible to get a inclusion state.
+ |
+
class |
+NoNodeInfoException
+This exception occurs when its not possible to get node info.
+ |
+
class |
+NotEnoughBalanceException
+This exception occurs when a transfer fails because their is not enough balance to perform the transfer.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/BroadcastAndStoreException.html b/javadoc/jota/error/class-use/BroadcastAndStoreException.html new file mode 100644 index 0000000..406b356 --- /dev/null +++ b/javadoc/jota/error/class-use/BroadcastAndStoreException.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
StoreTransactionsResponse |
+IotaAPI.broadcastAndStore(String... trytes)
+Wrapper function that broadcasts and stores the specified trytes.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidAddressException.html b/javadoc/jota/error/class-use/InvalidAddressException.html new file mode 100644 index 0000000..5bffa47 --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidAddressException.html @@ -0,0 +1,296 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+IotaAPI.addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
GetBalancesAndFormatResponse |
+IotaAPI.getInputs(String seed,
+ int security,
+ int start,
+ int end,
+ long threshold)
+Gets the inputs of a seed
+ |
+
GetNewAddressResponse |
+IotaAPI.getNewAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ int total,
+ boolean returnAll)
+Generates a new address from a seed and returns the remainderAddress.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
List<Transaction> |
+IotaAPI.initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+Checksum.addChecksum(String address)
+Adds the checksum to the specified address.
+ |
+
static boolean |
+InputValidator.checkAddress(String address)
+Checks whether the specified address is an address and throws and exception if the address is invalid.
+ |
+
static boolean |
+Checksum.isAddressWithChecksum(String address)
+Check if specified address is a address with checksum.
+ |
+
static boolean |
+Checksum.isAddressWithoutChecksum(String address)
+check if specified address is a address
+ |
+
static boolean |
+Checksum.isValidChecksum(String addressWithChecksum)
+Determines whether the specified address with checksum has a valid checksum.
+ |
+
static String |
+IotaAPIUtils.newAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ ICurl curl)
+Generates a new address
+ |
+
static String |
+Checksum.removeChecksum(String address)
+Remove the checksum to the specified address.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidBundleException.html b/javadoc/jota/error/class-use/InvalidBundleException.html new file mode 100644 index 0000000..23c8dd4 --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidBundleException.html @@ -0,0 +1,199 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
GetBundleResponse |
+IotaAPI.getBundle(String transaction)
+Gets the associated bundle transactions of a single transaction.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
List<Transaction> |
+IotaAPI.initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
ReplayBundleResponse |
+IotaAPI.replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidSecurityLevelException.html b/javadoc/jota/error/class-use/InvalidSecurityLevelException.html new file mode 100644 index 0000000..e053651 --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidSecurityLevelException.html @@ -0,0 +1,233 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+IotaAPI.addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
GetBalancesAndFormatResponse |
+IotaAPI.getBalanceAndFormat(List<String> addresses,
+ long threshold,
+ int start,
+ int end,
+ StopWatch stopWatch,
+ int security)
+Gets the balances and formats the output.
+ |
+
GetBalancesAndFormatResponse |
+IotaAPI.getInputs(String seed,
+ int security,
+ int start,
+ int end,
+ long threshold)
+Gets the inputs of a seed
+ |
+
GetNewAddressResponse |
+IotaAPI.getNewAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ int total,
+ boolean returnAll)
+Generates a new address from a seed and returns the remainderAddress.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidSignatureException.html b/javadoc/jota/error/class-use/InvalidSignatureException.html new file mode 100644 index 0000000..79b1ffd --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidSignatureException.html @@ -0,0 +1,189 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
GetBundleResponse |
+IotaAPI.getBundle(String transaction)
+Gets the associated bundle transactions of a single transaction.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
ReplayBundleResponse |
+IotaAPI.replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidTransferException.html b/javadoc/jota/error/class-use/InvalidTransferException.html new file mode 100644 index 0000000..58b7019 --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidTransferException.html @@ -0,0 +1,192 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+IotaAPI.initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/InvalidTrytesException.html b/javadoc/jota/error/class-use/InvalidTrytesException.html new file mode 100644 index 0000000..92dc82e --- /dev/null +++ b/javadoc/jota/error/class-use/InvalidTrytesException.html @@ -0,0 +1,195 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetAttachToTangleResponse |
+IotaAPICore.attachToTangle(String trunkTransaction,
+ String branchTransaction,
+ Integer minWeightMagnitude,
+ String... trytes) |
+
ReplayBundleResponse |
+IotaAPI.replayBundle(String transaction,
+ int depth,
+ int minWeightMagnitude)
+Replays a transfer by doing Proof of Work again.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
List<Transaction> |
+IotaAPI.sendTrytes(String[] trytes,
+ int depth,
+ int minWeightMagnitude)
+Facade method: Gets transactions to approve, attaches to Tangle, broadcasts and stores.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/NoInclusionStatesException.html b/javadoc/jota/error/class-use/NoInclusionStatesException.html new file mode 100644 index 0000000..415da70 --- /dev/null +++ b/javadoc/jota/error/class-use/NoInclusionStatesException.html @@ -0,0 +1,175 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/NoNodeInfoException.html b/javadoc/jota/error/class-use/NoNodeInfoException.html new file mode 100644 index 0000000..7d4be41 --- /dev/null +++ b/javadoc/jota/error/class-use/NoNodeInfoException.html @@ -0,0 +1,181 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
GetInclusionStateResponse |
+IotaAPI.getLatestInclusion(String[] hashes)
+Wrapper function for getNodeInfo and getInclusionStates
+ |
+
GetTransferResponse |
+IotaAPI.getTransfers(String seed,
+ int security,
+ Integer start,
+ Integer end,
+ Boolean inclusionStates) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/class-use/NotEnoughBalanceException.html b/javadoc/jota/error/class-use/NotEnoughBalanceException.html new file mode 100644 index 0000000..1bd5c72 --- /dev/null +++ b/javadoc/jota/error/class-use/NotEnoughBalanceException.html @@ -0,0 +1,193 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+IotaAPI.addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/package-frame.html b/javadoc/jota/error/package-frame.html new file mode 100644 index 0000000..f048007 --- /dev/null +++ b/javadoc/jota/error/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +| Exception | +Description | +
|---|---|
| ArgumentException | +
+ This exception occurs when an invalid argument is provided.
+ |
+
| BaseException | ++ |
| BroadcastAndStoreException | +
+ This exceptions occurs if its not possible to broadcast and store.
+ |
+
| InvalidAddressException | +
+ This exception occurs when an invalid address is provided.
+ |
+
| InvalidBundleException | +
+ This exceptions occurs if an invalid bundle was found or provided.
+ |
+
| InvalidSecurityLevelException | +
+ This exception occurs when an invalid security level is provided.
+ |
+
| InvalidSignatureException | +
+ This exception occurs when an invalid signature is encountered.
+ |
+
| InvalidTransferException | +
+ This exception occurs when an invalid transfer is provided.
+ |
+
| InvalidTrytesException | +
+ This exception occurs when invalid trytes is provided.
+ |
+
| NoInclusionStatesException | +
+ This exception occurs when it not possible to get a inclusion state.
+ |
+
| NoNodeInfoException | +
+ This exception occurs when its not possible to get node info.
+ |
+
| NotEnoughBalanceException | +
+ This exception occurs when a transfer fails because their is not enough balance to perform the transfer.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/package-tree.html b/javadoc/jota/error/package-tree.html new file mode 100644 index 0000000..9299f7d --- /dev/null +++ b/javadoc/jota/error/package-tree.html @@ -0,0 +1,159 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/error/package-use.html b/javadoc/jota/error/package-use.html new file mode 100644 index 0000000..d046124 --- /dev/null +++ b/javadoc/jota/error/package-use.html @@ -0,0 +1,249 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.error | ++ |
| jota.utils | ++ |
| Class and Description | +
|---|
| ArgumentException
+ This exception occurs when an invalid argument is provided.
+ |
+
| BroadcastAndStoreException
+ This exceptions occurs if its not possible to broadcast and store.
+ |
+
| InvalidAddressException
+ This exception occurs when an invalid address is provided.
+ |
+
| InvalidBundleException
+ This exceptions occurs if an invalid bundle was found or provided.
+ |
+
| InvalidSecurityLevelException
+ This exception occurs when an invalid security level is provided.
+ |
+
| InvalidSignatureException
+ This exception occurs when an invalid signature is encountered.
+ |
+
| InvalidTransferException
+ This exception occurs when an invalid transfer is provided.
+ |
+
| InvalidTrytesException
+ This exception occurs when invalid trytes is provided.
+ |
+
| NoInclusionStatesException
+ This exception occurs when it not possible to get a inclusion state.
+ |
+
| NoNodeInfoException
+ This exception occurs when its not possible to get node info.
+ |
+
| NotEnoughBalanceException
+ This exception occurs when a transfer fails because their is not enough balance to perform the transfer.
+ |
+
| Class and Description | +
|---|
| BaseException | +
| Class and Description | +
|---|
| InvalidAddressException
+ This exception occurs when an invalid address is provided.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Bundle.html b/javadoc/jota/model/Bundle.html new file mode 100644 index 0000000..8462cfd --- /dev/null +++ b/javadoc/jota/model/Bundle.html @@ -0,0 +1,528 @@ + + + + + + +public class Bundle +extends Object +implements Comparable<Bundle>+
| Modifier and Type | +Field and Description | +
|---|---|
static String |
+EMPTY_HASH |
+
private int |
+length |
+
private List<Transaction> |
+transactions |
+
| Constructor and Description | +
|---|
Bundle()
+Initializes a new instance of the Bundle class without transactions.
+ |
+
Bundle(List<Transaction> transactions,
+ int length)
+Initializes a new instance of the Bundle class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addEntry(int signatureMessageLength,
+ String address,
+ long value,
+ String tag,
+ long timestamp)
+Adds a bundle entry.
+ |
+
void |
+addTrytes(List<String> signatureFragments)
+Adds the trytes.
+ |
+
int |
+compareTo(Bundle o)
+Compares the current object with another object of the same type.
+ |
+
void |
+finalize(ICurl customCurl)
+Finalizes the bundle using the specified curl implementation,
+ |
+
int |
+getLength()
+Gets the length of the bundle
+ |
+
List<Transaction> |
+getTransactions()
+Gets the transactions
+ |
+
int[] |
+normalizedBundle(String bundleHash)
+Normalized the bundle.
+ |
+
void |
+setLength(int length)
+Sets the length of the bundle
+ |
+
public static String EMPTY_HASH+
private List<Transaction> transactions+
private int length+
public Bundle()+
public Bundle(List<Transaction> transactions, + int length)+
public List<Transaction> getTransactions()+
public int getLength()+
public void setLength(int length)+
length - The length.public void addEntry(int signatureMessageLength, + String address, + long value, + String tag, + long timestamp)+
signatureMessageLength - Length of the signature message.address - The address.value - The value.tag - The tag.timestamp - The timestamp.public void finalize(ICurl customCurl)+
customCurl - The custom curl.public void addTrytes(List<String> signatureFragments)+
signatureFragments - The signature fragments.public int[] normalizedBundle(String bundleHash)+
bundleHash - The bundle hash.public int compareTo(Bundle o)+
compareTo in interface Comparable<Bundle>o - An object to compare with this object.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Input.html b/javadoc/jota/model/Input.html new file mode 100644 index 0000000..05982e2 --- /dev/null +++ b/javadoc/jota/model/Input.html @@ -0,0 +1,529 @@ + + + + + + +public class Input +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+address |
+
private long |
+balance |
+
private int |
+keyIndex |
+
private int |
+security |
+
| Constructor and Description | +
|---|
Input(String address,
+ long balance,
+ int keyIndex,
+ int security)
+Initializes a new instance of the Input class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getAddress()
+Get the address.
+ |
+
long |
+getBalance()
+Get the balance.
+ |
+
int |
+getKeyIndex()
+Get the keyIndex.
+ |
+
int |
+getSecurity()
+Get the security.
+ |
+
void |
+setAddress(String address)
+Get the address.
+ |
+
void |
+setBalance(long balance)
+Get the balance.
+ |
+
void |
+setKeyIndex(int keyIndex)
+Get the keyIndex.
+ |
+
void |
+setSecurity(int security)
+Get the security.
+ |
+
String |
+toString()
+Returns a String that represents this object.
+ |
+
private String address+
private long balance+
private int keyIndex+
private int security+
public Input(String address, + long balance, + int keyIndex, + int security)+
public String toString()+
public String getAddress()+
public void setAddress(String address)+
address - The address.public long getBalance()+
public void setBalance(long balance)+
balance - The balance.public int getKeyIndex()+
public void setKeyIndex(int keyIndex)+
keyIndex - The keyIndex.public int getSecurity()+
public void setSecurity(int security)+
security - The security.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Inputs.html b/javadoc/jota/model/Inputs.html new file mode 100644 index 0000000..c2cb4d4 --- /dev/null +++ b/javadoc/jota/model/Inputs.html @@ -0,0 +1,419 @@ + + + + + + +public class Inputs +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Input> |
+inputsList |
+
private long |
+totalBalance |
+
| Constructor and Description | +
|---|
Inputs(List<Input> inputsList,
+ long totalBalance)
+Initializes a new instance of the Input class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Input> |
+getInputsList()
+Get the input list.
+ |
+
long |
+getTotalBalance()
+Get the total balance.
+ |
+
void |
+setInputsList(List<Input> inputsList)
+Set the input list.
+ |
+
void |
+setTotalBalance(long totalBalance)
+Set the total balance.
+ |
+
String |
+toString()
+Returns a Json Object that represents this object.
+ |
+
public String toString()+
public List<Input> getInputsList()+
public void setInputsList(List<Input> inputsList)+
inputsList - The input list.public long getTotalBalance()+
public void setTotalBalance(long totalBalance)+
totalBalance - The total balance.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Neighbor.html b/javadoc/jota/model/Neighbor.html new file mode 100644 index 0000000..e67c0e5 --- /dev/null +++ b/javadoc/jota/model/Neighbor.html @@ -0,0 +1,427 @@ + + + + + + +public class Neighbor +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+address |
+
private Integer |
+numberOfAllTransactions |
+
private Integer |
+numberOfInvalidTransactions |
+
private Integer |
+numberOfNewTransactions |
+
| Constructor and Description | +
|---|
Neighbor(String address,
+ Integer numberOfAllTransactions,
+ Integer numberOfInvalidTransactions,
+ Integer numberOfNewTransactions)
+Initializes a new instance of the Neighbor class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getAddress()
+Get the address.
+ |
+
Integer |
+getNumberOfAllTransactions()
+Get the number of all transactions.
+ |
+
Integer |
+getNumberOfInvalidTransactions()
+Get the number of invalid transactions.
+ |
+
Integer |
+getNumberOfNewTransactions()
+Get the number of nwe transactions.
+ |
+
private String address+
private Integer numberOfAllTransactions+
private Integer numberOfInvalidTransactions+
private Integer numberOfNewTransactions+
public String getAddress()+
public Integer getNumberOfAllTransactions()+
public Integer getNumberOfInvalidTransactions()+
public Integer getNumberOfNewTransactions()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Signature.html b/javadoc/jota/model/Signature.html new file mode 100644 index 0000000..513d0bd --- /dev/null +++ b/javadoc/jota/model/Signature.html @@ -0,0 +1,395 @@ + + + + + + +public class Signature +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+address |
+
private List<String> |
+signatureFragments |
+
| Constructor and Description | +
|---|
Signature()
+Initializes a new instance of the Signature class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getAddress()
+Get the address.
+ |
+
List<String> |
+getSignatureFragments()
+Get the signatureFragments.
+ |
+
void |
+setAddress(String address)
+Set the address.
+ |
+
void |
+setSignatureFragments(List<String> signatureFragments)
+Set the signatureFragments.
+ |
+
public Signature()+
public String getAddress()+
public void setAddress(String address)+
address - The address.public List<String> getSignatureFragments()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Transaction.html b/javadoc/jota/model/Transaction.html new file mode 100644 index 0000000..a3e2b57 --- /dev/null +++ b/javadoc/jota/model/Transaction.html @@ -0,0 +1,1180 @@ + + + + + + +public class Transaction +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+address |
+
private String |
+branchTransaction |
+
private String |
+bundle |
+
private long |
+currentIndex |
+
private ICurl |
+customCurl |
+
private String |
+hash |
+
private long |
+lastIndex |
+
private static org.slf4j.Logger |
+log |
+
private String |
+nonce |
+
private Boolean |
+persistence |
+
private String |
+signatureFragments |
+
private String |
+tag |
+
private long |
+timestamp |
+
private String |
+trunkTransaction |
+
private long |
+value |
+
| Constructor and Description | +
|---|
Transaction()
+Initializes a new instance of the Signature class.
+ |
+
Transaction(ICurl curl)
+Initializes a new instance of the Signature class.
+ |
+
Transaction(String trytes)
+Initializes a new instance of the Signature class.
+ |
+
Transaction(String trytes,
+ ICurl customCurl)
+Initializes a new instance of the Signature class.
+ |
+
Transaction(String signatureFragments,
+ long currentIndex,
+ long lastIndex,
+ String nonce,
+ String hash,
+ String tag,
+ long timestamp,
+ String trunkTransaction,
+ String branchTransaction,
+ String address,
+ long value,
+ String bundle)
+Initializes a new instance of the Signature class.
+ |
+
Transaction(String address,
+ long value,
+ String tag,
+ long timestamp)
+Initializes a new instance of the Signature class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+equals(Object obj) |
+
String |
+getAddress()
+Get the address.
+ |
+
String |
+getBranchTransaction()
+Get the branch transaction.
+ |
+
String |
+getBundle()
+Get the bundle.
+ |
+
long |
+getCurrentIndex()
+Get the current index.
+ |
+
String |
+getHash()
+Get the hash.
+ |
+
long |
+getLastIndex()
+Get the last index.
+ |
+
String |
+getNonce()
+Get the nonce.
+ |
+
Boolean |
+getPersistence()
+Get the persistence.
+ |
+
String |
+getSignatureFragments()
+Get the signature fragments.
+ |
+
String |
+getTag()
+Get the tag.
+ |
+
long |
+getTimestamp()
+Get the timestamp.
+ |
+
String |
+getTrunkTransaction()
+Get the trunk transaction.
+ |
+
long |
+getValue()
+Get the value.
+ |
+
void |
+setAddress(String address)
+Set the address.
+ |
+
void |
+setBranchTransaction(String branchTransaction)
+Set the branch transaction.
+ |
+
void |
+setBundle(String bundle)
+Set the bundle.
+ |
+
void |
+setCurrentIndex(long currentIndex)
+Set the current index.
+ |
+
void |
+setHash(String hash)
+Set the hash.
+ |
+
void |
+setLastIndex(long lastIndex)
+Set the last index.
+ |
+
void |
+setNonce(String nonce)
+Set the nonce.
+ |
+
void |
+setPersistence(Boolean persistence)
+Set the persistence.
+ |
+
void |
+setSignatureFragments(String signatureFragments)
+Set the signature fragments.
+ |
+
void |
+setTag(String tag)
+Set the tag.
+ |
+
void |
+setTimestamp(long timestamp)
+Set the timestamp.
+ |
+
void |
+setTrunkTransaction(String trunkTransaction)
+Set the trunk transaction.
+ |
+
void |
+setValue(long value)
+Set the value.
+ |
+
String |
+toString()
+Returns a String that represents this object.
+ |
+
String |
+toTrytes()
+Converts the transaction to the corresponding trytes representation
+ |
+
void |
+transactionObject(String trytes)
+Initializes a new instance of the Signature class.
+ |
+
private static final org.slf4j.Logger log+
private ICurl customCurl+
private String hash+
private String signatureFragments+
private String address+
private long value+
private String tag+
private long timestamp+
private long currentIndex+
private long lastIndex+
private String bundle+
private String trunkTransaction+
private String branchTransaction+
private String nonce+
private Boolean persistence+
public Transaction(ICurl curl)+
public Transaction()+
public Transaction(String trytes)+
public Transaction(String trytes, + ICurl customCurl)+
public Transaction(String signatureFragments, + long currentIndex, + long lastIndex, + String nonce, + String hash, + String tag, + long timestamp, + String trunkTransaction, + String branchTransaction, + String address, + long value, + String bundle)+
public String toString()+
public String getHash()+
public void setHash(String hash)+
hash - The hash.public String getSignatureFragments()+
public void setSignatureFragments(String signatureFragments)+
signatureFragments - The signature fragments.public String getAddress()+
public void setAddress(String address)+
address - The address.public long getValue()+
public void setValue(long value)+
value - The value.public String getTag()+
public void setTag(String tag)+
tag - The tag.public long getTimestamp()+
public void setTimestamp(long timestamp)+
timestamp - The timestamp.public long getCurrentIndex()+
public void setCurrentIndex(long currentIndex)+
currentIndex - The current index.public long getLastIndex()+
public void setLastIndex(long lastIndex)+
lastIndex - The last index.public String getBundle()+
public void setBundle(String bundle)+
bundle - The bundle.public String getTrunkTransaction()+
public void setTrunkTransaction(String trunkTransaction)+
trunkTransaction - The trunk transaction.public String getBranchTransaction()+
public void setBranchTransaction(String branchTransaction)+
branchTransaction - The branch transaction.public String getNonce()+
public void setNonce(String nonce)+
nonce - The trunk nonce.public Boolean getPersistence()+
public void setPersistence(Boolean persistence)+
persistence - The persistence.public String toTrytes()+
public void transactionObject(String trytes)+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/Transfer.html b/javadoc/jota/model/Transfer.html new file mode 100644 index 0000000..0671273 --- /dev/null +++ b/javadoc/jota/model/Transfer.html @@ -0,0 +1,715 @@ + + + + + + +public class Transfer +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+address |
+
private String |
+hash |
+
private String |
+message |
+
private Boolean |
+persistence |
+
private String |
+tag |
+
private String |
+timestamp |
+
private long |
+value |
+
| Constructor and Description | +
|---|
Transfer(String address,
+ long value,
+ String message,
+ String tag)
+Initializes a new instance of the Transfer class.
+ |
+
Transfer(String timestamp,
+ String address,
+ String hash,
+ Boolean persistence,
+ long value,
+ String message,
+ String tag)
+Initializes a new instance of the Transfer class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getAddress()
+Get the address.
+ |
+
String |
+getHash()
+Get the hash.
+ |
+
String |
+getMessage()
+Get the message.
+ |
+
Boolean |
+getPersistence()
+Get the persistence.
+ |
+
String |
+getTag()
+Get the tag.
+ |
+
String |
+getTimestamp()
+Get the timestamp.
+ |
+
long |
+getValue()
+Get the value.
+ |
+
void |
+setAddress(String address)
+Set the address.
+ |
+
void |
+setHash(String hash)
+Set the hash.
+ |
+
void |
+setMessage(String message)
+Set the message.
+ |
+
void |
+setPersistence(Boolean persistence)
+Set the persistence.
+ |
+
void |
+setTag(String tag)
+Set the tag.
+ |
+
void |
+setTimestamp(String timestamp)
+Set the timestamp.
+ |
+
void |
+setValue(long value)
+Set the value.
+ |
+
String |
+toString()
+Returns a Json Object that represents this object.
+ |
+
private String timestamp+
private String address+
private String hash+
private Boolean persistence+
private long value+
private String message+
private String tag+
public Transfer(String timestamp, + String address, + String hash, + Boolean persistence, + long value, + String message, + String tag)+
public String toString()+
public String getAddress()+
public void setAddress(String address)+
address - The address.public String getHash()+
public void setHash(String hash)+
hash - The hash.public Boolean getPersistence()+
public void setPersistence(Boolean persistence)+
persistence - The persistence.public String getTimestamp()+
public void setTimestamp(String timestamp)+
timestamp - The timestamp.public long getValue()+
public void setValue(long value)+
value - The value.public String getMessage()+
public void setMessage(String message)+
message - The message.public String getTag()+
public void setTag(String tag)+
tag - The tag.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Bundle.html b/javadoc/jota/model/class-use/Bundle.html new file mode 100644 index 0000000..cae6d5a --- /dev/null +++ b/javadoc/jota/model/class-use/Bundle.html @@ -0,0 +1,338 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| jota.model | ++ |
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+IotaAPI.bundlesFromAddresses(String[] addresses,
+ Boolean inclusionStates)
+Internal function to get the formatted bundles of a list of addresses.
+ |
+
Bundle |
+IotaAPI.traverseBundle(String trunkTx,
+ String bundleHash,
+ Bundle bundle)
+Basically traverse the Bundle by going down the trunkTransactions until
+ the bundle hash of the transaction is no longer the same.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+IotaAPI.addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
Bundle |
+IotaAPI.traverseBundle(String trunkTx,
+ String bundleHash,
+ Bundle bundle)
+Basically traverse the Bundle by going down the trunkTransactions until
+ the bundle hash of the transaction is no longer the same.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private Bundle[] |
+GetTransferResponse.transferBundle |
+
| Modifier and Type | +Method and Description | +
|---|---|
Bundle[] |
+GetTransferResponse.getTransfers()
+Gets the transfer bundle.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetTransferResponse |
+GetTransferResponse.create(Bundle[] transferBundle,
+ long duration)
+Initializes a new instance of the GetTransferResponse class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
int |
+Bundle.compareTo(Bundle o)
+Compares the current object with another object of the same type.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Bundle |
+Multisig.addSignature(Bundle bundleToSign,
+ String inputAddress,
+ String keyTrytes)
+Adds the cosigner signatures to the corresponding bundle transaction
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
Bundle |
+Multisig.addSignature(Bundle bundleToSign,
+ String inputAddress,
+ String keyTrytes)
+Adds the cosigner signatures to the corresponding bundle transaction
+ |
+
static List<String> |
+IotaAPIUtils.signInputsAndReturn(String seed,
+ List<Input> inputs,
+ Bundle bundle,
+ List<String> signatureFragments,
+ ICurl curl) |
+
Boolean |
+Signing.validateSignatures(Bundle signedBundle,
+ String inputAddress) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Input.html b/javadoc/jota/model/class-use/Input.html new file mode 100644 index 0000000..7124e03 --- /dev/null +++ b/javadoc/jota/model/class-use/Input.html @@ -0,0 +1,354 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| jota.model | ++ |
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<String> |
+IotaAPI.addRemainder(String seed,
+ int security,
+ List<Input> inputs,
+ Bundle bundle,
+ String tag,
+ long totalValue,
+ String remainderAddress,
+ List<String> signatureFragments) |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Input> |
+GetBalancesAndFormatResponse.input |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Input> |
+GetBalancesAndFormatResponse.getInput()
+Gets the input.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBalancesAndFormatResponse |
+GetBalancesAndFormatResponse.create(List<Input> inputs,
+ long totalBalance2,
+ long duration)
+Initializes a new instance of the GetBalancesAndFormatResponse class.
+ |
+
void |
+GetBalancesAndFormatResponse.setInput(List<Input> input)
+Sets the input.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Input> |
+Inputs.inputsList |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Input> |
+Inputs.getInputsList()
+Get the input list.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+Inputs.setInputsList(List<Input> inputsList)
+Set the input list.
+ |
+
| Constructor and Description | +
|---|
Inputs(List<Input> inputsList,
+ long totalBalance)
+Initializes a new instance of the Input class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static List<String> |
+IotaAPIUtils.signInputsAndReturn(String seed,
+ List<Input> inputs,
+ Bundle bundle,
+ List<String> signatureFragments,
+ ICurl curl) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Inputs.html b/javadoc/jota/model/class-use/Inputs.html new file mode 100644 index 0000000..63ed3a4 --- /dev/null +++ b/javadoc/jota/model/class-use/Inputs.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Neighbor.html b/javadoc/jota/model/class-use/Neighbor.html new file mode 100644 index 0000000..c281871 --- /dev/null +++ b/javadoc/jota/model/class-use/Neighbor.html @@ -0,0 +1,179 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.dto.response | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
private List<Neighbor> |
+GetNeighborsResponse.neighbors |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Neighbor> |
+GetNeighborsResponse.getNeighbors()
+Gets the neighbors.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Signature.html b/javadoc/jota/model/class-use/Signature.html new file mode 100644 index 0000000..ce7afbf --- /dev/null +++ b/javadoc/jota/model/class-use/Signature.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Transaction.html b/javadoc/jota/model/class-use/Transaction.html new file mode 100644 index 0000000..09e1549 --- /dev/null +++ b/javadoc/jota/model/class-use/Transaction.html @@ -0,0 +1,310 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| jota.model | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+IotaAPI.findTransactionObjects(String[] input)
+Wrapper function for findTransactions, getTrytes and transactionObjects.
+ |
+
List<Transaction> |
+IotaAPI.findTransactionObjectsByBundle(String[] input)
+Wrapper function for findTransactions, getTrytes and transactionObjects.
+ |
+
List<Transaction> |
+IotaAPI.getTransactionsObjects(String[] hashes)
+Wrapper function for getTrytes and transactionObjects.
+ |
+
List<Transaction> |
+IotaAPI.initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
List<Transaction> |
+IotaAPI.sendTrytes(String[] trytes,
+ int depth,
+ int minWeightMagnitude)
+Facade method: Gets transactions to approve, attaches to Tangle, broadcasts and stores.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Transaction> |
+GetBundleResponse.transactions |
+
private List<Transaction> |
+AnalyzeTransactionResponse.transactions |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+GetBundleResponse.getTransactions()
+Gets the transactions.
+ |
+
List<Transaction> |
+AnalyzeTransactionResponse.getTransactions()
+Gets the transactions.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static GetBundleResponse |
+GetBundleResponse.create(List<Transaction> transactions,
+ long duration)
+Initializes a new instance of the GetBundleResponse class.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private List<Transaction> |
+Bundle.transactions |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+Bundle.getTransactions()
+Gets the transactions
+ |
+
| Constructor and Description | +
|---|
Bundle(List<Transaction> transactions,
+ int length)
+Initializes a new instance of the Bundle class.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/class-use/Transfer.html b/javadoc/jota/model/class-use/Transfer.html new file mode 100644 index 0000000..d304bd0 --- /dev/null +++ b/javadoc/jota/model/class-use/Transfer.html @@ -0,0 +1,231 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<Transaction> |
+IotaAPI.initiateTransfer(int securitySum,
+ String inputAddress,
+ String remainderAddress,
+ List<Transfer> transfers,
+ boolean testMode)
+Prepares transfer by generating the bundle with the corresponding cosigner transactions.
+ |
+
List<String> |
+IotaAPI.prepareTransfers(String seed,
+ int security,
+ List<Transfer> transfers,
+ String remainder,
+ List<Input> inputs)
+Prepares transfer by generating bundle, finding and signing inputs.
+ |
+
SendTransferResponse |
+IotaAPI.sendTransfer(String seed,
+ int security,
+ int depth,
+ int minWeightMagnitude,
+ List<Transfer> transfers,
+ Input[] inputs,
+ String address)
+Wrapper function that basically does prepareTransfers, as well as attachToTangle and finally, it broadcasts and stores the transactions locally.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static boolean |
+InputValidator.isValidTransfer(Transfer transfer)
+Determines whether the specified transfer is valid.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static boolean |
+InputValidator.isTransfersCollectionValid(List<Transfer> transfers)
+Determines whether the specified transfers are valid.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/package-frame.html b/javadoc/jota/model/package-frame.html new file mode 100644 index 0000000..9151cfb --- /dev/null +++ b/javadoc/jota/model/package-frame.html @@ -0,0 +1,27 @@ + + + + + + +| Class | +Description | +
|---|---|
| Bundle | +
+ This class represents a Bundle, a set of transactions.
+ |
+
| Input | +
+ This class represents an Input.
+ |
+
| Inputs | +
+ This class represents an Inputs.
+ |
+
| Neighbor | +
+ This class represents an Neighbor.
+ |
+
| Signature | +
+ This class represents an Signature.
+ |
+
| Transaction | +
+ This class represents an iota transaction.
+ |
+
| Transfer | +
+ This class represents a Transfer.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/package-tree.html b/javadoc/jota/model/package-tree.html new file mode 100644 index 0000000..61a23da --- /dev/null +++ b/javadoc/jota/model/package-tree.html @@ -0,0 +1,143 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/model/package-use.html b/javadoc/jota/model/package-use.html new file mode 100644 index 0000000..2755874 --- /dev/null +++ b/javadoc/jota/model/package-use.html @@ -0,0 +1,272 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.response | ++ |
| jota.model | ++ |
| jota.utils | ++ |
| Class and Description | +
|---|
| Bundle
+ This class represents a Bundle, a set of transactions.
+ |
+
| Input
+ This class represents an Input.
+ |
+
| Transaction
+ This class represents an iota transaction.
+ |
+
| Transfer
+ This class represents a Transfer.
+ |
+
| Class and Description | +
|---|
| Bundle
+ This class represents a Bundle, a set of transactions.
+ |
+
| Input
+ This class represents an Input.
+ |
+
| Neighbor
+ This class represents an Neighbor.
+ |
+
| Transaction
+ This class represents an iota transaction.
+ |
+
| Class and Description | +
|---|
| Bundle
+ This class represents a Bundle, a set of transactions.
+ |
+
| Input
+ This class represents an Input.
+ |
+
| Transaction
+ This class represents an iota transaction.
+ |
+
| Class and Description | +
|---|
| Bundle
+ This class represents a Bundle, a set of transactions.
+ |
+
| Input
+ This class represents an Input.
+ |
+
| Transfer
+ This class represents a Transfer.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/package-frame.html b/javadoc/jota/package-frame.html new file mode 100644 index 0000000..4df3eab --- /dev/null +++ b/javadoc/jota/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +| Interface | +Description | +
|---|---|
| IotaAPIService | +
+ IOTA API Proxy Service definition using Retrofit2
+ |
+
| Class | +Description | +
|---|---|
| IotaAPI | +
+ IotaAPI Builder.
+ |
+
| IotaAPI.Builder | ++ |
| IotaAPICore | +
+ This class provides access to the Iota core API
+ |
+
| IotaAPICore.Builder<T extends IotaAPICore.Builder<T>> | ++ |
| Enum | +Description | +
|---|---|
| IotaAPICommands | +
+ IOTA's node command list
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/package-tree.html b/javadoc/jota/package-tree.html new file mode 100644 index 0000000..f629dea --- /dev/null +++ b/javadoc/jota/package-tree.html @@ -0,0 +1,162 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/package-use.html b/javadoc/jota/package-use.html new file mode 100644 index 0000000..0f45c0b --- /dev/null +++ b/javadoc/jota/package-use.html @@ -0,0 +1,201 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| Class and Description | +
|---|
| IotaAPI
+ IotaAPI Builder.
+ |
+
| IotaAPI.Builder | +
| IotaAPICommands
+ IOTA's node command list
+ |
+
| IotaAPICore
+ This class provides access to the Iota core API
+ |
+
| IotaAPICore.Builder | +
| IotaAPIService
+ IOTA API Proxy Service definition using Retrofit2
+ |
+
| Class and Description | +
|---|
| IotaAPICommands
+ IOTA's node command list
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/ICurl.html b/javadoc/jota/pow/ICurl.html new file mode 100644 index 0000000..3cdb6c4 --- /dev/null +++ b/javadoc/jota/pow/ICurl.html @@ -0,0 +1,417 @@ + + + + + + +public interface ICurl
+| Modifier and Type | +Method and Description | +
|---|---|
ICurl |
+absorb(int[] trits)
+Absorbs the specified trits.
+ |
+
ICurl |
+absorb(int[] trits,
+ int offset,
+ int length)
+Absorbs the specified trits.
+ |
+
ICurl |
+clone()
+Clones this instance.
+ |
+
int[] |
+getState()
+Gets or sets the state.
+ |
+
ICurl |
+reset()
+Resets this state.
+ |
+
void |
+setState(int[] state)
+Sets or sets the state.
+ |
+
int[] |
+squeeze(int[] trits)
+Squeezes the specified trits.
+ |
+
int[] |
+squeeze(int[] trits,
+ int offset,
+ int length)
+Squeezes the specified trits.
+ |
+
ICurl |
+transform()
+Transforms this instance.
+ |
+
ICurl absorb(int[] trits, + int offset, + int length)+
trits - The trits.offset - The offset to start from.length - The length.ICurl absorb(int[] trits)+
trits - The trits.int[] squeeze(int[] trits, + int offset, + int length)+
trits - The trits.offset - The offset to start from.length - The length.int[] squeeze(int[] trits)+
trits - The trits.ICurl transform()+
ICurl reset()+
int[] getState()+
void setState(int[] state)+
state - The state.ICurl clone()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/JCurl.html b/javadoc/jota/pow/JCurl.html new file mode 100644 index 0000000..066755d --- /dev/null +++ b/javadoc/jota/pow/JCurl.html @@ -0,0 +1,589 @@ + + + + + + +| Modifier and Type | +Field and Description | +
|---|---|
static int |
+HASH_LENGTH
+The hash length.
+ |
+
private static int |
+NUMBER_OF_ROUNDS |
+
private int[] |
+state |
+
private static int |
+STATE_LENGTH |
+
private static int[] |
+TRUTH_TABLE |
+
| Modifier and Type | +Method and Description | +
|---|---|
JCurl |
+absorb(int[] trits)
+Absorbs the specified trits.
+ |
+
JCurl |
+absorb(int[] trits,
+ int offset,
+ int length)
+Absorbs the specified trits.
+ |
+
ICurl |
+clone()
+Clones this instance.
+ |
+
int[] |
+getState()
+Gets the states.
+ |
+
JCurl |
+reset()
+Resets this state.
+ |
+
void |
+setState(int[] state)
+Sets the state.
+ |
+
int[] |
+squeeze(int[] trits)
+Squeezes the specified trits.
+ |
+
int[] |
+squeeze(int[] trits,
+ int offset,
+ int length)
+Squeezes the specified trits.
+ |
+
JCurl |
+transform()
+Transforms this instance.
+ |
+
public static final int HASH_LENGTH+
private static final int STATE_LENGTH+
private static final int NUMBER_OF_ROUNDS+
private static final int[] TRUTH_TABLE+
private int[] state+
public JCurl absorb(int[] trits, + int offset, + int length)+
public JCurl absorb(int[] trits)+
public JCurl transform()+
public JCurl reset()+
public int[] squeeze(int[] trits, + int offset, + int length)+
public int[] squeeze(int[] trits)+
public int[] getState()+
public void setState(int[] state)+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/class-use/ICurl.html b/javadoc/jota/pow/class-use/ICurl.html new file mode 100644 index 0000000..6fc32ff --- /dev/null +++ b/javadoc/jota/pow/class-use/ICurl.html @@ -0,0 +1,381 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.model | ++ |
| jota.pow | ++ |
| jota.utils | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+IotaAPI.customCurl |
+
private ICurl |
+IotaAPI.Builder.customCurl |
+
| Modifier and Type | +Method and Description | +
|---|---|
IotaAPI.Builder |
+IotaAPI.Builder.withCustomCurl(ICurl curl) |
+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+Transaction.customCurl |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+Bundle.finalize(ICurl customCurl)
+Finalizes the bundle using the specified curl implementation,
+ |
+
| Constructor and Description | +
|---|
Transaction(ICurl curl)
+Initializes a new instance of the Signature class.
+ |
+
Transaction(String trytes,
+ ICurl customCurl)
+Initializes a new instance of the Signature class.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+JCurl
+(c) 2016 Come-from-Beyond
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
ICurl |
+ICurl.absorb(int[] trits)
+Absorbs the specified trits.
+ |
+
ICurl |
+ICurl.absorb(int[] trits,
+ int offset,
+ int length)
+Absorbs the specified trits.
+ |
+
ICurl |
+JCurl.clone()
+Clones this instance.
+ |
+
ICurl |
+ICurl.clone()
+Clones this instance.
+ |
+
ICurl |
+ICurl.reset()
+Resets this state.
+ |
+
ICurl |
+ICurl.transform()
+Transforms this instance.
+ |
+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+Signing.curl
+Ask @come-from-beyond
+ |
+
private ICurl |
+Multisig.curl |
+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+IotaAPIUtils.newAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ ICurl curl)
+Generates a new address
+ |
+
static List<String> |
+IotaAPIUtils.signInputsAndReturn(String seed,
+ List<Input> inputs,
+ Bundle bundle,
+ List<String> signatureFragments,
+ ICurl curl) |
+
| Constructor and Description | +
|---|
Multisig(ICurl customCurl) |
+
Signing(ICurl curl)
+public Signing() {
+ this(null);
+ }
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/class-use/JCurl.html b/javadoc/jota/pow/class-use/JCurl.html new file mode 100644 index 0000000..05c264f --- /dev/null +++ b/javadoc/jota/pow/class-use/JCurl.html @@ -0,0 +1,186 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.pow | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
JCurl |
+JCurl.absorb(int[] trits)
+Absorbs the specified trits.
+ |
+
JCurl |
+JCurl.absorb(int[] trits,
+ int offset,
+ int length)
+Absorbs the specified trits.
+ |
+
JCurl |
+JCurl.reset()
+Resets this state.
+ |
+
JCurl |
+JCurl.transform()
+Transforms this instance.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/package-frame.html b/javadoc/jota/pow/package-frame.html new file mode 100644 index 0000000..4955094 --- /dev/null +++ b/javadoc/jota/pow/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/package-tree.html b/javadoc/jota/pow/package-tree.html new file mode 100644 index 0000000..1fe507a --- /dev/null +++ b/javadoc/jota/pow/package-tree.html @@ -0,0 +1,141 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/pow/package-use.html b/javadoc/jota/pow/package-use.html new file mode 100644 index 0000000..9de3d1d --- /dev/null +++ b/javadoc/jota/pow/package-use.html @@ -0,0 +1,227 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.model | ++ |
| jota.pow | ++ |
| jota.utils | ++ |
| Class and Description | +
|---|
| ICurl
+ This interface abstracts the curl hashing algorithm.
+ |
+
| Class and Description | +
|---|
| ICurl
+ This interface abstracts the curl hashing algorithm.
+ |
+
| Class and Description | +
|---|
| ICurl
+ This interface abstracts the curl hashing algorithm.
+ |
+
| JCurl
+ (c) 2016 Come-from-Beyond
+ |
+
| Class and Description | +
|---|
| ICurl
+ This interface abstracts the curl hashing algorithm.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Checksum.html b/javadoc/jota/utils/Checksum.html new file mode 100644 index 0000000..14088db --- /dev/null +++ b/javadoc/jota/utils/Checksum.html @@ -0,0 +1,414 @@ + + + + + + +public class Checksum +extends Object+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+addChecksum(String address)
+Adds the checksum to the specified address.
+ |
+
private static String |
+calculateChecksum(String address) |
+
static boolean |
+isAddressWithChecksum(String address)
+Check if specified address is a address with checksum.
+ |
+
static boolean |
+isAddressWithoutChecksum(String address)
+check if specified address is a address
+ |
+
static boolean |
+isValidChecksum(String addressWithChecksum)
+Determines whether the specified address with checksum has a valid checksum.
+ |
+
static String |
+removeChecksum(String address)
+Remove the checksum to the specified address.
+ |
+
private static String |
+removeChecksumFromAddress(String addressWithChecksum) |
+
public static String addChecksum(String address) + throws InvalidAddressException+
address - The address without checksum.InvalidAddressException - is thrown when the specified address is not an valid address.public static String removeChecksum(String address) + throws InvalidAddressException+
address - The address with checksum.InvalidAddressException - is thrown when the specified address is not an address with checksum.private static String removeChecksumFromAddress(String addressWithChecksum)+
public static boolean isValidChecksum(String addressWithChecksum) + throws InvalidAddressException+
addressWithChecksum - The address with checksum.true if the specified address with checksum has a valid checksum [the specified address with checksum]; otherwise, false.InvalidAddressException - is thrown when the specified address is not an valid address.public static boolean isAddressWithChecksum(String address) + throws InvalidAddressException+
address - The address to check.true if the specified address is with checksum ; otherwise, false.InvalidAddressException - is thrown when the specified address is not an valid addresspublic static boolean isAddressWithoutChecksum(String address) + throws InvalidAddressException+
address - addressInvalidAddressException - is thrown when the specified address is not an valid addressCopyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Constants.html b/javadoc/jota/utils/Constants.html new file mode 100644 index 0000000..8392bcb --- /dev/null +++ b/javadoc/jota/utils/Constants.html @@ -0,0 +1,337 @@ + + + + + + +public class Constants +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
static int |
+ADDRESS_LENGTH_WITH_CHECKSUM
+The length of an address with checksum
+ |
+
static int |
+ADDRESS_LENGTH_WITHOUT_CHECKSUM
+The length of an address without checksum
+ |
+
static int |
+SEED_LENGTH_MAX
+The maximum seed length
+ |
+
static String |
+TRYTE_ALPHABET
+This String contains all possible characters of the tryte alphabet
+ |
+
public static final String TRYTE_ALPHABET+
public static final int SEED_LENGTH_MAX+
public static int ADDRESS_LENGTH_WITHOUT_CHECKSUM+
public static int ADDRESS_LENGTH_WITH_CHECKSUM+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Converter.html b/javadoc/jota/utils/Converter.html new file mode 100644 index 0000000..460c0fc --- /dev/null +++ b/javadoc/jota/utils/Converter.html @@ -0,0 +1,737 @@ + + + + + + +public class Converter +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private static int[][] |
+BYTE_TO_TRITS_MAPPINGS |
+
private static int |
+MAX_TRIT_VALUE
+The maximum trit value
+ |
+
private static int |
+MIN_TRIT_VALUE
+The maximum trit value
+ |
+
private static int |
+NUMBER_OF_TRITS_IN_A_BYTE
+The number of trits in a byte
+ |
+
private static int |
+NUMBER_OF_TRITS_IN_A_TRYTE
+The number of trits in a tryte
+ |
+
private static int |
+RADIX
+The radix
+ |
+
private static int[][] |
+TRYTE_TO_TRITS_MAPPINGS |
+
| Modifier and Type | +Method and Description | +
|---|---|
static byte[] |
+bytes(int[] trits) |
+
static byte[] |
+bytes(int[] trits,
+ int offset,
+ int size)
+Converts the specified trits array to bytes.
+ |
+
static int[] |
+convertToIntArray(List<Integer> integers) |
+
static int[] |
+copyTrits(String input,
+ int[] destination)
+Copies the trits from the input string into the destination array
+ |
+
static void |
+getTrits(byte[] bytes,
+ int[] trits)
+Gets the trits from the specified bytes and stores it into the provided trits array.
+ |
+
static void |
+increment(int[] trits,
+ int size)
+Increments the specified trits.
+ |
+
static long |
+longValue(int[] trits)
+Converts the specified trits to its corresponding integer value.
+ |
+
static int[] |
+trits(long trytes,
+ int length)
+Converts the specified trinary encoded string into a trits array of the specified length.
+ |
+
static int[] |
+trits(String trytes)
+Converts trytes into trits.
+ |
+
static int[] |
+trits(String trytes,
+ int length)
+Converts the specified trinary encoded string into a trits array of the specified length.
+ |
+
static int[] |
+tritsString(String trytes)
+Converts the specified trinary encoded trytes string to trits.
+ |
+
static String |
+trytes(int[] trits) |
+
static String |
+trytes(int[] trits,
+ int offset,
+ int size)
+Converts trites to trytes.
+ |
+
static int |
+tryteValue(int[] trits,
+ int offset)
+Converts the specified trits array to trytes in integer representation.
+ |
+
static int |
+value(int[] trits)
+Converts the specified trits to its corresponding integer value.
+ |
+
private static final int RADIX+
private static final int MAX_TRIT_VALUE+
private static final int MIN_TRIT_VALUE+
private static final int NUMBER_OF_TRITS_IN_A_BYTE+
private static final int NUMBER_OF_TRITS_IN_A_TRYTE+
private static final int[][] BYTE_TO_TRITS_MAPPINGS+
private static final int[][] TRYTE_TO_TRITS_MAPPINGS+
public static byte[] bytes(int[] trits, + int offset, + int size)+
trits - The trits.offset - The offset to start from.size - The size.public static byte[] bytes(int[] trits)+
public static void getTrits(byte[] bytes, + int[] trits)+
bytes - The bytes.trits - The trits.public static int[] trits(String trytes, + int length)+
trytes - The trytes.length - The lengthpublic static int[] trits(long trytes, + int length)+
trytes - The trytes.length - The length.public static int[] tritsString(String trytes)+
trytes - The trytes.public static int[] trits(String trytes)+
trytes - The trytes to be converted.public static int[] copyTrits(String input, + int[] destination)+
input - The input String.destination - The destination array.public static String trytes(int[] trits, + int offset, + int size)+
trits - Teh trits to be converted.offset - The offset to start from.size - The size.public static String trytes(int[] trits)+
public static int tryteValue(int[] trits, + int offset)+
trits - The trits.offset - The offset to start from.public static int value(int[] trits)+
trits - The trits.public static long longValue(int[] trits)+
trits - The trits.public static void increment(int[] trits, + int size)+
trits - The trits.size - The size.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/InputValidator.html b/javadoc/jota/utils/InputValidator.html new file mode 100644 index 0000000..47aa903 --- /dev/null +++ b/javadoc/jota/utils/InputValidator.html @@ -0,0 +1,494 @@ + + + + + + +public class InputValidator +extends Object+
| Constructor and Description | +
|---|
InputValidator() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static boolean |
+checkAddress(String address)
+Checks whether the specified address is an address and throws and exception if the address is invalid.
+ |
+
static boolean |
+isAddress(String address)
+Determines whether the specified string is an address.
+ |
+
static boolean |
+isArrayOfHashes(String[] hashes)
+Determines whether the specified array contains only valid hashes.
+ |
+
static boolean |
+isArrayOfTrytes(String[] trytes)
+Determines whether the specified string array contains only trytes.
+ |
+
static boolean |
+isNinesTrytes(String trytes,
+ int length)
+Determines whether the specified string consist only of '9'.
+ |
+
static boolean |
+isTransfersCollectionValid(List<Transfer> transfers)
+Determines whether the specified transfers are valid.
+ |
+
static boolean |
+isTrytes(String trytes,
+ int length)
+Determines whether the specified string contains only characters from the trytes alphabet (see
+ |
+
static boolean |
+isValidTransfer(Transfer transfer)
+Determines whether the specified transfer is valid.
+ |
+
static boolean |
+isValue(String value)
+Determines whether the specified string represents a signed integer.
+ |
+
static String |
+validateSeed(String seed)
+Checks if the seed is valid.
+ |
+
public static boolean isAddress(String address)+
address - The address to validate.true if the specified string is an address; otherwise, false.public static boolean checkAddress(String address) + throws InvalidAddressException+
address - The address to validate.true if the specified string is an address; otherwise, false.InvalidAddressException - is thrown when the specified address is not an valid address.public static boolean isTrytes(String trytes, + int length)+
trytes - The trytes to validate.length - The length.true if the specified trytes are trytes otherwise, false.public static boolean isNinesTrytes(String trytes, + int length)+
trytes - The trytes to validate.length - The length.true if the specified string consist only of '9'; otherwise, false.public static boolean isValue(String value)+
value - The value to validate.true the specified string represents an integer value; otherwise, false.public static boolean isArrayOfTrytes(String[] trytes)+
trytes - The trytes array to validate.true if the specified array contains only valid trytes otherwise, false.public static boolean isArrayOfHashes(String[] hashes)+
hashes - The hashes array to validate.true the specified array contains only valid hashes; otherwise, false.public static boolean isTransfersCollectionValid(List<Transfer> transfers)+
transfers - The transfers list to validate.true if the specified transfers are valid; otherwise, false.public static boolean isValidTransfer(Transfer transfer)+
transfer - The transfer to validate.true if the specified transfer is valid; otherwise, false>.public static String validateSeed(String seed)+
seed - The seed to validate.IllegalStateException - Format not in trytes or Invalid Seed: Seed too long.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/IotaAPIUtils.html b/javadoc/jota/utils/IotaAPIUtils.html new file mode 100644 index 0000000..f165a6b --- /dev/null +++ b/javadoc/jota/utils/IotaAPIUtils.html @@ -0,0 +1,321 @@ + + + + + + +public class IotaAPIUtils +extends Object+
| Constructor and Description | +
|---|
IotaAPIUtils() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+newAddress(String seed,
+ int security,
+ int index,
+ boolean checksum,
+ ICurl curl)
+Generates a new address
+ |
+
static List<String> |
+signInputsAndReturn(String seed,
+ List<Input> inputs,
+ Bundle bundle,
+ List<String> signatureFragments,
+ ICurl curl) |
+
public static String newAddress(String seed, + int security, + int index, + boolean checksum, + ICurl curl) + throws InvalidAddressException+
seed - The tryte-encoded seed. It should be noted that this seed is not transferred.security - The secuirty level of private key / seed.index - The index to start search from. If the index is provided, the generation of the address is not deterministic.checksum - The adds 9-tryte address checksumcurl - The curl instance.InvalidAddressException - is thrown when the specified address is not an valid address.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/IotaUnitConverter.html b/javadoc/jota/utils/IotaUnitConverter.html new file mode 100644 index 0000000..03452c9 --- /dev/null +++ b/javadoc/jota/utils/IotaUnitConverter.html @@ -0,0 +1,443 @@ + + + + + + +public class IotaUnitConverter +extends Object+
| Constructor and Description | +
|---|
IotaUnitConverter() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static double |
+convertAmountTo(long amount,
+ IotaUnits target)
+Convert amount to target unit.
+ |
+
static String |
+convertRawIotaAmountToDisplayText(long amount,
+ boolean extended)
+Convert the iota amount to text.
+ |
+
private static long |
+convertUnits(long amount,
+ IotaUnits toUnit)
+Convert unit.
+ |
+
static long |
+convertUnits(long amount,
+ IotaUnits fromUnit,
+ IotaUnits toUnit)
+Convert the iota amount.
+ |
+
static String |
+createAmountDisplayText(double amountInUnit,
+ IotaUnits unit,
+ boolean extended)
+Create amount text.
+ |
+
private static String |
+createAmountWithUnitDisplayText(double amountInUnit,
+ IotaUnits unit,
+ boolean extended)
+Create amount with unit text.
+ |
+
static IotaUnits |
+findOptimalIotaUnitToDisplay(long amount)
+Finds the optimal unit to display the specified amount in.
+ |
+
public static long convertUnits(long amount, + IotaUnits fromUnit, + IotaUnits toUnit)+
amount - The amount.fromUnit - The source unit e.g. the unit of amount.toUnit - The target unit.private static long convertUnits(long amount, + IotaUnits toUnit)+
amount - The amount.toUnit - The target unit.public static String convertRawIotaAmountToDisplayText(long amount, + boolean extended)+
amount - The amount.extended - Extended length.public static double convertAmountTo(long amount, + IotaUnits target)+
amount - The amount.private static String createAmountWithUnitDisplayText(double amountInUnit, + IotaUnits unit, + boolean extended)+
amountInUnit - The amount in units.unit - The unit.extended - Extended length.public static String createAmountDisplayText(double amountInUnit, + IotaUnits unit, + boolean extended)+
amountInUnit - The amount in units.unit - The unit.extended - Extended length.public static IotaUnits findOptimalIotaUnitToDisplay(long amount)+
amount - The amount.Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/IotaUnits.html b/javadoc/jota/utils/IotaUnits.html new file mode 100644 index 0000000..b0f6474 --- /dev/null +++ b/javadoc/jota/utils/IotaUnits.html @@ -0,0 +1,483 @@ + + + + + + +public enum IotaUnits +extends Enum<IotaUnits>+
| Enum Constant and Description | +
|---|
GIGA_IOTA |
+
IOTA |
+
KILO_IOTA |
+
MEGA_IOTA |
+
PETA_IOTA |
+
TERA_IOTA |
+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+unit |
+
private long |
+value |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+getUnit()
+Gets the unit.
+ |
+
long |
+getValue()
+Gets the value.
+ |
+
static IotaUnits |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IotaUnits[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final IotaUnits IOTA+
public static final IotaUnits KILO_IOTA+
public static final IotaUnits MEGA_IOTA+
public static final IotaUnits GIGA_IOTA+
public static final IotaUnits TERA_IOTA+
public static final IotaUnits PETA_IOTA+
private String unit+
private long value+
public static IotaUnits[] values()+
+for (IotaUnits c : IotaUnits.values()) + System.out.println(c); +
public static IotaUnits valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getUnit()+
public long getValue()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Multisig.html b/javadoc/jota/utils/Multisig.html new file mode 100644 index 0000000..6b3a136 --- /dev/null +++ b/javadoc/jota/utils/Multisig.html @@ -0,0 +1,473 @@ + + + + + + +public class Multisig +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+curl |
+
private Signing |
+signingInstance |
+
| Constructor and Description | +
|---|
Multisig() |
+
Multisig(ICurl customCurl) |
+
| Modifier and Type | +Method and Description | +
|---|---|
String |
+addAddressDigest(String digestTrytes,
+ String curlStateTrytes)
+Initiates the generation of a new multisig address or adds the key digest to an existing one
+ |
+
Bundle |
+addSignature(Bundle bundleToSign,
+ String inputAddress,
+ String keyTrytes)
+Adds the cosigner signatures to the corresponding bundle transaction
+ |
+
String |
+finalizeAddress(String curlStateTrytes)
+Generates a new address
+ |
+
String |
+getDigest(String seed,
+ int security,
+ int index) |
+
String |
+getKey(String seed,
+ int index,
+ int security)
+Gets the key value of a seed
+ |
+
boolean |
+validateAddress(String multisigAddress,
+ int[][] digests)
+Validates a generated multisig address
+ |
+
private ICurl curl+
private Signing signingInstance+
public Multisig(ICurl customCurl)+
public Multisig()+
public String getDigest(String seed, + int security, + int index)+
seed - tryte-encoded seed. It should be noted that this seed is not transferredsecurity - security secuirty level of private key / seedindex - public String addAddressDigest(String digestTrytes, + String curlStateTrytes)+
digestTrytes - curlStateTrytes - public String getKey(String seed, + int index, + int security)+
seed - tryte-encoded seed. It should be noted that this seed is not transferredindex - public String finalizeAddress(String curlStateTrytes)+
curlStateTrytes - public boolean validateAddress(String multisigAddress, + int[][] digests)+
multisigAddress - digests - Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/NamedThreadFactory.html b/javadoc/jota/utils/NamedThreadFactory.html new file mode 100644 index 0000000..7d104bf --- /dev/null +++ b/javadoc/jota/utils/NamedThreadFactory.html @@ -0,0 +1,340 @@ + + + + + + +public class NamedThreadFactory +extends Object +implements ThreadFactory+
| Modifier and Type | +Field and Description | +
|---|---|
private String |
+baseName |
+
private AtomicInteger |
+threadNum |
+
| Constructor and Description | +
|---|
NamedThreadFactory(String baseName) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Thread |
+newThread(Runnable r) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Parallel.Operation.html b/javadoc/jota/utils/Parallel.Operation.html new file mode 100644 index 0000000..f97cbb4 --- /dev/null +++ b/javadoc/jota/utils/Parallel.Operation.html @@ -0,0 +1,231 @@ + + + + + + +T - public static interface Parallel.Operation<T>
+| Modifier and Type | +Method and Description | +
|---|---|
void |
+perform(T pParameter) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Parallel.html b/javadoc/jota/utils/Parallel.html new file mode 100644 index 0000000..58859ac --- /dev/null +++ b/javadoc/jota/utils/Parallel.html @@ -0,0 +1,375 @@ + + + + + + +public class Parallel +extends Object+
| Modifier and Type | +Class and Description | +
|---|---|
static interface |
+Parallel.Operation<T> |
+
| Modifier and Type | +Field and Description | +
|---|---|
private static ExecutorService |
+forPool |
+
private static int |
+NUM_CORES |
+
| Modifier and Type | +Method and Description | +
|---|---|
static <T> Collection<Callable<Void>> |
+createCallables(Iterable<T> elements,
+ Parallel.Operation<T> operation) |
+
static <T> void |
+For(Iterable<T> elements,
+ Parallel.Operation<T> operation) |
+
private static final int NUM_CORES+
private static final ExecutorService forPool+
public static <T> void For(Iterable<T> elements, + Parallel.Operation<T> operation)+
T - elements - operation - public static <T> Collection<Callable<Void>> createCallables(Iterable<T> elements, + Parallel.Operation<T> operation)+
T - elements - operation - Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/SeedRandomGenerator.html b/javadoc/jota/utils/SeedRandomGenerator.html new file mode 100644 index 0000000..d912737 --- /dev/null +++ b/javadoc/jota/utils/SeedRandomGenerator.html @@ -0,0 +1,283 @@ + + + + + + +public class SeedRandomGenerator +extends Object+
| Constructor and Description | +
|---|
SeedRandomGenerator() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+generateNewSeed()
+Generate a new seed.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/Signing.html b/javadoc/jota/utils/Signing.html new file mode 100644 index 0000000..be7e99e --- /dev/null +++ b/javadoc/jota/utils/Signing.html @@ -0,0 +1,435 @@ + + + + + + +public class Signing +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private ICurl |
+curl
+Ask @come-from-beyond
+ |
+
| Constructor and Description | +
|---|
Signing(ICurl curl)
+public Signing() {
+ this(null);
+ }
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
int[] |
+address(int[] digests) |
+
int[] |
+digest(int[] normalizedBundleFragment,
+ int[] signatureFragment) |
+
int[] |
+digests(int[] key) |
+
int[] |
+key(int[] seed,
+ int index,
+ int length) |
+
int[] |
+signatureFragment(int[] normalizedBundleFragment,
+ int[] keyFragment) |
+
private int[] |
+to(List<Integer> key) |
+
Boolean |
+validateSignatures(Bundle signedBundle,
+ String inputAddress) |
+
Boolean |
+validateSignatures(String expectedAddress,
+ String[] signatureFragments,
+ String bundleHash) |
+
public Signing(ICurl curl)+
+ /**
curl - public int[] key(int[] seed, + int index, + int length)+
seed - index - length - public int[] signatureFragment(int[] normalizedBundleFragment, + int[] keyFragment)+
public int[] address(int[] digests)+
public int[] digests(int[] key)+
public int[] digest(int[] normalizedBundleFragment, + int[] signatureFragment)+
public Boolean validateSignatures(Bundle signedBundle, + String inputAddress)+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/StopWatch.html b/javadoc/jota/utils/StopWatch.html new file mode 100644 index 0000000..ae606bf --- /dev/null +++ b/javadoc/jota/utils/StopWatch.html @@ -0,0 +1,455 @@ + + + + + + +public class StopWatch +extends Object+
| Modifier and Type | +Field and Description | +
|---|---|
private long |
+currentTime |
+
private boolean |
+running |
+
private long |
+startTime |
+
| Modifier and Type | +Method and Description | +
|---|---|
long |
+getElapsedTimeHour()
+Elapsed time in hours.
+ |
+
long |
+getElapsedTimeMili()
+Elapsed time in milliseconds.
+ |
+
long |
+getElapsedTimeMin()
+Elapsed time in minutes.
+ |
+
long |
+getElapsedTimeSecs()
+Elapsed time in seconds.
+ |
+
void |
+pause() |
+
void |
+reStart() |
+
void |
+resume() |
+
StopWatch |
+stop() |
+
private long startTime+
private boolean running+
private long currentTime+
public void reStart()+
public StopWatch stop()+
public void pause()+
public void resume()+
public long getElapsedTimeMili()+
public long getElapsedTimeSecs()+
public long getElapsedTimeMin()+
public long getElapsedTimeHour()+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/TrytesConverter.html b/javadoc/jota/utils/TrytesConverter.html new file mode 100644 index 0000000..b305145 --- /dev/null +++ b/javadoc/jota/utils/TrytesConverter.html @@ -0,0 +1,337 @@ + + + + + + +public class TrytesConverter +extends Object+
| Constructor and Description | +
|---|
TrytesConverter() |
+
| Modifier and Type | +Method and Description | +
|---|---|
static String |
+toString(String inputTrytes)
+Trytes to bytes
+ Reverse operation from the byteToTrytes function in send.js
+ 2 Trytes == 1 Byte
+ We assume that the trytes are a JSON encoded object thus for our encoding:
+ First character = {
+ Last character = }
+ Everything after that is 9's padding
+ |
+
static String |
+toTrytes(String inputString)
+Conversion of ascii encoded bytes to trytes.
+ |
+
public static String toTrytes(String inputString)+
+ How the conversion works: + 2 Trytes === 1 Byte + There are a total of 27 different tryte values: 9ABCDEFGHIJKLMNOPQRSTUVWXYZ +
+ 1. We get the decimal value of an individual ASCII character + 2. From the decimal value, we then derive the two tryte values by basically calculating the tryte equivalent (e.g. 100 === 19 + 3 * 27) + a. The first tryte value is the decimal value modulo 27 (27 trytes) + b. The second value is the remainder (decimal value - first value), divided by 27 + 3. The two values returned from Step 2. are then input as indices into the available values list ('9ABCDEFGHIJKLMNOPQRSTUVWXYZ') to get the correct tryte value +
+
+ EXAMPLE +
+ Lets say we want to convert the ASCII character "Z". + 1. 'Z' has a decimal value of 90. + 2. 90 can be represented as 9 + 3 * 27. To make it simpler: + a. First value: 90 modulo 27 is 9. This is now our first value + b. Second value: (90 - 9) / 27 is 3. This is our second value. + 3. Our two values are now 9 and 3. To get the tryte value now we simply insert it as indices into '9ABCDEFGHIJKLMNOPQRSTUVWXYZ' + a. The first tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[9] === "I" + b. The second tryte value is '9ABCDEFGHIJKLMNOPQRSTUVWXYZ'[3] === "C" + Our tryte pair is "IC"
inputString - The input String.public static String toString(String inputTrytes)+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Checksum.html b/javadoc/jota/utils/class-use/Checksum.html new file mode 100644 index 0000000..2d45bab --- /dev/null +++ b/javadoc/jota/utils/class-use/Checksum.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Constants.html b/javadoc/jota/utils/class-use/Constants.html new file mode 100644 index 0000000..9cb400a --- /dev/null +++ b/javadoc/jota/utils/class-use/Constants.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Converter.html b/javadoc/jota/utils/class-use/Converter.html new file mode 100644 index 0000000..502b94e --- /dev/null +++ b/javadoc/jota/utils/class-use/Converter.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/InputValidator.html b/javadoc/jota/utils/class-use/InputValidator.html new file mode 100644 index 0000000..2641b79 --- /dev/null +++ b/javadoc/jota/utils/class-use/InputValidator.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/IotaAPIUtils.html b/javadoc/jota/utils/class-use/IotaAPIUtils.html new file mode 100644 index 0000000..39b21bc --- /dev/null +++ b/javadoc/jota/utils/class-use/IotaAPIUtils.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/IotaUnitConverter.html b/javadoc/jota/utils/class-use/IotaUnitConverter.html new file mode 100644 index 0000000..b5d1c00 --- /dev/null +++ b/javadoc/jota/utils/class-use/IotaUnitConverter.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/IotaUnits.html b/javadoc/jota/utils/class-use/IotaUnits.html new file mode 100644 index 0000000..4c02121 --- /dev/null +++ b/javadoc/jota/utils/class-use/IotaUnits.html @@ -0,0 +1,226 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static IotaUnits |
+IotaUnitConverter.findOptimalIotaUnitToDisplay(long amount)
+Finds the optimal unit to display the specified amount in.
+ |
+
static IotaUnits |
+IotaUnits.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static IotaUnits[] |
+IotaUnits.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
static double |
+IotaUnitConverter.convertAmountTo(long amount,
+ IotaUnits target)
+Convert amount to target unit.
+ |
+
private static long |
+IotaUnitConverter.convertUnits(long amount,
+ IotaUnits toUnit)
+Convert unit.
+ |
+
static long |
+IotaUnitConverter.convertUnits(long amount,
+ IotaUnits fromUnit,
+ IotaUnits toUnit)
+Convert the iota amount.
+ |
+
static String |
+IotaUnitConverter.createAmountDisplayText(double amountInUnit,
+ IotaUnits unit,
+ boolean extended)
+Create amount text.
+ |
+
private static String |
+IotaUnitConverter.createAmountWithUnitDisplayText(double amountInUnit,
+ IotaUnits unit,
+ boolean extended)
+Create amount with unit text.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Multisig.html b/javadoc/jota/utils/class-use/Multisig.html new file mode 100644 index 0000000..3ed2b94 --- /dev/null +++ b/javadoc/jota/utils/class-use/Multisig.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/NamedThreadFactory.html b/javadoc/jota/utils/class-use/NamedThreadFactory.html new file mode 100644 index 0000000..144a2d5 --- /dev/null +++ b/javadoc/jota/utils/class-use/NamedThreadFactory.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Parallel.Operation.html b/javadoc/jota/utils/class-use/Parallel.Operation.html new file mode 100644 index 0000000..0141c0a --- /dev/null +++ b/javadoc/jota/utils/class-use/Parallel.Operation.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
static <T> Collection<Callable<Void>> |
+Parallel.createCallables(Iterable<T> elements,
+ Parallel.Operation<T> operation) |
+
static <T> void |
+Parallel.For(Iterable<T> elements,
+ Parallel.Operation<T> operation) |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Parallel.html b/javadoc/jota/utils/class-use/Parallel.html new file mode 100644 index 0000000..2fc94c8 --- /dev/null +++ b/javadoc/jota/utils/class-use/Parallel.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/SeedRandomGenerator.html b/javadoc/jota/utils/class-use/SeedRandomGenerator.html new file mode 100644 index 0000000..8036eff --- /dev/null +++ b/javadoc/jota/utils/class-use/SeedRandomGenerator.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/Signing.html b/javadoc/jota/utils/class-use/Signing.html new file mode 100644 index 0000000..a81edb2 --- /dev/null +++ b/javadoc/jota/utils/class-use/Signing.html @@ -0,0 +1,164 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota.utils | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
private Signing |
+Multisig.signingInstance |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/StopWatch.html b/javadoc/jota/utils/class-use/StopWatch.html new file mode 100644 index 0000000..3fac580 --- /dev/null +++ b/javadoc/jota/utils/class-use/StopWatch.html @@ -0,0 +1,193 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.utils | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
GetBalancesAndFormatResponse |
+IotaAPI.getBalanceAndFormat(List<String> addresses,
+ long threshold,
+ int start,
+ int end,
+ StopWatch stopWatch,
+ int security)
+Gets the balances and formats the output.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
StopWatch |
+StopWatch.stop() |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/class-use/TrytesConverter.html b/javadoc/jota/utils/class-use/TrytesConverter.html new file mode 100644 index 0000000..591563b --- /dev/null +++ b/javadoc/jota/utils/class-use/TrytesConverter.html @@ -0,0 +1,124 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/package-frame.html b/javadoc/jota/utils/package-frame.html new file mode 100644 index 0000000..e592072 --- /dev/null +++ b/javadoc/jota/utils/package-frame.html @@ -0,0 +1,41 @@ + + + + + + +| Interface | +Description | +
|---|---|
| Parallel.Operation<T> | ++ |
| Class | +Description | +
|---|---|
| Checksum | +
+ This class defines utility methods to add/remove the checksum to/from an address.
+ |
+
| Constants | +
+ This class defines the global constants.
+ |
+
| Converter | +
+ This class provides a set of utility methods to are used to convert between different formats.
+ |
+
| InputValidator | +
+ This class provides methods to validate the parameters of different iota API methods.
+ |
+
| IotaAPIUtils | +
+ Client Side computation service.
+ |
+
| IotaUnitConverter | +
+ This class provides methods to convert Iota to different units.
+ |
+
| Multisig | ++ |
| NamedThreadFactory | ++ |
| Parallel | ++ |
| SeedRandomGenerator | +
+ This class allows to create a secure random generated seed.
+ |
+
| Signing | ++ |
| StopWatch | ++ |
| TrytesConverter | +
+ This class allows to convert between ASCII and tryte encoded strings.
+ |
+
| Enum | +Description | +
|---|---|
| IotaUnits | +
+ Table of IOTA units based off of the standard system of Units.
+ |
+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/package-tree.html b/javadoc/jota/utils/package-tree.html new file mode 100644 index 0000000..5a52d1c --- /dev/null +++ b/javadoc/jota/utils/package-tree.html @@ -0,0 +1,165 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/jota/utils/package-use.html b/javadoc/jota/utils/package-use.html new file mode 100644 index 0000000..9f6a1a9 --- /dev/null +++ b/javadoc/jota/utils/package-use.html @@ -0,0 +1,187 @@ + + + + + + +| Package | +Description | +
|---|---|
| jota | ++ |
| jota.utils | ++ |
| Class and Description | +
|---|
| StopWatch | +
| Class and Description | +
|---|
| IotaUnits
+ Table of IOTA units based off of the standard system of Units.
+ |
+
| Parallel.Operation | +
| Signing | +
| StopWatch | +
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/overview-frame.html b/javadoc/overview-frame.html new file mode 100644 index 0000000..ed54a9f --- /dev/null +++ b/javadoc/overview-frame.html @@ -0,0 +1,28 @@ + + + + + + ++ + diff --git a/javadoc/overview-summary.html b/javadoc/overview-summary.html new file mode 100644 index 0000000..4bfe3f5 --- /dev/null +++ b/javadoc/overview-summary.html @@ -0,0 +1,162 @@ + + + + + + +
| Package | +Description | +
|---|---|
| jota | ++ |
| jota.dto.request | ++ |
| jota.dto.response | ++ |
| jota.error | ++ |
| jota.model | ++ |
| jota.pow | ++ |
| jota.utils | ++ |
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html new file mode 100644 index 0000000..279e9cf --- /dev/null +++ b/javadoc/overview-tree.html @@ -0,0 +1,253 @@ + + + + + + +Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/package-list b/javadoc/package-list new file mode 100644 index 0000000..70036af --- /dev/null +++ b/javadoc/package-list @@ -0,0 +1,7 @@ +jota +jota.dto.request +jota.dto.response +jota.error +jota.model +jota.pow +jota.utils diff --git a/javadoc/script.js b/javadoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/javadoc/serialized-form.html b/javadoc/serialized-form.html new file mode 100644 index 0000000..40e2b03 --- /dev/null +++ b/javadoc/serialized-form.html @@ -0,0 +1,215 @@ + + + + + + +Collection<E> messages+
Copyright © 2017. All rights reserved.
+ + diff --git a/javadoc/stylesheet.css b/javadoc/stylesheet.css new file mode 100644 index 0000000..cebb4fd --- /dev/null +++ b/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; + width:100%; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +}