com.bankframe.services.devices.MTMiniMicr
Class MagTekMiniMicr

java.lang.Object
  extended bycom.bankframe.services.devices.MCASerialPort
      extended bycom.bankframe.services.devices.MTMiniMicr.MagTekMiniMicr
All Implemented Interfaces:
javax.comm.CommPortOwnershipListener, java.util.EventListener, MCADevice, java.io.Serializable

public class MagTekMiniMicr
extends MCASerialPort
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.bankframe.services.devices.MCASerialPort
SERIALPORT_BAUD, SERIALPORT_COMMDRIVER, SERIALPORT_DATABITS, SERIALPORT_FLOWCONTROL, SERIALPORT_NAME, SERIALPORT_PARITY, SERIALPORT_STOPBITS
 
Fields inherited from interface javax.comm.CommPortOwnershipListener
PORT_OWNED, PORT_OWNERSHIP_REQUESTED, PORT_UNOWNED
 
Constructor Summary
MagTekMiniMicr(java.lang.String deviceName)
           
 
Method Summary
 java.lang.String requestCommand(java.lang.String command, boolean bWait, int waitTimeout)
           
 void setCommand(java.lang.String command)
           
 void setCommand(java.lang.String command, byte commandByte)
           
 void setSerialPortParams(int baud, int databits, int stopbits, int parity)
          This method sets the serial port paramaters for this device
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MagTekMiniMicr

public MagTekMiniMicr(java.lang.String deviceName)
               throws DeviceException
Method Detail

requestCommand

public java.lang.String requestCommand(java.lang.String command,
                                       boolean bWait,
                                       int waitTimeout)
                                throws DeviceException
Throws:
DeviceException

setCommand

public void setCommand(java.lang.String command)
                throws DeviceException
Throws:
DeviceException

setCommand

public void setCommand(java.lang.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
Throws:
DeviceException


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