Interface SimulatedExchangeOperationListener

All Known Implementing Classes:
RandomExceptionThrower

public interface SimulatedExchangeOperationListener
Listener which is called every time the SimulatedExchange performs an operation.

Pass instances to ExchangeSpecification.getExchangeSpecificParametersItem(String) using the parameter name SimulatedExchange.ON_OPERATION_PARAM to have them called back.

See RandomExceptionThrower for an example implementation.

Author:
Graham Crockford
  • Method Summary

    Modifier and Type Method Description
    void onSimulatedExchangeOperation()
    Called every time
  • Method Details

    • onSimulatedExchangeOperation

      void onSimulatedExchangeOperation() throws IOException
      Called every time
      Throws:
      IOException