com.meiglobal.ebds.api.pub
Class Acceptor

java.lang.Object
  extended by com.meiglobal.ebds.api.pub.Acceptor

Deprecated. Please use the acceptor class located in com.meiglobal.ebds.api.

public class Acceptor
extends java.lang.Object

Main API class used to communicate with the Device, this class is a wrapper of the actual Device class.


Constructor Summary
Acceptor()
          Deprecated. Default constructor.
 
Method Summary
 void addAcceptorEventListener(AcceptorEventListener listener)
          Deprecated. Adds a listener for the events fired by the acceptor.
 void calibrate()
          Deprecated. Issues a calibration command to the device for it to perform the calibration process.
 void clearCashBoxTotal()
          Deprecated. Issues a command to the device to clear the cashbox total
 void close()
          Deprecated. Closes the connection with the device.
 void escrowReturn()
          Deprecated. Informs the device that the escrowed bill should be returned.
 void escrowStack()
          Deprecated. Informs the device that the escrowed bill should be stacked.
 void flashDownload(java.lang.String filePath)
          Deprecated. Downloads a flash file to the Device
 java.lang.String getApplicationId()
          Deprecated. Retrieves the application Id from the device.
 java.lang.String getApplicationPN()
          Deprecated. Retrieves the device's part number.
 java.lang.String getAssetNumber()
          Deprecated. Returns the asset number
 AuditLifeTimeTotals GetAuditLifeTimeTotals()
          Deprecated. Used to retrieve the device's audit life time totals
 AuditPerformance GetAuditPerformance()
          Deprecated. Used to retrieve the device's performance values
 AuditQP GetAuditQP()
          Deprecated. Used to retrieve the device's Audit QP
 boolean getAutoStack()
          Deprecated. Getter for the Auto Stack property
 java.lang.String getBarCode()
          Deprecated. Getter for the bar code value for the escrowed document.
 Bill getBill()
          Deprecated. Getter for the Bill object for the escrowed document.
 java.util.List<java.lang.Boolean> getBillTypeEnables()
          Deprecated. Returns a List of the bill types that are enabled on the the device.
 java.util.List<Bill> getBillTypes()
          Deprecated. Returns a List of the bill types for the device.
 java.util.List<java.lang.Boolean> getBillValueEnables()
          Deprecated. Returns a list of the bill values that are enabled on the device.
 java.util.List<Bill> getBillValues()
          Deprecated. Returns a list of the bill values on the device.
 BNFStatus GetBNFStatus()
          Deprecated. Returns the device's BNF status.
 java.lang.String getBootPN()
          Deprecated. Returns the device's Boot PN.
 boolean getCapApplicationId()
          Deprecated. Getter for the device's application id capability.
 boolean getCapApplicationPN()
          Deprecated. Getter for the device's application PN capability.
 boolean getCapAssetNumber()
          Deprecated. Getter for the device's asset number capability.
 boolean getCapAudit()
          Deprecated. Getter for the device's auditing capability.
 boolean getCapBarCodes()
          Deprecated. Getter for the device's bar code support.
 boolean getCapBarCodesExt()
          Deprecated. Getter for the device's bar codes extended support.
 boolean getCapBNFStatus()
          Deprecated. Getter for the device's BNF status capability.
 boolean getCapBookmark()
          Deprecated. Getter for the device's Bookmark capability.
 boolean getCapBootPN()
          Deprecated. Getter for the device's Boot PN capability.
 boolean getCapCalibrate()
          Deprecated. Getter for the device's calibration capability.
 boolean getCapCashBoxTotal()
          Deprecated. Getter for the device's cash box total capability.
 boolean getCapCouponExt()
          Deprecated. Getter for the device's coupon extention capability.
 boolean getCapDevicePaused()
          Deprecated. Getter for the device's paused capability.
 boolean getCapDeviceResets()
          Deprecated. Getter for the device's reset count capability.
 boolean getCapDeviceSerialNumber()
          Deprecated. Getter for the device's serial number capability.
 boolean getCapDeviceSoftReset()
          Deprecated. Getter for the device's soft reset capability.
 boolean getCapDeviceType()
          Deprecated. Getter for the device's type support.
 boolean getCapEasitrax()
          Deprecated. Getter for the device's Easitrax capability.
 boolean getCapEscrowTimeout()
          Deprecated. Getter for the device's escrow timeout capability.
 boolean getCapFlashDownload()
          Deprecated. Getter for the device's flash upgrade capability.
 boolean getCapNoPush()
          Deprecated. Getter for the device's no push capability.
 boolean getCapNoteRetrieved()
          Deprecated. Getter for the device's note retrieved capability.
 boolean getCapOrientationExt()
          Deprecated. Getter for the device's orientation extention support.
 boolean getCapPupExt()
          Deprecated. Getter for the device's PUP extention.
 boolean getCapSetBezel()
          Deprecated. Getter for the device's set bezel support.
 boolean getCapTestDoc()
          Deprecated. Getter for the device's test document support.
 boolean getCapVariantId()
          Deprecated. Getter for the device's variant id capability.
 boolean getCapVariantPN()
          Deprecated. Getter for the device's variant PN capability.
 boolean getCashBoxAttached()
          Deprecated. Getter for the device's cash box status.
 boolean getCashBoxFull()
          Deprecated. Getter for the device's cash box full status.
 long getCashBoxTotal()
          Deprecated. Getter for the device's cash box total.
 boolean getConnected()
          Deprecated. Getter for the Device's connected status.
 Coupon getCoupon()
          Deprecated. Returns the device's escrowed coupon
 boolean getDebugLog()
          Deprecated. Getter for the device's debug log status.
 java.lang.String getDebugLogPath()
          Deprecated. Getter for the debug log file path.
 boolean getDeviceBusy()
          Deprecated. Informs wether the device is busy.
 long getDeviceCRC()
          Deprecated. Retrieves the device CRC value.
 boolean getDeviceFailure()
          Deprecated. Informs wether the device has failed.
 boolean getDeviceJammed()
          Deprecated. Informs wether the device is jammed.
 long getDeviceModel()
          Deprecated. Returns the device Model.
 boolean getDevicePaused()
          Deprecated. Informs wether the device is paused.
 java.lang.String getDevicePortName()
          Deprecated. Retrieves the device port name.
 PowerUp getDevicePowerUp()
          Deprecated. Informs of the device power up option.
 long getDeviceResets()
          Deprecated. Retrieves the device's total resets.
 long getDeviceRevision()
          Deprecated. Retrieves the device's revision.
 java.lang.String getDeviceSerialNumber()
          Deprecated. Retrieves the device's serial number.
 boolean getDeviceStalled()
          Deprecated. Informs wether the device is stalled.
 State getDeviceState()
          Deprecated. Informs the currrent device state.
 java.lang.String getDeviceType()
          Deprecated. Retrieves the device type.
 int getDisconnectTimeout()
          Deprecated. Gets the Disconnect Timeout property in milliseconds.
 DocumentType getDocType()
          Deprecated. Informs of the escrowed document type.
 int getDownloadTimeout()
          Deprecated. Informs the download timeout.
 boolean getEnableAcceptance()
          Deprecated. Returns the device current acceptance status.
 boolean getEnableBarCodes()
          Deprecated. Informs of the device's barcode acceptance.
 boolean getEnableBookmarks()
          Deprecated. Informs the device's bookmarks status.
 boolean getEnableCouponExt()
          Deprecated. Informs the device's Coupon extension status.
 boolean getEnableNoPush()
          Deprecated. Informs the device's No Push status.
 Orientation getEscrowOrientation()
          Deprecated. Returns the device's escrow orientation.
 boolean getHighSecurity()
          Deprecated. Returns the device's high security status.
 OrientationControl getOrientationControl()
          Deprecated. Informs the device's orientation control.
 OrientationControl getOrientationCtlExt()
          Deprecated. Informs the device's orientation control ext.
 boolean getSupressStandardPoll()
          Deprecated. Informs if the standard poll has been supressed.
 int getTransactionTimeout()
          Deprecated. Transaction timeout no longer has meaning
 java.lang.String getVariantId()
          Deprecated. Retrieves the device's variant id.
 java.util.List<java.lang.String> getVariantNames()
          Deprecated. Retrieves the device's variant name.
 java.lang.String getVariantPN()
          Deprecated. Retrieves the device's part number.
