com.idtech
Class MinimagService

java.lang.Object
  extended by com.idtech.MinimagService
All Implemented Interfaces:
com.idtech.Notifior, com.idtech.serviceConst, jpos.JposConst, jpos.loader.JposServiceInstance, jpos.MSRConst, jpos.services.BaseService, jpos.services.MSRService12, jpos.services.MSRService13, jpos.services.MSRService14, jpos.services.MSRService15, jpos.services.MSRService16, jpos.services.MSRService17, jpos.services.MSRService18, jpos.services.MSRService19

public class MinimagService
extends java.lang.Object
implements jpos.services.MSRService19, jpos.JposConst, jpos.MSRConst, com.idtech.Notifior, com.idtech.serviceConst


Field Summary
 
Fields inherited from interface jpos.JposConst
JPOS_BC_DECIMAL, JPOS_BC_NIBBLE, JPOS_BC_NONE, JPOS_CFV_FIRMWARE_DIFFERENT, JPOS_CFV_FIRMWARE_NEWER, JPOS_CFV_FIRMWARE_OLDER, JPOS_CFV_FIRMWARE_SAME, JPOS_CFV_FIRMWARE_UNKNOWN, JPOS_CH_EXTERNAL, JPOS_CH_INTERACTIVE, JPOS_CH_INTERNAL, JPOS_E_BUSY, JPOS_E_CLAIMED, JPOS_E_CLOSED, JPOS_E_DISABLED, JPOS_E_EXISTS, JPOS_E_EXTENDED, JPOS_E_FAILURE, JPOS_E_ILLEGAL, JPOS_E_NOEXIST, JPOS_E_NOHARDWARE, JPOS_E_NOSERVICE, JPOS_E_NOTCLAIMED, JPOS_E_OFFLINE, JPOS_E_TIMEOUT, JPOS_EFIRMWARE_BAD_FILE, JPOS_EL_INPUT, JPOS_EL_INPUT_DATA, JPOS_EL_OUTPUT, JPOS_ER_CLEAR, JPOS_ER_CONTINUEINPUT, JPOS_ER_RETRY, JPOS_ESTATS_ERROR, JPOS_FOREVER, JPOS_PN_DISABLED, JPOS_PN_ENABLED, JPOS_PR_ADVANCED, JPOS_PR_NONE, JPOS_PR_STANDARD, JPOS_PS_OFF, JPOS_PS_OFF_OFFLINE, JPOS_PS_OFFLINE, JPOS_PS_ONLINE, JPOS_PS_UNKNOWN, JPOS_S_BUSY, JPOS_S_CLOSED, JPOS_S_ERROR, JPOS_S_IDLE, JPOS_SUCCESS, JPOS_SUE_POWER_OFF, JPOS_SUE_POWER_OFF_OFFLINE, JPOS_SUE_POWER_OFFLINE, JPOS_SUE_POWER_ONLINE, JPOS_SUE_UF_COMPLETE, JPOS_SUE_UF_COMPLETE_DEV_NOT_RESTORED, JPOS_SUE_UF_FAILED_DEV_NEEDS_FIRMWARE, JPOS_SUE_UF_FAILED_DEV_OK, JPOS_SUE_UF_FAILED_DEV_UNKNOWN, JPOS_SUE_UF_FAILED_DEV_UNRECOVERABLE, JPOS_SUE_UF_PROGRESS, JPOSERR, JPOSERREXT
 
Fields inherited from interface jpos.MSRConst
JPOS_EMSR_END, JPOS_EMSR_LRC, JPOS_EMSR_PARITY, JPOS_EMSR_START, MSR_ERT_CARD, MSR_ERT_TRACK, MSR_TR_1, MSR_TR_1_2, MSR_TR_1_2_3, MSR_TR_1_2_3_4, MSR_TR_1_2_4, MSR_TR_1_3, MSR_TR_1_3_4, MSR_TR_1_4, MSR_TR_2, MSR_TR_2_3, MSR_TR_2_3_4, MSR_TR_2_4, MSR_TR_3, MSR_TR_3_4, MSR_TR_4
 
Fields inherited from interface com.idtech.Notifior
INPUT, OUTPUT
 
Fields inherited from interface com.idtech.serviceConst
connectorClass, connectorName, physicalDesc, physicalName, serviceDesc, serviceVersion
 
Constructor Summary
MinimagService(jpos.config.JposEntry entries)
          Constructor called by instance factory to get setting.
 
