eu.gnome.morena.ica
Class ICACamera

java.lang.Object
  extended by eu.gnome.morena.DeviceBase
      extended by eu.gnome.morena.ica.ICADevice
          extended by eu.gnome.morena.ica.ICACamera
All Implemented Interfaces:
Camera, Device, Version, java.lang.Runnable

public class ICACamera
extends ICADevice
implements Camera, java.lang.Runnable


Field Summary
 
Fields inherited from interface eu.gnome.morena.Version
BUILD_DATE, BUILD_TIME, TMP_DIR, VERSION, VERSION_BUILD, VERSION_MAJOR, VERSION_MINOR
 
Method Summary
 void run()
           
 void startTransfer(TransferDoneListener transferDoneListener)
          Scanning (scanner) or image transfer initiation (camera).
 
Methods inherited from class eu.gnome.morena.DeviceBase
getFunctionalUnit, setFunctionalUnit, setupDevice, startTransfer, startTransfer, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface eu.gnome.morena.Device
setupDevice, startTransfer, toString
 

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

startTransfer

public void startTransfer(TransferDoneListener transferDoneListener)
                   throws java.lang.Exception
Description copied from class: DeviceBase
Scanning (scanner) or image transfer initiation (camera). This method initiates an image transfer from this device. TransferDoneListener provided is a callback handler that handles a result of the transfer. Since the transfer process is asynchronous by nature it should be considered that this method call does not wait for the transfer is to be completed.

Specified by:
startTransfer in interface Device
Overrides:
startTransfer in class DeviceBase
Parameters:
transferDoneListener - - specifies the handler of the transferred image.
Throws:
java.lang.Exception