static java.lang.String getVersion()
          Deprecated. Retrieves the API's version.
 boolean isInSoftResetWaitForReply()
          Deprecated. Informs if the device is in soft reset.
static java.lang.String[] listPorts()
          Deprecated. Return a list of available ports.
 void log(java.util.logging.Level level, java.lang.String message)
          Deprecated. Logs a message.
 void open(java.lang.String port, PowerUp powerUp)
          Deprecated. Opens the connection between the host and the device
 byte[] rawTransaction(byte[] command)
          Deprecated. Allows the Host to send a raw transaction.
 void removeAcceptorEventListener(AcceptorEventListener listener)
          Deprecated. Removes a previously added listener for the events fired by the acceptor.
 void setAssetNumber(java.lang.String asset)
          Deprecated. Sets the device's asset number.
 void setAutoStack(boolean autoStack)
          Deprecated. Setter for the Auto Stack property
 void setBezel(Bezel bezel)
          Deprecated. Sets the bezeil policy for the device.
 void setBillTypesEnables(java.util.List<java.lang.Boolean> enablesTypes)
          Deprecated. Sets the List of enabled bill types on the device.
 void setBillValueEnables(java.util.List<java.lang.Boolean> enablesValue)
          Deprecated. Sets the List of enabled bill values on the device.
 void setDebugLog(boolean newVal)
          Deprecated. Sets the status for the debug log.
 void setDebugLogPath(java.lang.String debugLogPath)
          Deprecated. Setter for the debug log file path.
 void setDisconnectTimeout(int timeout)
          Deprecated. Sets the Disconnect Timeout property in milliseconds.
 void setDownloadTimeout(int downloadTimeout)
          Deprecated. Sets the download timeout.
 void setEnableAcceptance(boolean enableAcceptance)
          Deprecated. Sets the device's acceptance status.
 void setEnableBarCodes(boolean enableBarCodes)
          Deprecated. Sets the device's barcode acceptance.
 void setEnableBookmarks(boolean enableBookmarks)
          Deprecated. Sets the device's bookmarks status.
 void setEnableCouponExt(boolean enableCouponExt)
          Deprecated. Sets the device's coupon extension status.
 void setEnableNoPush(boolean enableNoPush)
          Deprecated. Sets the device's No Push status.
 void setHighSecurity(boolean highSecurity)
          Deprecated. Sets the device's high security status.
 void setOrientationControl(OrientationControl orientationControl)
          Deprecated. Sets the device's orientation control.
 void SetOrientationCtlExt(OrientationControl orientationControlExt)
          Deprecated. Sets the device's orientation control ext.
 void setTransactionTimeout(int timeout)
          Deprecated. Can no longer modify transaction timeout
 void SoftReset()
          Deprecated. Performs a soft reset on the device.
 void specifyEscrowTimeout(int billTimeout, int barcodeTimeout)
          Deprecated. Specifies the escrow timeout for the device.
 void specifyPupExt(char pupMode, PupExt preEscrow, PupExt atEscrow, PupExt postEscrow, PupExt preStack)
          Deprecated. This feature is not supported
 boolean stopDownload()
          Deprecated. Stops the download process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Acceptor

