ist.palcom.services.overview
Class PalOverviewBrowserDevice

java.lang.Object
  extended by ist.palcom.device.AbstractDevice
      extended by ist.palcom.services.overview.PalOverviewBrowserDevice
All Implemented Interfaces:
java.lang.Runnable

public class PalOverviewBrowserDevice
extends AbstractDevice


Field Summary
 
Fields inherited from class ist.palcom.device.AbstractDevice
context, scheduler
 
Constructor Summary
PalOverviewBrowserDevice(DeviceID deviceID, java.lang.String name)
           
 
Method Summary
protected  DeviceContext createDeviceContext(DeviceID deviceID, PalcomScheduler scheduler)
          Creates the DeviceContext of the device.
protected  void initDevice()
          Initialize the device.
static void main(java.lang.String[] args)
           
 
Methods inherited from class ist.palcom.device.AbstractDevice
getDeviceContext, getDeviceInfo, getName, getRootPath, run, safePutEvent, setHeartBeatPeriod, stop, stopDevice
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PalOverviewBrowserDevice

public PalOverviewBrowserDevice(DeviceID deviceID,
                                java.lang.String name)
                         throws java.lang.Exception
Throws:
java.lang.Exception
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 AbstractDevice
Throws:
java.io.IOException

createDeviceContext

protected DeviceContext createDeviceContext(DeviceID deviceID,
                                            PalcomScheduler scheduler)
Description copied from class: AbstractDevice
Creates the DeviceContext of the device. This method has to be implemented in a concrete subclass.

Specified by:
createDeviceContext in class AbstractDevice
Parameters:
deviceID - The device ID.
scheduler - The scheduler.
Returns:
The DeviceContext

main

public static void main(java.lang.String[] args)