Ejemplo n.º 1
0
  public void identifyMatch(
      int maxFARRequested,
      int maxFRRRequested,
      boolean FARPrecedence,
      byte[] sampleBIR,
      byte[][] referenceBIRPopulation,
      int[][] candidateRanking)
      throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.identifyMatch(
          maxFARRequested,
          maxFRRRequested,
          FARPrecedence,
          sampleBIR,
          referenceBIRPopulation,
          candidateRanking);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 2
0
  public boolean getCapPrematchData() throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      return service110.getCapPrematchData();
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 3
0
  public void updateStatistics(String statisticsBuffer) throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.updateStatistics(statisticsBuffer);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 4
0
  public void endCapture() throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.endCapture();
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 5
0
  public void compareFirmwareVersion(String firmwareFileName, int[] result) throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.compareFirmwareVersion(firmwareFileName, result);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 6
0
  public void beginEnrollCapture(byte[] referenceBIR, 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.beginEnrollCapture(referenceBIR, payload);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 7
0
  public void setRealTimeDataEnabled(boolean enabled) throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.setRealTimeDataEnabled(enabled);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 8
0
  public void processPrematchData(byte[] capturedBIR, byte[] prematchDataBIR, byte[][] processedBIR)
      throws JposException {
    // Make sure control is opened
    if (!bOpen) {
      throw new JposException(JPOS_E_CLOSED, "Control not opened");
    }

    // Perform the operation
    try {
      service110.processPrematchData(capturedBIR, prematchDataBIR, processedBIR);
    } catch (JposException je) {
      throw je;
    } catch (Exception e) {
      throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e);
    }
  }
Ejemplo n.º 9
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);
    }
  }