public Acceptor()
Deprecated. 
Default constructor.

Method Detail

getSupressStandardPoll

public boolean getSupressStandardPoll()
Deprecated. 
Informs if the standard poll has been supressed.

Returns:
true if it is supressed.

open

public void open(java.lang.String port,
                 PowerUp powerUp)
          throws AcceptorException
Deprecated. 
Opens the connection between the host and the device

Parameters:
port - the name of the port to use
powerUp - the type of powerup
Throws:
AcceptorException - If an error occurs during connection.

close

public void close()
Deprecated. 
Closes the connection with the device.


escrowReturn

public void escrowReturn()
                  throws AcceptorException
Deprecated. 
Informs the device that the escrowed bill should be returned.

Throws:
AcceptorException - if the device is not connected.

escrowStack

public void escrowStack()
                 throws AcceptorException
Deprecated. 
Informs the device that the escrowed bill should be stacked.

Throws:
AcceptorException - if the device is not connected.

getApplicationId

public java.lang.String getApplicationId()
                                  throws AcceptorException
Deprecated. 
Retrieves the application Id from the device.

Returns:
The application Id.
Throws:
AcceptorException - if this property is not supported or there is an error with the device.

getApplicationPN

public java.lang.String getApplicationPN()
                                  throws AcceptorException