Method Summary
 void checkHealth(int level)
          Support Intenale check health.
 void claim(int timeout)
          Claim the device.
 void clearInput()
          Clear input data and error.
 void close()
          free all resource.
 void compareFirmwareVersion(java.lang.String firmwareFileName, int[] result)
          NOT suport compare firmware version now.
 void deleteInstance()
           
 void directIO(int command, int[] data, java.lang.Object object)
          No dirctIO is possible.
 java.lang.String getAccountNumber()
          Get the parse account number.
 boolean getAutoDisable()
          Get autodisable flag.
 boolean getCapCompareFirmwareVersion()
          No capabliity to compare firmware version.
 boolean getCapISO()
          Support ISO card
 boolean getCapJISOne()
          Support JIS one Card
 boolean getCapJISTwo()
          Support JIS Two card
 int getCapPowerReporting()
          No power reporting is possible
 boolean getCapStatisticsReporting()
          No capablity to report statistics A JposException with error JPOS_E_CLOSED is thrown if Service is closed.
 boolean getCapTransmitSentinels()
          Support this capblity for transmit sentinel.
 boolean getCapUpdateFirmware()
          No capablity to update firmware.
 boolean getCapUpdateStatistics()
          No capablity to update statistics A JposException with error JPOS_E_CLOSED is thrown if Service is closed.
 java.lang.String getCheckHealthText()
          Get result string for last check health.
 boolean getClaimed()
          Get claimed state.
 int getDataCount()
          get the data event hold in the queue.
 boolean getDataEventEnabled()
          get the data event enabled flag.
 boolean getDecodeData()
          Get deocde data flag.
 boolean getDeviceEnabled()
          Get device enabled state.
 java.lang.String getDeviceServiceDescription()
          "JPOS service for MiniMag II id-tech.net" returned.
 int getDeviceServiceVersion()
          V1.9
 int getErrorReportingType()
          Get error reporting mode.
 java.lang.String getExpirationDate()
          Get expiration date can not be parsed now.
 java.lang.String getFirstName()
          Get first name in the parsed CC card data.
 boolean getFreezeEvents()
          Get the flag for freeze event.
 java.lang.String getMiddleInitial()
          Get middle initial Can not be parsed now.
 boolean getParseDecodeData()
          Get flag for parsed decode data.
 java.lang.String getPhysicalDeviceDescription()
          "MiniMag II ID TECH 2005" returned.
 java.lang.String getPhysicalDeviceName()
          "Minimag II" returned.
 int getPowerNotify()
          Get Power Notify mode.
 int getPowerState()
          No power state can be known by application.
 java.lang.String getServiceCode()
          Get service code.
 int getState()
          Get control state.
 java.lang.String getSuffix()
          Get parsed suffix Can not be parsed now.
 java.lang.String getSurname()
          Get parsed surname when a parsed CC card data event happened.
 java.lang.String getTitle()
          Get parsed titile in the name.
 byte[] getTrack1Data()
          Get track1 data when a data event happened.
 byte[] getTrack1DiscretionaryData()
          Get the track 1 discretionary data when a data event occurred.
 byte[] getTrack2Data()
          Get track2 data when a data event happened.
 byte[] getTrack2DiscretionaryData()
          Get the track 2 discretionary data when a data event occurred.
 byte[] getTrack3Data()
          Get track 3 data when a data event occurred.
 byte[] getTrack4Data()
          Get the track 4 data when a data event happened.
 int getTracksToRead()
          Get Tracks to read.
 boolean getTransmitSentinels()
          Get the flag for if sent sentinel.
 void notify(int local, int result, byte[] buf)
          Interface Notifior
 void open(java.lang.String logicalName, jpos.services.EventCallbacks cb)
          open device.
 void release()
          free the resouce and notify other thread.
 void resetStatistics(java.lang.String statisticsBuffer)
          NOT support reset statiscics now.
 void retrieveStatistics(java.lang.String[] statisticsBuffer)
          NOT support retrieve statistics now.
 void setAutoDisable(boolean autoDisable)
          set the flag for autodesable after a data event happened.
 void setDataEventEnabled(boolean dataEventEnabled)
          Set data event enable flag.
 void setDecodeData(boolean bv)
          Set decode data flag.
 void setDeviceEnabled(boolean deviceEnabled)
          enable device.
 void setErrorReportingType(int errorReportingType)
          Set error reporting type.
 void setFreezeEvents(boolean freezeEvents)
          set the flag for freeze evnts.
 void setParseDecodeData(boolean val)
          set flag for parse decode data.
 void setPowerNotify(int powerNotify)
          Set the power notify mode.
 void setTracksToRead(int tracksToRead)
          set the tracks to read.
 void setTransmitSentinels(boolean transmitSentinels)
          Set flag for tranmis sentinels.
 void updateFirmware(java.lang.String firmwareFileName)
          NOT suport update Firmware now.
 void updateStatistics(java.lang.String statisticsBuffer)
          NOT support update statistics now Nothing would be done by calling this method.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinimagService

