Interface IOptimizationEventListener

All Known Subinterfaces:
IOptimization
All Known Implementing Classes:
Optimization, OptimizationEventListener

public interface IOptimizationEventListener
The listener interface for receiving IOptimizationEvent events. The class that is interested in processing a IOptimizationEvent event implements this interface, and the object created with that class is registered with a component using the component's addIOptimizationEventListener method. When the IOptimizationEvent event occurs, that object's appropriate method is invoked.
See Also:
  • Method Details

    • onError

      void onError(int code, String message)
      On error.
      Parameters:
      code - the code
      message - the message
    • onError

      void onError(IErrorEvent errorEvent)
      On error.
      Parameters:
      errorEvent - the error event
    • onStatus

      void onStatus(int code, String message)
      On status.
      Parameters:
      code - the code
      message - the message
    • onStatus

      void onStatus(IStatusEvent statusEvent)
      On status.
      Parameters:
      statusEvent - the status event
    • onWarning

      void onWarning(int code, String message)
      On warning.
      Parameters:
      code - the code
      message - the message
    • onWarning

      void onWarning(IWarningEvent iWarningEvent)
      On warning.
      Parameters:
      iWarningEvent - the i warning event
    • onProgress

      void onProgress(String winnerProgressString)
      On progress. Use onProgress(IOptimizationProgress) instead
      Parameters:
      winnerProgressString - the winner progress string
    • onProgress

      void onProgress(IOptimizationProgress rapoptProgress)
      On progress.
      Parameters:
      rapoptProgress - the cur best entity
    • onAsynchronousOptimizationResult

      void onAsynchronousOptimizationResult(IOptimizationResult rapoptResult)
      On asynchronous optimization result.
      Parameters:
      rapoptResult - the winner
    • onNodeFiltering

      void onNodeFiltering(int code, String message, List<INodeFilterReason> filterReasons)
      On node filtering.
      Parameters:
      code - the code
      message - the message
      filterReasons - the filter reasons
    • onNodeFiltering

      void onNodeFiltering(NodeFilteringEvent nodeFilteringEvent)
      On node filtering.
      Parameters:
      nodeFilteringEvent - the node filtering event
    • onRequestCodeExecutionDone

      void onRequestCodeExecutionDone(String executionId)
      On asynch execution done.
      Parameters:
      executionId - the execution id
    • requestedAsynchronousOptimizationResult

      void requestedAsynchronousOptimizationResult(IOptimizationResult requestedresult)
      Requested asynchronous optimization result.
      Parameters:
      requestedresult - the requestedresult
    • onBeforeNodeFilteringOptimizationResult

      void onBeforeNodeFilteringOptimizationResult(IOptimizationResult requestedresult)
    • onAfterNodeFilteringOptimizationResult

      void onAfterNodeFilteringOptimizationResult(IOptimizationResult requestedresult)