org.ofbiz.pos.jpos.service
Class NullCashDrawer

java.lang.Object
  extended by org.ofbiz.pos.jpos.service.BaseService
      extended by org.ofbiz.pos.jpos.service.NullCashDrawer
All Implemented Interfaces:
jpos.loader.JposServiceInstance, jpos.services.BaseService, jpos.services.CashDrawerService12

public class NullCashDrawer
extends BaseService
implements jpos.services.CashDrawerService12


Field Summary
 
Fields inherited from class org.ofbiz.pos.jpos.service.BaseService
claimed, deviceEnabled, deviceName, entry, eventQueue, eventsEnabled, freezeEvents, healthText, module, physicalDesc, physicalName, serviceDesc, serviceVer, state
 
Constructor Summary
NullCashDrawer()
           
 
Method Summary
 boolean getCapStatus()
           
 int getDeviceServiceVersion()
           
 boolean getDrawerOpened()
           
 void openDrawer()
           
 void waitForDrawerClose(int i, int i1, int i2, int i3)
           
 
Methods inherited from class org.ofbiz.pos.jpos.service.BaseService
checkHealth, claim, close, deleteInstance, directIO, fireEvent, getCheckHealthText, getClaimed, getDataCount, getDataEventEnabled, getDeviceEnabled, getDeviceServiceDescription, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDataEventEnabled, setDeviceEnabled, setEntry, setFreezeEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jpos.services.BaseService
checkHealth, claim, close, directIO, getCheckHealthText, getClaimed, getDeviceEnabled, getDeviceServiceDescription, getFreezeEvents, getPhysicalDeviceDescription, getPhysicalDeviceName, getState, open, release, setDeviceEnabled, setFreezeEvents
 

Constructor Detail

NullCashDrawer

public NullCashDrawer()
Method Detail

getCapStatus

public boolean getCapStatus()
                     throws jpos.JposException
Specified by:
getCapStatus in interface jpos.services.CashDrawerService12
Throws:
jpos.JposException

getDrawerOpened

public boolean getDrawerOpened()
                        throws jpos.JposException
Specified by:
getDrawerOpened in interface jpos.services.CashDrawerService12
Throws:
jpos.JposException

openDrawer

public void openDrawer()
                throws jpos.JposException
Specified by:
openDrawer in interface jpos.services.CashDrawerService12
Throws:
jpos.JposException

waitForDrawerClose

public void waitForDrawerClose(int i,
                               int i1,
                               int i2,
                               int i3)
                        throws jpos.JposException
Specified by:
waitForDrawerClose in interface jpos.services.CashDrawerService12
Throws:
jpos.JposException

getDeviceServiceVersion

public int getDeviceServiceVersion()
                            throws jpos.JposException
Specified by:
getDeviceServiceVersion in interface jpos.services.BaseService
Overrides:
getDeviceServiceVersion in class BaseService
Throws:
jpos.JposException