public MinimagService(jpos.config.JposEntry entries)
Constructor called by instance factory to get setting.

Method Detail

getCheckHealthText

public java.lang.String getCheckHealthText()
                                    throws jpos.JposException
Get result string for last check health.

Specified by:
getCheckHealthText in interface jpos.services.BaseService
Throws:
jpos.JposException

getClaimed

public boolean getClaimed()
                   throws jpos.JposException
Get claimed state.

Specified by:
getClaimed in interface jpos.services.BaseService
Throws:
jpos.JposException

getDeviceEnabled

public boolean getDeviceEnabled()
                         throws jpos.JposException
Get device enabled state.

Specified by:
getDeviceEnabled in interface jpos.services.BaseService
Throws:
jpos.JposException

setDeviceEnabled

public void setDeviceEnabled(boolean deviceEnabled)
                      throws jpos.JposException
enable device. if set to true, the device to ready to read data. if set to fals, all swip card data is discarded.

Specified by:
setDeviceEnabled in interface jpos.services.BaseService
Throws:
jpos.JposException

getDeviceServiceDescription

public java.lang.String getDeviceServiceDescription()
                                             throws jpos.JposException
"JPOS service for MiniMag II id-tech.net" returned.

Specified by:
getDeviceServiceDescription in interface jpos.services.BaseService
Throws:
jpos.JposException

getDeviceServiceVersion

public int getDeviceServiceVersion()
                            throws jpos.JposException
V1.9

Specified by:
getDeviceServiceVersion in interface jpos.services.BaseService
Throws:
jpos.JposException

getFreezeEvents

public boolean getFreezeEvents()
                        throws jpos.JposException
Get the flag for freeze event.

Specified by:
getFreezeEvents in interface jpos.services.BaseService
Throws:
jpos.JposException

setFreezeEvents

public void setFreezeEvents(boolean freezeEvents)
                     throws jpos.JposException
set the flag for freeze evnts. if true, all events can't be fired.

Specified by:
setFreezeEvents in interface jpos.services.BaseService
Throws:
jpos.JposException

getPhysicalDeviceDescription

public java.lang.String getPhysicalDeviceDescription()
                                              throws jpos.JposException
"MiniMag II ID TECH 2005" returned.

Specified by:
getPhysicalDeviceDescription in interface jpos.services.BaseService
Throws:
jpos.JposException

getPhysicalDeviceName

public java.lang.String getPhysicalDeviceName()
                                       throws jpos.JposException
"Minimag II" returned.

Specified by:
getPhysicalDeviceName in interface jpos.services.BaseService
Throws:
jpos.JposException

getState

public int getState()
             throws jpos.JposException
Get control state.

Specified by:
getState in interface jpos.services.BaseService
Throws:
jpos.JposException

open

public void open(java.lang.String logicalName,
                 jpos.services.EventCallbacks cb)
          throws jpos.JposException
open device. Loading the connector drive to access the physical device.

If the method fail, it maybe following:
1. the DLLs is not in the proper directory.
2. The directory "connector/xxx" not exists.
3. The file "connecotr/xxx/connector.ini" not exists or the conten is bad.
4. The connnector access drive class file not exists or bad.

Specified by:
open in interface jpos.services.BaseService
Parameters:
logicalName - it the entry name in the jpos.xml
Throws:
jpos.JposException

close

public void close()
           throws jpos.JposException
free all resource. if control is claimed, release it. if control is device enabled, set it false.

Specified by:
close in interface jpos.services.BaseService
Throws:
jpos.JposException

claim

public void claim(int timeout)
           throws jpos.JposException
Claim the device. If it's claimed by other thread, it throws a JposException with error code JPOS_E_TIMEOUT. If no device is connetted to the host, a JposException with error code JPOS_E_NOHARDWARE is thrown.

