ist.palcom.services
Class DeviceDisplayAccompliceService

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

public class DeviceDisplayAccompliceService
extends AbstractService

This service listens for announced DeviceInfos and maintains a mirrorable h-map representation of these


Nested Class Summary
 class DeviceDisplayAccompliceService.DiscoveryListener
           
 
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
DeviceDisplayAccompliceService(DeviceContext context)
           
 
Method Summary
static HmapDir connectionInfo2GUIHmap(PRDConnection connInfo)
           
static HmapDir deviceInfo2guiHmap(PRDDevice deviceInfo)
           
static HmapDir[] serviceList2guiHmap(PRDServiceList serviceList)
           
 void start()
          Start the service.
 
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, stop, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath, waitUntilNumberOfConnectionsIs
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, println, toString
 

Constructor Detail

DeviceDisplayAccompliceService

public DeviceDisplayAccompliceService(DeviceContext context)
                               throws IOException
Throws:
IOException
Method Detail

start

public void start()
           throws IOException
Description copied from class: AbstractService
Start the service. The LocalSID must be set before calling this method (through a constructor, or through a call to the setLocalSID 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

connectionInfo2GUIHmap

public static HmapDir connectionInfo2GUIHmap(PRDConnection connInfo)

serviceList2guiHmap

public static HmapDir[] serviceList2guiHmap(PRDServiceList serviceList)

deviceInfo2guiHmap

public static HmapDir deviceInfo2guiHmap(PRDDevice deviceInfo)