Class TransactionWithNonceVerifierListener

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<Object,Map<String,Object>>
org.exoplatform.wallet.blockchain.listener.TransactionWithNonceVerifierListener
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin, org.exoplatform.services.listener.ListenerBase<Object,Map<String,Object>>

public class TransactionWithNonceVerifierListener extends org.exoplatform.services.listener.Listener<Object,Map<String,Object>>
A listener that is triggered once a contract transaction is mined. It will verify, for the sender of mined contract transaction, if there are other ether transactions sent and that remains pending. In fact, the Blockchain listening is done on contract transactions only, thus this will ensure to instantly refresh ether transactions state just after a contract transaction gets mined.
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Constructor
    Description
    TransactionWithNonceVerifierListener(org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService, org.exoplatform.wallet.service.WalletTransactionService transactionService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<Object,Map<String,Object>> event)
     

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.exoplatform.services.listener.ListenerBase

    getName
  • Constructor Details

    • TransactionWithNonceVerifierListener

      public TransactionWithNonceVerifierListener(org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService, org.exoplatform.wallet.service.WalletTransactionService transactionService)
  • Method Details