Specified by:
claim in interface jpos.services.BaseService
Throws:
jpos.JposException

release

public void release()
             throws jpos.JposException
free the resouce and notify other thread.

Specified by:
release in interface jpos.services.BaseService
Throws:
jpos.JposException

checkHealth

public void checkHealth(int level)
                 throws jpos.JposException
Support Intenale check health.

Specified by:
checkHealth in interface jpos.services.BaseService
Throws:
jpos.JposException

directIO

public void directIO(int command,
                     int[] data,
                     java.lang.Object object)
              throws jpos.JposException
No dirctIO is possible.

Specified by:
directIO in interface jpos.services.BaseService
Throws:
jpos.JposException

getCapISO

public boolean getCapISO()
                  throws jpos.JposException
Support ISO card

Specified by:
getCapISO in interface jpos.services.MSRService12
Throws:
jpos.JposException

getCapJISOne

public boolean getCapJISOne()
                     throws jpos.JposException
Support JIS one Card

Specified by:
getCapJISOne in interface jpos.services.MSRService12
Throws:
jpos.JposException

getCapJISTwo

public boolean getCapJISTwo()
                     throws jpos.JposException
Support JIS Two card

Specified by:
getCapJISTwo in interface jpos.services.MSRService12
Throws:
jpos.JposException

getAccountNumber

public java.lang.String getAccountNumber()
                                  throws jpos.JposException
Get the parse account number. not supportd to parse this fields now.

Specified by:
getAccountNumber in interface jpos.services.MSRService12
Throws:
jpos.JposException

getAutoDisable

public boolean getAutoDisable()
                       throws jpos.JposException
Get autodisable flag.

Specified by:
getAutoDisable in interface jpos.services.MSRService12
Throws:
jpos.JposException

setAutoDisable

public void setAutoDisable(boolean autoDisable)
                    throws jpos.JposException
set the flag for autodesable after a data event happened. if true, the deviceEnabled set to false, else set to true.

Specified by:
setAutoDisable in interface jpos.services.MSRService12
Throws:
jpos.JposException

getDataCount

public int getDataCount()
                 throws jpos.JposException
get the data event hold in the queue.

Specified by:
getDataCount in interface jpos.services.MSRService12
Throws:
jpos.JposException

getDataEventEnabled

public boolean getDataEventEnabled()
                            throws jpos.JposException
get the data event enabled flag.

Specified by:
getDataEventEnabled in interface jpos.services.MSRService12
Throws:
jpos.JposException

setDataEventEnabled

public void setDataEventEnabled(boolean dataEventEnabled)
                         throws jpos.JposException
Set data event enable flag. If true, and freeze event is false,the data event can be fired, or control hold the data event. after a data event is fired, it changed to false.

Specified by:
setDataEventEnabled in interface jpos.services.MSRService12
Throws:
jpos.JposException

getDecodeData

public boolean getDecodeData()
                      throws jpos.JposException
Get deocde data flag. Allwas return true.

Specified by:
getDecodeData in interface jpos.services.MSRService12
Throws:
jpos.JposException

setDecodeData

public void setDecodeData(boolean bv)
                   throws jpos.JposException
Set decode data flag. This should set true. False is not supported and report as an error with a JposException with error code JPOS_E_ILLEGAL.

Specified by:
setDecodeData in interface jpos.services.MSRService12
Throws:
jpos.JposException

getErrorReportingType

public int getErrorReportingType()
                          throws jpos.JposException
Get error reporting mode.

Specified by:
getErrorReportingType in interface jpos.services.MSRService12
Throws:
jpos.JposException

setErrorReportingType

public void setErrorReportingType(int errorReportingType)
                           throws jpos.JposException
Set error reporting type. for card level: MSR_ERT_CARD. for track level: MSR_ERT_TRACK. report error in the every tracks.

Specified by:
setErrorReportingType in interface jpos.services.MSRService12
Throws:
jpos.JposException

getExpirationDate

public java.lang.String getExpirationDate()
                                   throws jpos.JposException
Get expiration date can not be parsed now.

Specified by:
getExpirationDate in interface jpos.services.MSRService12
Throws:
jpos.JposException

getFirstName

public java.lang.String getFirstName()
                              throws jpos.JposException
Get first name in the parsed CC card data.

Specified by:
getFirstName in interface jpos.services.MSRService12
Throws:
jpos.JposException

getMiddleInitial

public java.lang.String getMiddleInitial()
                                  throws jpos.JposException