Deprecated. 
Retrieves the device's part number.

Returns:
The device part number
Throws:
AcceptorException - if this property is not supported or there is an error with the device.

GetAuditLifeTimeTotals

public AuditLifeTimeTotals GetAuditLifeTimeTotals()
                                           throws AcceptorException
Deprecated. 
Used to retrieve the device's audit life time totals

Returns:
An object representing the totals
Throws:
AcceptorException - if this property is not supported or there is an error with the device.

GetAuditPerformance

public AuditPerformance GetAuditPerformance()
                                     throws AcceptorException
Deprecated. 
Used to retrieve the device's performance values

Returns:
An object representing the performance values
Throws:
AcceptorException - if this property is not supported or there is an error with the device.

GetAuditQP

public AuditQP GetAuditQP()
                   throws AcceptorException
Deprecated. 
Used to retrieve the device's Audit QP

Returns:
An object representing the Audit QP values
Throws:
AcceptorException - if this property is not supported or there is an error with the device.

getAutoStack

public boolean getAutoStack()
Deprecated. 
Getter for the Auto Stack property

Returns:
the autostack status

setAutoStack

public void setAutoStack(boolean autoStack)
                  throws AcceptorException
Deprecated. 
Setter for the Auto Stack property

Parameters:
autoStack - the new value for the property
Throws:
AcceptorException - if the device is not connected.

getBarCode

public java.lang.String getBarCode()
                            throws AcceptorException
Deprecated. 
Getter for the bar code value for the escrowed document.

Returns:
the bar code value.
Throws:
AcceptorException - if the document type is not a barcode

getBill

public Bill getBill()
             throws AcceptorException
Deprecated. 
Getter for the Bill object for the escrowed document.

Returns:
the Bill object
Throws:
AcceptorException - if the document type is not a bill

getBillTypes

public java.util.List<Bill> getBillTypes()
Deprecated. 
Returns a List of the bill types for the device.

Returns:
the Bill Types List.

getBillTypeEnables

public java.util.List<java.lang.Boolean> getBillTypeEnables()
Deprecated. 
Returns a List of the bill types that are enabled on the the device.

Returns:
the List of enabled bill types.

setBillTypesEnables

public void setBillTypesEnables(java.util.List<java.lang.Boolean> enablesTypes)
                         throws AcceptorException
Deprecated. 
Sets the List of enabled bill types on the device.

Parameters:
enablesTypes - The list of enabled bill types.
Throws:
AcceptorException - if the device is not connected, or the size of the enabled bill types is different from the bill types list.

getBillValues

public java.util.List<Bill> getBillValues()
Deprecated. 
Returns a list of the bill values on the device.

Returns:
The list of bill values.

getBillValueEnables

public java.util.List<java.lang.Boolean> getBillValueEnables()
Deprecated. 
Returns a list of the bill values that are enabled on the device.

Returns:
the list of enabled bill values

setBillValueEnables

public void setBillValueEnables(java.util.List<java.lang.Boolean> enablesValue)
                         throws AcceptorException
Deprecated. 
Sets the List of enabled bill values on the device.

Parameters:
enablesValue - The list of enabled bill values to set.
Throws:
AcceptorException - if the device is not connected.

GetBNFStatus

public BNFStatus GetBNFStatus()
                       throws AcceptorException
Deprecated. 
Returns the device's BNF status.

Returns:
The device's BNF status.
Throws:
AcceptorException - if the property is not allowed or an error occurs.

getBootPN

public java.lang.String getBootPN()
                           throws AcceptorException
Deprecated. 
Returns the device's Boot PN.

Returns:
The device's Boot PN.
Throws:
AcceptorException - if the property is not allowed or an error occurs.

getCapApplicationId

public boolean getCapApplicationId()
Deprecated. 
Getter for the device's application id capability.

Returns:
the support status for this property.

getCapApplicationPN

public boolean getCapApplicationPN()
Deprecated. 
Getter for the device's application PN capability.

Returns:
the support status for this property.

getCapDeviceSoftReset

public boolean getCapDeviceSoftReset()
Deprecated. 
Getter for the device's soft reset capability.

