Class ContractTransactionMinedListener

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

public class ContractTransactionMinedListener extends org.exoplatform.services.listener.Listener<String,org.exoplatform.wallet.model.ContractTransactionEvent>
Triggered when a contract transaction is mined. This listener will not be triggered for ether transactions bu it will verify at the same time that the sender wallet doesn't have any pending ether transaction, else it will be verified. (Thus for Wallet initializations, the ether transactions are sent before contract sending to ensure to get the ether transaction mined before token transaction all time, because it will use a lower nonce)
  • Field Summary

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

    desc, name
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    onEvent(org.exoplatform.services.listener.Event<String,org.exoplatform.wallet.model.ContractTransactionEvent> 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

    • ContractTransactionMinedListener

      public ContractTransactionMinedListener(org.exoplatform.wallet.service.WalletTransactionService walletTransactionService, org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)
  • Method Details

    • onEvent

      public void onEvent(org.exoplatform.services.listener.Event<String,org.exoplatform.wallet.model.ContractTransactionEvent> event) throws Exception
      Throws:
      Exception