Get middle initial Can not be parsed now.

Specified by:
getMiddleInitial in interface jpos.services.MSRService12
Throws:
jpos.JposException

getParseDecodeData

public boolean getParseDecodeData()
                           throws jpos.JposException
Get flag for parsed decode data.

Specified by:
getParseDecodeData in interface jpos.services.MSRService12
Throws:
jpos.JposException

setParseDecodeData

public void setParseDecodeData(boolean val)
                        throws jpos.JposException
set flag for parse decode data. If set true, the first name, surname and discretionary will be parsed in the CC card.

Specified by:
setParseDecodeData in interface jpos.services.MSRService12
Throws:
jpos.JposException

getServiceCode

public java.lang.String getServiceCode()
                                throws jpos.JposException
Get service code. Can not be parsed now.

Specified by:
getServiceCode in interface jpos.services.MSRService12
Throws:
jpos.JposException

getSuffix

public java.lang.String getSuffix()
                           throws jpos.JposException
Get parsed suffix Can not be parsed now.

Specified by:
getSuffix in interface jpos.services.MSRService12
Throws:
jpos.JposException

getSurname

public java.lang.String getSurname()
                            throws jpos.JposException
Get parsed surname when a parsed CC card data event happened.

Specified by:
getSurname in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTitle

public java.lang.String getTitle()
                          throws jpos.JposException
Get parsed titile in the name. Can not be getten now.

Specified by:
getTitle in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTrack1Data

public byte[] getTrack1Data()
                     throws jpos.JposException
Get track1 data when a data event happened.

Specified by:
getTrack1Data in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTrack1DiscretionaryData

public byte[] getTrack1DiscretionaryData()
                                  throws jpos.JposException
Get the track 1 discretionary data when a data event occurred. Only CC card is supported to parse. Other type card can not be parsed.

Specified by:
getTrack1DiscretionaryData in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTrack2Data

public byte[] getTrack2Data()
                     throws jpos.JposException
Get track2 data when a data event happened.

Specified by:
getTrack2Data in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTrack2DiscretionaryData

public byte[] getTrack2DiscretionaryData()
                                  throws jpos.JposException
Get the track 2 discretionary data when a data event occurred. Only CC card is supported to parse. Other type card can not be parsed.

Specified by:
getTrack2DiscretionaryData in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTrack3Data

public byte[] getTrack3Data()
                     throws jpos.JposException
Get track 3 data when a data event occurred. To get track 3 data, tracks to read should be include track 3, and the track3 data exists in the Card.

Specified by:
getTrack3Data in interface jpos.services.MSRService12
Throws:
jpos.JposException

getTracksToRead

public int getTracksToRead()
                    throws jpos.JposException
Get Tracks to read.

Specified by:
getTracksToRead in interface jpos.services.MSRService12
Throws:
jpos.JposException

setTracksToRead

public void setTracksToRead(int tracksToRead)
                     throws jpos.JposException
set the tracks to read. Track 1,2,3 is set after opening as the default. A JposException is thrown if control is closed, or an illegal tracks value is set.

Specified by:
setTracksToRead in interface jpos.services.MSRService12
Throws:
jpos.JposException

clearInput

public void clearInput()
                throws jpos.JposException
Clear input data and error. All data event and error event will be cleared. also all fieds includes track1Data = null; track2Data = null; track3Data = null; track4Data = null; firstName = ""; surname =""; title = ""; track1Discretionary =null; track2Discretionary = null; suffix="" ; serviceCode= ""; middleInitial =""; expirationDate= ""; accountNumber= "";

Specified by:
clearInput in interface jpos.services.MSRService12
Throws:
jpos.JposException

getCapPowerReporting

public int getCapPowerReporting()
                         throws jpos.JposException
No power reporting is possible

Specified by:
getCapPowerReporting in interface jpos.services.MSRService13
Throws:
jpos.JposException

getPowerNotify

public int getPowerNotify()
                   throws jpos.JposException
Get Power Notify mode. Allways JPOS_PN_DISABLED is returned. A JposExceptoin is thrown if service is not opened.

Specified by:
getPowerNotify in interface jpos.services.MSRService13
Throws:
jpos.JposException

setPowerNotify

public void setPowerNotify(int powerNotify)
                    throws jpos.JposException
Set the power notify mode. only disabled is accept. If enabled is set, it throws a JposException with error code JPOS_E_ILLEGAL.

Specified by:
setPowerNotify in interface jpos.services.MSRService13
Throws:
jpos.JposException