Returns:
the support status for this property.

getCapAssetNumber

public boolean getCapAssetNumber()
Deprecated. 
Getter for the device's asset number capability.

Returns:
the support status for this property.

getCapAudit

public boolean getCapAudit()
Deprecated. 
Getter for the device's auditing capability.

Returns:
the support status for this property.

getCapBarCodes

public boolean getCapBarCodes()
Deprecated. 
Getter for the device's bar code support.

Returns:
the support status for this property.

getCapBarCodesExt

public boolean getCapBarCodesExt()
Deprecated. 
Getter for the device's bar codes extended support.

Returns:
the support status for this property.

getCapBNFStatus

public boolean getCapBNFStatus()
Deprecated. 
Getter for the device's BNF status capability.

Returns:
the support status for this property.

getCapBookmark

public boolean getCapBookmark()
Deprecated. 
Getter for the device's Bookmark capability.

Returns:
the support status for this property.

getCapBootPN

public boolean getCapBootPN()
Deprecated. 
Getter for the device's Boot PN capability.

Returns:
the support status for this property.

getCapCalibrate

public boolean getCapCalibrate()
Deprecated. 
Getter for the device's calibration capability.

Returns:
the support status for this property.

getCapCashBoxTotal

public boolean getCapCashBoxTotal()
Deprecated. 
Getter for the device's cash box total capability.

Returns:
the support status for this property.

getCapCouponExt

public boolean getCapCouponExt()
Deprecated. 
Getter for the device's coupon extention capability.

Returns:
the support status for this property.

getCapEasitrax

public boolean getCapEasitrax()
Deprecated. 
Getter for the device's Easitrax capability.

Returns:
the support status for this property.

getCapDevicePaused

public boolean getCapDevicePaused()
Deprecated. 
Getter for the device's paused capability.

Returns:
the support status for this property.

getCapDeviceType

public boolean getCapDeviceType()
Deprecated. 
Getter for the device's type support.

Returns:
the support status for this property.

getCapDeviceResets

public boolean getCapDeviceResets()
Deprecated. 
Getter for the device's reset count capability.

Returns:
the support status for this property.

getCapDeviceSerialNumber

public boolean getCapDeviceSerialNumber()
Deprecated. 
Getter for the device's serial number capability.

Returns:
the support status for this property.

getCapEscrowTimeout

public boolean getCapEscrowTimeout()
Deprecated. 
Getter for the device's escrow timeout capability.

Returns:
the support status for this property.

getCapFlashDownload

public boolean getCapFlashDownload()
Deprecated. 
Getter for the device's flash upgrade capability.

Returns:
the support status for this property.

getCapNoPush

public boolean getCapNoPush()
Deprecated. 
Getter for the device's no push capability.

Returns:
the support status for this property.

getCapNoteRetrieved

public boolean getCapNoteRetrieved()
Deprecated. 
Getter for the device's note retrieved capability.

Returns:
the support status for this property.

getCapOrientationExt

public boolean getCapOrientationExt()
Deprecated. 
Getter for the device's orientation extention support.

Returns:
the support status for this property.

getCapPupExt

public boolean getCapPupExt()
Deprecated. 
Getter for the device's PUP extention.

Returns:
the support status for this property.

getCapTestDoc

public boolean getCapTestDoc()
Deprecated. 
Getter for the device's test document support.

Returns:
the support status for this property.

getCapSetBezel

public boolean getCapSetBezel()
Deprecated. 
Getter for the device's set bezel support.

Returns:
the support status for this property.

getCapVariantId

public boolean getCapVariantId()
Deprecated. 
Getter for the device's variant id capability.

Returns:
the support status for this property.

getCapVariantPN

public boolean getCapVariantPN()
Deprecated. 
Getter for the device's variant PN capability.

Returns:
the support status for this property.

getCashBoxAttached

public boolean getCashBoxAttached()
Deprecated. 
Getter for the device's cash box status.

Returns:
wether a cash box is attached or not.

getCashBoxFull

public boolean getCashBoxFull()
Deprecated. 
Getter for the device's cash box full status.

Returns:
wether the cashox is full or not.

getCashBoxTotal

public long getCashBoxTotal()
                     throws AcceptorException
Deprecated. 
Getter for the device's cash box total.

