ist.palcom.simulated.slideshow
Class SlideShowService

java.lang.Object
  extended by ist.palcom.services.AbstractService
      extended by ist.palcom.simulated.slideshow.SlideShowService
All Implemented Interfaces:
Service, IHgraphNode

public class SlideShowService
extends AbstractService

The slide show service is not connectable. The subservices do the real stuff.


Field Summary
 
Fields inherited from class ist.palcom.services.AbstractService
_node, connectionsMonitor, context, info, selfTest, subserviceList
 
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
SlideShowService(DeviceContext context, URNLeaf urnLeaf)
           
 
Method Summary
 void start()
          Start the service.
 void stop()
           
 
Methods inherited from class ist.palcom.services.AbstractService
addNodeChild, addServiceProxyListener, addSubservice, connectionCreated, connectTo, disconnectFrom, getChildIterator, getConnectionForURN, getConnections, getFuncFunc, getNodeName, getNodeParent, getNumberOfSubservices, getPath, getRemoteServiceProxy, getSelfTester, getSelfTestService, getServiceInfo, getServiceProxy, getSiblingFunc, getSubservice, getValueFunc, hasChildNamed, isAncestorOf, remoteServiceProxyIterator, removeNodeChild, removeServiceProxyListener, sendToAll, setName, setNodeName, setNodeParent, setServiceProxy, setURN, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath, waitUntilNumberOfConnectionsIs
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

SlideShowService

public SlideShowService(DeviceContext context,
                        URNLeaf urnLeaf)
                 throws IOException
Throws:
IOException
Method Detail

start

public void start()
           throws IOException
Description copied from class: AbstractService
Start the service. The URN must be set before calling this method (through a constructor, or through a call to the setURN method). If the service is started already, nothing happens. The DiscoveryManager will be updated with info about the service.

Overrides:
start in class AbstractService
Throws:
IOException

stop

public void stop()
          throws IOException
Overrides:
stop in class AbstractService
Throws:
IOException