ist.palcom.services
Class AlarmHRHRDevice

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

public class AlarmHRHRDevice
extends AbstractUDPDevice


Field Summary
 
Fields inherited from class ist.palcom.device.AbstractDevice
context, scheduler
 
Constructor Summary
AlarmHRHRDevice(DeviceID deviceID)
           
 
Method Summary
protected  void initDevice()
          Initialize the device.
static void main(String[] args)
          A main method that runs an EchoDevice.
protected  void stopDevice()
          stopDevice is overridden for stopping the service.
 
Methods inherited from class ist.palcom.device.AbstractUDPDevice
createDeviceContext
 
Methods inherited from class ist.palcom.device.AbstractDevice
getDeviceContext, getDeviceInfo, getName, run, safePutEvent, setHeartBeatPeriod, setName, stop
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

AlarmHRHRDevice

public AlarmHRHRDevice(DeviceID deviceID)
Method Detail

initDevice

protected void initDevice()
                   throws 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:
IOException

stopDevice

protected void stopDevice()
                   throws IOException
stopDevice is overridden for stopping the service.

Overrides:
stopDevice in class AbstractDevice
Throws:
IOException

main

public static void main(String[] args)
A main method that runs an EchoDevice.