Returns:
the total in the device's cash box.
Throws:
AcceptorException - it the property is not supported or if there is an error.

getConnected

public boolean getConnected()
Deprecated. 
Getter for the Device's connected status.

Returns:
wether the device is connected or not.

getCoupon

public Coupon getCoupon()
                 throws AcceptorException
Deprecated. 
Returns the device's escrowed coupon

Returns:
the coupon
Throws:
AcceptorException - if the document type is not a coupon

getDebugLog

public boolean getDebugLog()
Deprecated. 
Getter for the device's debug log status.

Returns:
wether the debug log is active or not.

setDebugLog

public void setDebugLog(boolean newVal)
                 throws AcceptorException
Deprecated. 
Sets the status for the debug log.

Parameters:
newVal - the status to set.
Throws:
AcceptorException - If there is a problem with the debug log file.

getDebugLogPath

public java.lang.String getDebugLogPath()
Deprecated. 
Getter for the debug log file path.

Returns:
the path.

setDebugLogPath

public void setDebugLogPath(java.lang.String debugLogPath)
Deprecated. 
Setter for the debug log file path.

Parameters:
debugLogPath - the path for the file.

getDeviceBusy

public boolean getDeviceBusy()
Deprecated. 
Informs wether the device is busy.

Returns:
true if the device is idling, false otherwise.

getDeviceCRC

public long getDeviceCRC()
                  throws AcceptorException
Deprecated. 
Retrieves the device CRC value.

Returns:
the device CRC.
Throws:
AcceptorException - If the proerty is not allowed or an error occurs.

getDeviceFailure

public boolean getDeviceFailure()
Deprecated. 
Informs wether the device has failed.

Returns:
true if the device state is failed.

getDeviceJammed

public boolean getDeviceJammed()
Deprecated. 
Informs wether the device is jammed.

Returns:
true if the device is jammed.

getDeviceModel

public long getDeviceModel()
Deprecated. 
Returns the device Model.

Returns:
the device model.

getDevicePaused

public boolean getDevicePaused()
Deprecated. 
Informs wether the device is paused.

Returns:
true if the device is paused.

getDevicePortName

public java.lang.String getDevicePortName()
Deprecated. 
Retrieves the device port name.

Returns:
the device port name.

getDevicePowerUp

public PowerUp getDevicePowerUp()
Deprecated. 
Informs of the device power up option.

Returns:
The device power up option.

getDeviceResets

public long getDeviceResets()
                     throws AcceptorException
Deprecated. 
Retrieves the device's total resets.

Returns:
The number of resets.
Throws:
AcceptorException - if the property is not supported or there is a communications error.

getDeviceRevision

public long getDeviceRevision()
Deprecated. 
Retrieves the device's revision.

Returns:
The device revision.

getDeviceSerialNumber

public java.lang.String getDeviceSerialNumber()
                                       throws AcceptorException
Deprecated. 
Retrieves the device's serial number.

Returns:
The device's serial number.
Throws:
AcceptorException - If ther property is not supported or a communications error occurs.

getDeviceStalled

public boolean getDeviceStalled()
Deprecated. 
Informs wether the device is stalled.

Returns:
True if the device is stalled.

getDeviceState

public State getDeviceState()
Deprecated. 
Informs the currrent device state.

Returns:
The device state.

getDeviceType

public java.lang.String getDeviceType()
                               throws AcceptorException
Deprecated. 
Retrieves the device type.

Returns:
The device type.
Throws:
AcceptorException - If the property is not supported or there is an error.

getDocType

public DocumentType getDocType()
Deprecated. 
Informs of the escrowed document type.

Returns:
the document type.

getTransactionTimeout

public int getTransactionTimeout()
Deprecated. Transaction timeout no longer has meaning

Informs the transaction timeout.

Returns:
The transaction timeout.

setTransactionTimeout

public void setTransactionTimeout(int timeout)
Deprecated. Can no longer modify transaction timeout

Sets the transaction timeout.

Parameters:
timeout - The timeout to set.

getDisconnectTimeout

public int getDisconnectTimeout()
Deprecated. 
Gets the Disconnect Timeout property in milliseconds. This value controls how long before the API raises a disconnected event when communications are lost.

Returns:
Timeout value

setDisconnectTimeout

