ist.palcom.simulated.geotagger
Class GeoTaggerHandheld

java.lang.Object
  extended by ist.palcom.device.AbstractDevice
      extended by ist.palcom.device.AbstractUDPDevice
          extended by ist.palcom.simulated.handheld.Handheld
              extended by ist.palcom.simulated.geotagger.GeoTaggerHandheld
All Implemented Interfaces:
CommandEventListener, java.lang.Runnable

public class GeoTaggerHandheld
extends Handheld

A handheld with some additional services for the GeoTagger.


Field Summary
 
Fields inherited from class ist.palcom.device.AbstractDevice
context, scheduler
 
Constructor Summary
GeoTaggerHandheld(java.lang.String name, DeviceID deviceID)
           
 
Method Summary
protected  void initDevice()
          Initialize the device.
protected  void stopDevice()
          Stop the device.
 
Methods inherited from class ist.palcom.simulated.handheld.Handheld
closeConnection, commandReceived, establishConnection, getBrowserPanel, getControlCustomerLocalSID, initiateDiscovery, removeServiceProxy
 
Methods inherited from class ist.palcom.device.AbstractUDPDevice
createDeviceContext
 
Methods inherited from class ist.palcom.device.AbstractDevice
getDeviceContext, getDeviceInfo, getName, getRootPath, run, safePutEvent, setHeartBeatPeriod, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoTaggerHandheld

public GeoTaggerHandheld(java.lang.String name,
                         DeviceID deviceID)
Method Detail

initDevice

protected void initDevice()
                   throws java.io.IOException
Description copied from class: AbstractDevice
Initialize the device. Called from a PalcomThread. Here the actual setup is done. Subclasses override this method, and call super.initDevice from there.

Overrides:
initDevice in class Handheld
Throws:
java.io.IOException

stopDevice

protected void stopDevice()
                   throws java.io.IOException
Description copied from class: AbstractDevice
Stop the device. Called from a PalcomThread. Here the actual cleanup is done. Subclasses override this method, and call super.stopDevice from there.

Overrides:
stopDevice in class Handheld
Throws:
java.io.IOException