Class AdaptableExecutor

  • All Implemented Interfaces:
    IExecutor

    public class AdaptableExecutor
    extends java.lang.Object
    implements IExecutor
    IExecutor implementation that uses the AdaptableEVM to add external functions to certain points of an EVM based program.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void endExecution​(java.lang.String transactionID)
      Signals the end of the execution,It receives the transaction ID as a parameter
      void execute​(java.util.Iterator<Activation<?>> activations)
      executes a given set of EVM Activation.
      Context getContext()
      Returns the Context of the executor.
      void startExecution​(java.lang.String transactionID)
      Signals the beginning of the execution,It receives the transaction ID as a parameter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • startExecution

        public void startExecution​(java.lang.String transactionID)
        Description copied from interface: IExecutor
        Signals the beginning of the execution,It receives the transaction ID as a parameter
        Specified by:
        startExecution in interface IExecutor
      • endExecution

        public void endExecution​(java.lang.String transactionID)
        Description copied from interface: IExecutor
        Signals the end of the execution,It receives the transaction ID as a parameter
        Specified by:
        endExecution in interface IExecutor
      • getContext

        public Context getContext()
        Description copied from interface: IExecutor
        Returns the Context of the executor. The return value should never be null.
        Specified by:
        getContext in interface IExecutor