ist.palcom.services.incubator.alarm
Class IncubatorAlarmDevice
java.lang.Object
ist.palcom.device.AbstractDevice
ist.palcom.device.AbstractUDPDevice
ist.palcom.services.incubator.alarm.IncubatorAlarmDevice
- All Implemented Interfaces:
- java.lang.Runnable
public class IncubatorAlarmDevice
- extends AbstractUDPDevice
This PalCom device represents the alarm notificator for the
incubator scenario.
|
Method Summary |
protected void |
initDevice()
Initialize the device. |
static void |
main(java.lang.String[] args)
A main method that runs an EchoDevice. |
protected void |
stopDevice()
stopDevice is overridden for stopping the service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncubatorAlarmDevice
protected IncubatorAlarmDevice(java.lang.String name,
DeviceID deviceID)
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
stopDevice
protected void stopDevice()
throws java.io.IOException
- stopDevice is overridden for stopping the service.
- Overrides:
stopDevice in class AbstractDevice
- Throws:
java.io.IOException
main
public static void main(java.lang.String[] args)
- A main method that runs an EchoDevice.