public class EthereumBlockchainTransactionService extends Object implements org.exoplatform.addon.wallet.service.BlockchainTransactionService, ExoBlockchainTransactionService, org.picocontainer.Startable
| Constructor and Description |
|---|
EthereumBlockchainTransactionService(EthereumClientConnector ethereumClientConnector,
ClassLoader webappClassLoader) |
| Modifier and Type | Method and Description |
|---|---|
int |
checkPendingTransactions(long pendingTransactionMaxDays) |
void |
computeContractTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
Object transactionReceipt) |
org.exoplatform.addon.wallet.model.transaction.TransactionDetail |
computeTransactionDetail(String hash,
org.exoplatform.addon.wallet.model.ContractDetail contractDetail) |
org.exoplatform.addon.wallet.model.transaction.TransactionDetail |
computeTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
org.exoplatform.addon.wallet.model.ContractDetail contractDetail) |
ClassLoader |
getWebappClassLoader() |
void |
scanNewerBlocks() |
void |
start() |
void |
stop() |
public EthereumBlockchainTransactionService(EthereumClientConnector ethereumClientConnector, ClassLoader webappClassLoader)
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic ClassLoader getWebappClassLoader()
getWebappClassLoader in interface ExoBlockchainTransactionServicepublic int checkPendingTransactions(long pendingTransactionMaxDays)
checkPendingTransactions in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServicepublic void scanNewerBlocks()
throws InterruptedException,
IOException
scanNewerBlocks in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceInterruptedExceptionIOExceptionpublic org.exoplatform.addon.wallet.model.transaction.TransactionDetail computeTransactionDetail(String hash, org.exoplatform.addon.wallet.model.ContractDetail contractDetail) throws InterruptedException
computeTransactionDetail in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceInterruptedExceptionpublic org.exoplatform.addon.wallet.model.transaction.TransactionDetail computeTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
org.exoplatform.addon.wallet.model.ContractDetail contractDetail)
throws InterruptedException
computeTransactionDetail in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceInterruptedExceptionpublic void computeContractTransactionDetail(org.exoplatform.addon.wallet.model.transaction.TransactionDetail transactionDetail,
Object transactionReceipt)
computeContractTransactionDetail in interface org.exoplatform.addon.wallet.service.BlockchainTransactionServiceCopyright © 2003–2019 eXo Platform SAS. All rights reserved.