Class BlockMinedListener

  • All Implemented Interfaces:
    org.exoplatform.container.component.ComponentPlugin, org.exoplatform.wallet.statistic.ExoWalletStatisticService

    public class BlockMinedListener
    extends org.exoplatform.services.listener.Listener<org.web3j.protocol.core.methods.response.EthBlock.Block,​Boolean>
    implements org.exoplatform.wallet.statistic.ExoWalletStatisticService
    • Field Summary

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

        desc, name
    • Constructor Summary

      Constructors 
      Constructor Description
      BlockMinedListener​(org.exoplatform.container.ExoContainer container, org.exoplatform.wallet.service.WalletTransactionService transactionService, org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)  
    • Constructor Detail

      • BlockMinedListener

        public BlockMinedListener​(org.exoplatform.container.ExoContainer container,
                                  org.exoplatform.wallet.service.WalletTransactionService transactionService,
                                  org.exoplatform.wallet.service.BlockchainTransactionService blockchainTransactionService)
    • Method Detail

      • onEvent

        public void onEvent​(org.exoplatform.services.listener.Event<org.web3j.protocol.core.methods.response.EthBlock.Block,​Boolean> event)
                     throws Exception
        Specified by:
        onEvent in class org.exoplatform.services.listener.Listener<org.web3j.protocol.core.methods.response.EthBlock.Block,​Boolean>
        Throws:
        Exception
      • getStatisticParameters

        public Map<String,​Object> getStatisticParameters​(String operation,
                                                               Object result,
                                                               Object... methodArgs)
        Specified by:
        getStatisticParameters in interface org.exoplatform.wallet.statistic.ExoWalletStatisticService