Interface SokletSimulator.Simulation<E extends @NonNull Throwable>

Enclosing class:
SokletSimulator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

Simulation body with checked-exception transparency. One run invokes its body exactly once and never concurrently; implementations are not required to be thread-safe.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(@NonNull Simulator simulator)
    Executes against the transport-isolated simulator.
  • Method Details

    • run

      void run(@NonNull Simulator simulator) throws E
      Executes against the transport-isolated simulator.
      Parameters:
      simulator - transport-isolated simulator
      Throws:
      E - application-selected failure type