|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
---|
void close()
String getDeviceName()
void open() throws DeviceException
BankframeDevices.properties
resource file.
DeviceException
- This exception
is thrown if an error occurs when attempting to open/connect to the device.void setDeviceName(String deviceName)
deviceName
- The unique name for this device.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |