|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--java.io.FilterOutputStream
|
+--java.io.DataOutputStream
|
+--com.bankframe.services.devices.MCADeviceProtocol
|
+--com.bankframe.services.devices.MTMiniMicr.MagTekMiniMicrDeviceProtocol
This class produces messages and commands for sending to a MagTek MiniMicr check reading device using the serial port output stream.
| Field Summary |
| Fields inherited from interface com.bankframe.services.devices.MTMiniMicr.MagTekMiniMicrDeviceCodes |
BAUD_1200, BAUD_19200, BAUD_2400, BAUD_300, BAUD_4800, BAUD_600, BAUD_9600, COMM_MODE_0, COMM_MODE_1, COMM_MODE_2, COMM_MODE_3, COMM_MODE_4, COMM_MODE_5, COMM_MODE_6, COMM_MODE_7, CR, CR_NO, CR_YES, CTS_DSR_IGNORE, CTS_DSR_USE, DATAPARITY_7E, DATAPARITY_7M, DATAPARITY_7O, DATAPARITY_8N, ESC, ESC_NO, ESC_YES, ETX, ETX_NO, ETX_YES, FC, HW, IDCARD_DECODING_DISABLE, IDCARD_DECODING_ENABLE, INTERCHAR_DELAY_NO, INTERCHAR_DELAY_YES, LF, LF_NO, LF_YES, RS, SA, SEND_DATA_AFTER_ERROR_NO, SEND_DATA_AFTER_ERROR_YES, SEND_STATUS_AFTER_DATA_NO, SEND_STATUS_AFTER_DATA_YES, STOPBITS_1, STOPBITS_2, STX, STX_NO, STX_YES, SWA, SWB, SWC, TRACK1_DISABLE, TRACK1_ENABLE, TRACK2_DISABLE, TRACK2_ENABLE, TRACK3_DISABLE, TRACK3_ENABLE, VR |
| Constructor Summary | |
MagTekMiniMicrDeviceProtocol(java.io.ByteArrayOutputStream buffer)
MagTekMiniMicrDeviceProtocol constructor |
|
| Method Summary | |
static java.lang.String |
byteToStringRep(byte data)
This method converts the bits of this byte (data) into individual ASCII characters 0's or 1's, Most Significant bit first. |
static java.lang.String |
getControlChars(byte messageByte)
This method converts the byte into the equivalent MiniMicr text message. |
static byte[] |
requestCommand(java.lang.String commandName)
This method Creates the byte stream to send the request command to the MiniMicr device |
static byte[] |
setCommand(java.lang.String commandName)
This method creates the byte stream to send the set command to the MiniMicr device |
static byte[] |
setCommand(java.lang.String commandName,
byte commandByte)
Creates the byte stream to send the set command to the MiniMicr device |
| Methods inherited from class com.bankframe.services.devices.MCADeviceProtocol |
dataToHexData, getHexString, internalbuffer |
| Methods inherited from class java.io.DataOutputStream |
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.io.FilterOutputStream |
close, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.io.DataOutput |
write |
| Constructor Detail |
public MagTekMiniMicrDeviceProtocol(java.io.ByteArrayOutputStream buffer)
buffer - The byte array buffer to use| Method Detail |
public static java.lang.String byteToStringRep(byte data)
throws java.io.IOException
java.io.IOExceptionpublic static java.lang.String getControlChars(byte messageByte)
messageByte -
public static byte[] requestCommand(java.lang.String commandName)
throws java.io.IOException
java.io.IOException
public static byte[] setCommand(java.lang.String commandName)
throws java.io.IOException
java.io.IOException
public static byte[] setCommand(java.lang.String commandName,
byte commandByte)
throws java.io.IOException
java.io.IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||