com.bankframe.services.devices.MTMiniMicr
Class MagTekMiniMicr
java.lang.Object
com.bankframe.services.devices.MCASerialPort
com.bankframe.services.devices.MTMiniMicr.MagTekMiniMicr
- All Implemented Interfaces:
- MCADevice, Serializable, EventListener, javax.comm.CommPortOwnershipListener
public class MagTekMiniMicr
- extends MCASerialPort
- implements Serializable
- See Also:
- Serialized Form
Fields inherited from interface javax.comm.CommPortOwnershipListener |
PORT_OWNED, PORT_OWNERSHIP_REQUESTED, PORT_UNOWNED |
Methods inherited from class com.bankframe.services.devices.MCASerialPort |
available, close, disableNotifications, disableReceiveFraming, disableReceiveThreshold, disableReceiveTimeout, enableNotifications, enableReceiveFraming, enableReceiveThreshold, enableReceiveTimeout, getBaudRate, getBufferedInputStream, getDataBits, getDeviceName, getFlowControlMode, getInputStream, getOutputStream, getParity, getReceivedData, getReceiveFramingByte, getReceiveThreshold, getReceiveTimeout, getStopBits, isCD, isCTS, isDSR, isDTR, isReceiveFramingEnabled, isReceiveThresholdEnabled, isReceiveTimeoutEnabled, isRI, isRTS, open, ownershipChange, read, read, restartInputThread, sendBreak, setDeviceName, setDTR, setFlowControlMode, setRcvFifoTrigger, setRTS, toString, waitforDataAvailable, write, write |
MagTekMiniMicr
public MagTekMiniMicr(String deviceName)
throws DeviceException
- Throws:
DeviceException
requestCommand
public String requestCommand(String command,
boolean bWait,
int waitTimeout)
throws DeviceException
- Throws:
DeviceException
setCommand
public void setCommand(String command)
throws DeviceException
- Throws:
DeviceException
setCommand
public void setCommand(String command,
byte commandByte)
throws DeviceException
- Throws:
DeviceException
setSerialPortParams
public void setSerialPortParams(int baud,
int databits,
int stopbits,
int parity)
throws DeviceException
- Description copied from class:
MCASerialPort
- This method sets the serial port paramaters for this device
- Overrides:
setSerialPortParams
in class MCASerialPort
- Parameters:
baud
- intdatabits
- intstopbits
- intparity
- int
- Throws:
DeviceException
Copyright © 2005, 2007, Oracle. All rights reserved.