public void setDisconnectTimeout(int timeout)
                          throws AcceptorException
Deprecated. 
Sets the Disconnect Timeout property in milliseconds. This value controls how long before the API raises a disconnected event when communications are lost.

Parameters:
timeout - Timeout in milliseconds
Throws:
AcceptorException - if the timeout value is less than or equal to zero.

getDownloadTimeout

public int getDownloadTimeout()
Deprecated. 
Informs the download timeout.

Returns:
The download timeout.

setDownloadTimeout

public void setDownloadTimeout(int downloadTimeout)
Deprecated. 
Sets the download timeout.

Parameters:
downloadTimeout - The timeout to set.

getEnableAcceptance

public boolean getEnableAcceptance()
Deprecated. 
Returns the device current acceptance status.

Returns:
True if it is enabled, false otherwise.

setEnableAcceptance

public void setEnableAcceptance(boolean enableAcceptance)
                         throws AcceptorException
Deprecated. 
Sets the device's acceptance status.

Parameters:
enableAcceptance - The status to set.
Throws:
AcceptorException

getEnableBarCodes

public boolean getEnableBarCodes()
Deprecated. 
Informs of the device's barcode acceptance.

Returns:
The barcode acceptance status.

setEnableBarCodes

public void setEnableBarCodes(boolean enableBarCodes)
                       throws AcceptorException
Deprecated. 
Sets the device's barcode acceptance.

Parameters:
enableBarCodes - Value to set.
Throws:
AcceptorException

getEnableBookmarks

public boolean getEnableBookmarks()
Deprecated. 
Informs the device's bookmarks status.

Returns:
true if bookmarks are enabled.

setEnableBookmarks

public void setEnableBookmarks(boolean enableBookmarks)
                        throws AcceptorException
Deprecated. 
Sets the device's bookmarks status.

Parameters:
enableBookmarks - The status to set.
Throws:
AcceptorException

getEnableCouponExt

public boolean getEnableCouponExt()
Deprecated. 
Informs the device's Coupon extension status.

Returns:
True if the coupons extensions is enabled.

setEnableCouponExt

public void setEnableCouponExt(boolean enableCouponExt)
                        throws AcceptorException
Deprecated. 
Sets the device's coupon extension status.

Parameters:
enableCouponExt - The status to set.
Throws:
AcceptorException

getEnableNoPush

public boolean getEnableNoPush()
Deprecated. 
Informs the device's No Push status.

Returns:
true if No Push is enabled.

setEnableNoPush

public void setEnableNoPush(boolean enableNoPush)
                     throws AcceptorException
Deprecated. 
Sets the device's No Push status.

Parameters:
enableNoPush - The status to set.
Throws:
AcceptorException

getEscrowOrientation

public Orientation getEscrowOrientation()
Deprecated. 
Returns the device's escrow orientation.

Returns:
The orientation if supported, unkwnown otherwise.

getHighSecurity

public boolean getHighSecurity()
Deprecated. 
Returns the device's high security status.

Returns:
True if the device is set to high security.

setHighSecurity

public void setHighSecurity(boolean highSecurity)
Deprecated. 
Sets the device's high security status.

Parameters:
highSecurity - The status to set.

getOrientationControl

public OrientationControl getOrientationControl()
Deprecated. 
Informs the device's orientation control.

Returns:
The device's orientation control.

setOrientationControl

public void setOrientationControl(OrientationControl orientationControl)
Deprecated. 
Sets the device's orientation control.

Parameters:
orientationControl - The orientation control to set.

getOrientationCtlExt

public OrientationControl getOrientationCtlExt()
Deprecated. 
Informs the device's orientation control ext.

Returns:
The device's orientation control ext.

SetOrientationCtlExt

public void SetOrientationCtlExt(OrientationControl orientationControlExt)
Deprecated. 
Sets the device's orientation control ext.

Parameters:
orientationControlExt - The orientation control to set.

getVariantNames

public java.util.List<java.lang.String> getVariantNames()
                                                 throws AcceptorException
Deprecated. 
Retrieves the device's variant name.

Returns:
The variant name.
Throws:
AcceptorException - If the property is not supported or there is an error.

getVariantId

public java.lang.String getVariantId()
                              throws AcceptorException
Deprecated. 
Retrieves the device's variant id.

