public class FHandleManager
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 |
|---|---|
FHandle |
addIpfsContent(FHandle fhandle,
boolean dryRun) |
FHandle |
createFHandleTree(FHandle fhandle) |
byte[] |
createFileData(FHandle fhandle) |
java.util.List<FHandle> |
findContentAsync(io.nessus.Wallet.Address owner,
long timeout) |
FHandle |
getHandleFromTx(io.nessus.Wallet.Address owner,
io.nessus.UTXO utxo) |
FHandle |
getIpfsContent(FHandle fhandle,
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 FHandle addIpfsContent(FHandle fhandle, boolean dryRun) throws java.io.IOException
java.io.IOExceptionpublic FHandle getIpfsContent(FHandle fhandle, long timeout) throws java.io.IOException, IPFSTimeoutException
java.io.IOExceptionIPFSTimeoutExceptionpublic java.util.List<FHandle> findContentAsync(io.nessus.Wallet.Address owner, long timeout)
public byte[] createFileData(FHandle fhandle)
public FHandle getHandleFromTx(io.nessus.Wallet.Address owner, io.nessus.UTXO utxo)
public FHandle createFHandleTree(FHandle fhandle) throws java.io.IOException
java.io.IOExceptionpublic 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.