com.bankframe.services.devices
Interface MCADevice

All Known Implementing Classes:
MCASerialPort

public interface MCADevice

All BankFrame MCA hardware devices must implement this interface.


Method Summary
 void close()
          This method closes the device.
 java.lang.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(java.lang.String deviceName)
          This method sets the device name.
 

Method Detail

close

public void close()
This method closes the device.


getDeviceName

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

Returns:
Name of this device.

open

public 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

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

Parameters:
deviceName - The unique name for this device.


Copyright © 2005 Siebel Systems, Inc. All rights reserved.