public class AHandleManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected DefaultContentManager |
cntmgr |
protected io.nessus.ipfs.core.TxDataHandler |
dataHandler |
protected io.nessus.ipfs.core.AbstractHandleManager.Executor |
executor |
| Modifier and Type | Method and Description |
|---|---|
AHandle |
addIpfsContent(AHandle ahandle,
boolean dryRun) |
byte[] |
createAddrData(io.ipfs.multihash.Multihash cid) |
AHandle |
findContentAsync(io.nessus.Wallet.Address owner,
long timeout) |
AHandle |
getHandleFromTx(io.nessus.Wallet.Address owner,
io.nessus.UTXO utxo) |
AHandle |
getIpfsContent(AHandle ahandle,
long timeout) |
T |
getUnspentHandle(io.nessus.Wallet.Address owner,
io.ipfs.multihash.Multihash cid,
java.lang.Class<T> type) |
java.util.List<T> |
listUnspentHandles(io.nessus.Wallet.Address owner,
java.lang.Class<T> type) |
protected final DefaultContentManager cntmgr
protected final io.nessus.ipfs.core.TxDataHandler dataHandler
protected final io.nessus.ipfs.core.AbstractHandleManager.Executor executor
public AHandle addIpfsContent(AHandle ahandle, boolean dryRun) throws java.io.IOException
java.io.IOExceptionpublic AHandle getIpfsContent(AHandle ahandle, long timeout) throws java.io.IOException, java.security.GeneralSecurityException
java.io.IOExceptionjava.security.GeneralSecurityExceptionpublic AHandle findContentAsync(io.nessus.Wallet.Address owner, long timeout)
public byte[] createAddrData(io.ipfs.multihash.Multihash cid)
public AHandle getHandleFromTx(io.nessus.Wallet.Address owner, io.nessus.UTXO utxo)
public T getUnspentHandle(io.nessus.Wallet.Address owner,
io.ipfs.multihash.Multihash cid,
java.lang.Class<T> type)
public java.util.List<T> listUnspentHandles(io.nessus.Wallet.Address owner,
java.lang.Class<T> type)
Copyright © 2018. All rights reserved.