Interface ICalculatorService


  • public interface ICalculatorService
    Service provided by the process.
    • Method Detail

      • addValues

        IFuture<java.lang.Integer> addValues​(int a,
                                             int b)
        Add two values.
      • addValues

        IFuture<java.lang.Integer> addValues​(int a,
                                             int b,
                                             int c)
        Add three values.
      • subtractValues

        IFuture<java.lang.Integer> subtractValues​(int a,
                                                  int b)
        Subtract b from a.
        Parameters:
        a - The first value.
        b - The value to subtract from the first.
      • broken

        IFuture<java.lang.Void> broken​(int a)
        Method produces an exception.