Returns:
the device's variant id.
Throws:
AcceptorException - If the property is not supported or there is an error.

getVariantPN

public java.lang.String getVariantPN()
                              throws AcceptorException
Deprecated. 
Retrieves the device's part number.

Returns:
The device's part number.
Throws:
AcceptorException - If the property is not supported or there is an error.

getVersion

public static java.lang.String getVersion()
Deprecated. 
Retrieves the API's version.

Returns:
The API's version.

calibrate

public void calibrate()
               throws AcceptorException
Deprecated. 
Issues a calibration command to the device for it to perform the calibration process.

Throws:
AcceptorException - If an error occurs

flashDownload

public void flashDownload(java.lang.String filePath)
                   throws AcceptorException
Deprecated. 
Downloads a flash file to the Device

Parameters:
filePath - The path to the flash file
Throws:
AcceptorException - If an error occurs, the file is not found or is not possible to read it.

rawTransaction

public byte[] rawTransaction(byte[] command)
                      throws AcceptorException
Deprecated. 
Allows the Host to send a raw transaction.

Parameters:
command - The command to send.
Returns:
The command response.
Throws:
AcceptorException - If an error occurs during communication.

clearCashBoxTotal

public void clearCashBoxTotal()
                       throws AcceptorException
Deprecated. 
Issues a command to the device to clear the cashbox total

Throws:
AcceptorException

getAssetNumber

public java.lang.String getAssetNumber()
                                throws AcceptorException
Deprecated. 
Returns the asset number

Returns:
String - the asset number
Throws:
AcceptorException - If the device is not connected

setAssetNumber

public void setAssetNumber(java.lang.String asset)
                    throws AcceptorException
Deprecated. 
Sets the device's asset number.

Parameters:
asset - The asset number to set.
Throws:
AcceptorException - If the device is not connected or an error occurs.

setBezel

public void setBezel(Bezel bezel)
              throws AcceptorException
Deprecated. 
Sets the bezeil policy for the device.

Parameters:
bezel - The bezel to set.
Throws:
AcceptorException - If the device is not connected or an error occurs.

SoftReset

public void SoftReset()
               throws AcceptorException
Deprecated. 
Performs a soft reset on the device.

Throws:
AcceptorException - If an error occurs.

specifyEscrowTimeout

public void specifyEscrowTimeout(int billTimeout,
                                 int barcodeTimeout)
                          throws AcceptorException
Deprecated. 
Specifies the escrow timeout for the device.

Parameters:
billTimeout - Timeout for bills.
barcodeTimeout - Timeout for barcode documents.
Throws:
AcceptorException - If the device is not connected or an error occurs.

specifyPupExt

public void specifyPupExt(char pupMode,
                          PupExt preEscrow,
                          PupExt atEscrow,
                          PupExt postEscrow,
                          PupExt preStack)
                   throws AcceptorException
Deprecated. This feature is not supported

Specifies the device's PUP extension mode.

Parameters:
pupMode - PUP mode to set.
preEscrow - PUP mode to set for preEscrow state.
atEscrow - PUP mode to set during escrow.
postEscrow - PUP mode to set for post escrow state.
preStack - PUP mode to set for pre Stack state.
Throws:
AcceptorException - If the device is not connected or an error occurs.

log

public void log(java.util.logging.Level level,
                java.lang.String message)
Deprecated. 
Logs a message.

Parameters:
level - Log level
message - Message to log.

addAcceptorEventListener

public void addAcceptorEventListener(AcceptorEventListener listener)
Deprecated. 
Adds a listener for the events fired by the acceptor.

Parameters:
listener - The listeren to add.

removeAcceptorEventListener

public void removeAcceptorEventListener(AcceptorEventListener listener)
Deprecated. 
Removes a previously added listener for the events fired by the acceptor.

Parameters:
listener - listener to remove

isInSoftResetWaitForReply

public boolean isInSoftResetWaitForReply()
Deprecated. 
Informs if the device is in soft reset.

Returns:
true if it is in soft reset waiting for reply.

listPorts

public static java.lang.String[] listPorts()
Deprecated. 
Return a list of available ports.

Returns:
list of ports.

stopDownload

public boolean stopDownload()
Deprecated. 
Stops the download process.

Returns:
true always.