ist.palcom.incubator.alarm
Class AlarmService

java.lang.Object
  extended by ist.palcom.services.AbstractService
      extended by ist.palcom.incubator.alarm.AlarmService
All Implemented Interfaces:
Service, IHgraphNode

public class AlarmService
extends AbstractService

This service accepts a message as input and prints it in the alert window.


Field Summary
 
Fields inherited from class ist.palcom.services.AbstractService
_node, connectionsMonitor, context, info, siid
 
Fields inherited from interface ist.palcom.hgraph.IHgraphNode
CHILD_NAME_CLASH, CIRCULARITY_CLASH, COMMAND_OR_NODE_MISSING, ERROR, HANDLER_MISSING, INVOKATOR_MISSING, LISTENER_MISSING, NODE_NOT_CHILD, PATH_MISSING, SIBLING_ALREADY_EXISTS, SIBLING_NONEXISTENT, SIBLING_REFERENCE_ALREADY_EXISTS, SIBLING_REFERENCE_NONEXISTENT, STATUS_OK, VALUE_ALREADY_EXISTS, VALUE_NOT_PRESENT
 
Constructor Summary
AlarmService(DeviceContext context, AlarmWindow window)
           
 
Method Summary
 void start()
          The start method is overridden for scheduling the command thread.
 void stop()
          The stop method is overridden for terminating the command thread.
 
Methods inherited from class ist.palcom.services.AbstractService
addNodeChild, addServiceProxyListener, connectionCreated, connectTo, disconnectFrom, getChildIterator, getConnectionForLocalSID, getConnections, getFuncFunc, getNodeName, getNodeParent, getPath, getRemoteServiceProxy, getSelector, getServiceID, getServiceInfo, getServiceInstanceID, getServiceProxy, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, remoteServiceProxyIterator, removeNodeChild, removeServiceProxyListener, sendToAll, setLocalSID, setName, setNodeName, setNodeParent, setServiceInstanceID, setServiceProxy, setStatus, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath, waitUntilNumberOfConnectionsIs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlarmService

public AlarmService(DeviceContext context,
                    AlarmWindow window)
             throws java.io.IOException
Throws:
java.io.IOException
Method Detail

start

public void start()
           throws java.io.IOException
The start method is overridden for scheduling the command thread.

Overrides:
start in class AbstractService
Throws:
java.io.IOException

stop

public void stop()
          throws java.io.IOException
The stop method is overridden for terminating the command thread.

Overrides:
stop in class AbstractService
Throws:
java.io.IOException