com.bankframe.services.devices
Interface MCADevice

All Known Implementing Classes:
MagTekIntelliPIN, MagTekMiniMicr, MCASerialPort, SlipPrinter

public interface MCADevice

All BankFrame MCA hardware devices must implement this interface.


Method Summary
 void close()
          This method closes the device.
 String getDeviceName()
          This method gets the unique name of this device.
 void open()
          This method opens the physical device on the portname specified in the BankframeDevices.properties resource file.
 void setDeviceName(String deviceName)
          This method sets the device name.
 

Method Detail

close

void close()
This method closes the device.


getDeviceName

String getDeviceName()
This method gets the unique name of this device.

Returns:
Name of this device.

open

void open()
          throws DeviceException
This method opens the physical device on the portname specified in the BankframeDevices.properties resource file.

Throws:
DeviceException - This exception is thrown if an error occurs when attempting to open/connect to the device.

setDeviceName

void setDeviceName(String deviceName)
This method sets the device name.

Parameters:
deviceName - The unique name for this device.


Copyright © 2005, 2007, Oracle. All rights reserved.