public void accessDailyLog(int sequenceNumber, int type, int timeout) throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { service14.accessDailyLog(sequenceNumber, type, timeout); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public boolean getCapAuthorizeCompletion() throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { return service14.getCapAuthorizeCompletion(); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public String getTransactionType() throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { return service14.getTransactionType(); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public void setTrainingMode(boolean trainingMode) throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { service14.setTrainingMode(trainingMode); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public void setPowerNotify(int powerNotify) throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { service14.setPowerNotify(powerNotify); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public void setAdditionalSecurityInformation(String securityInfo) throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { service14.setAdditionalSecurityInformation(securityInfo); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }
public void authorizeVoid(int sequenceNumber, long amount, long taxOthers, int timeout) throws JposException { // Make sure control is opened if (!bOpen) { throw new JposException(JPOS_E_CLOSED, "Control not opened"); } // Perform the operation try { service14.authorizeVoid(sequenceNumber, amount, taxOthers, timeout); } catch (JposException je) { throw je; } catch (Exception e) { throw new JposException(JPOS_E_FAILURE, "Unhandled exception from Device Service", e); } }