getPowerState

public int getPowerState()
                  throws jpos.JposException
No power state can be known by application. It allways return JPOS_POS_UNKNOWN.

Specified by:
getPowerState in interface jpos.services.MSRService13
Throws:
jpos.JposException

getCapTransmitSentinels

public boolean getCapTransmitSentinels()
                                throws jpos.JposException
Support this capblity for transmit sentinel.

Specified by:
getCapTransmitSentinels in interface jpos.services.MSRService15
Throws:
jpos.JposException

getTrack4Data

public byte[] getTrack4Data()
                     throws jpos.JposException
Get the track 4 data when a data event happened.

Specified by:
getTrack4Data in interface jpos.services.MSRService15
Returns:
if no data in the track 4, it return a byte arrray with zero length.
Throws:
jpos.JposException

getTransmitSentinels

public boolean getTransmitSentinels()
                             throws jpos.JposException
Get the flag for if sent sentinel.

Specified by:
getTransmitSentinels in interface jpos.services.MSRService15
Throws:
jpos.JposException

setTransmitSentinels

public void setTransmitSentinels(boolean transmitSentinels)
                          throws jpos.JposException
Set flag for tranmis sentinels. If set TRUE, getTracksXdata will get the data includs start transmit sentnels end sentinel and LRC.

Specified by:
setTransmitSentinels in interface jpos.services.MSRService15
Throws:
jpos.JposException

getCapStatisticsReporting

public boolean getCapStatisticsReporting()
                                  throws jpos.JposException
No capablity to report statistics A JposException with error JPOS_E_CLOSED is thrown if Service is closed.

Specified by:
getCapStatisticsReporting in interface jpos.services.MSRService18
Throws:
jpos.JposException

getCapUpdateStatistics

public boolean getCapUpdateStatistics()
                               throws jpos.JposException
No capablity to update statistics A JposException with error JPOS_E_CLOSED is thrown if Service is closed.

Specified by:
getCapUpdateStatistics in interface jpos.services.MSRService18
Throws:
jpos.JposException

resetStatistics

public void resetStatistics(java.lang.String statisticsBuffer)
                     throws jpos.JposException
NOT support reset statiscics now. Nothing done by calling this method.

Specified by:
resetStatistics in interface jpos.services.MSRService18
Throws:
jpos.JposException

retrieveStatistics

public void retrieveStatistics(java.lang.String[] statisticsBuffer)
                        throws jpos.JposException
NOT support retrieve statistics now. Nothing done by calling this method.

Specified by:
retrieveStatistics in interface jpos.services.MSRService18
Throws:
jpos.JposException

updateStatistics

public void updateStatistics(java.lang.String statisticsBuffer)
                      throws jpos.JposException
NOT support update statistics now Nothing would be done by calling this method.

Specified by:
updateStatistics in interface jpos.services.MSRService18
Throws:
jpos.JposException

getCapCompareFirmwareVersion

public boolean getCapCompareFirmwareVersion()
                                     throws jpos.JposException
No capabliity to compare firmware version. A JposException is thrown if it's now opened.

Specified by:
getCapCompareFirmwareVersion in interface jpos.services.MSRService19
Throws:
jpos.JposException

getCapUpdateFirmware

public boolean getCapUpdateFirmware()
                             throws jpos.JposException
No capablity to update firmware. A JposException is thrown if it's not opened.

Specified by:
getCapUpdateFirmware in interface jpos.services.MSRService19
Throws:
jpos.JposException

compareFirmwareVersion

public void compareFirmwareVersion(java.lang.String firmwareFileName,
                                   int[] result)
                            throws jpos.JposException
NOT suport compare firmware version now. Nothing would be done by calling this method.

Specified by:
compareFirmwareVersion in interface jpos.services.MSRService19
Throws:
jpos.JposException

updateFirmware

public void updateFirmware(java.lang.String firmwareFileName)
                    throws jpos.JposException
NOT suport update Firmware now. Nothing would be done by calling this method.

Specified by:
updateFirmware in interface jpos.services.MSRService19
Throws:
jpos.JposException

deleteInstance

public void deleteInstance()
                    throws jpos.JposException
Specified by:
deleteInstance in interface jpos.loader.JposServiceInstance
Throws:
jpos.JposException

notify

public void notify(int local,
                   int result,
                   byte[] buf)
Interface Notifior

Specified by:
notify in interface com.idtech.Notifior