Esempio n. 1
0
  public void verifyMatch(
      int maxFARRequested,
      int maxFRRRequested,
      boolean FARPrecedence,
      byte[] sampleBIR,
      byte[] referenceBIR,
      byte[][] adaptedBIR,
      boolean[] result,
      int[] FARAchieved,
      int[] FRRAchieved,
      byte[][] payload)
      throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.verifyMatch(
          maxFARRequested,
          maxFRRRequested,
          FARPrecedence,
          sampleBIR,
          referenceBIR,
          adaptedBIR,
          result,
          FARAchieved,
          FRRAchieved,
          payload);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }