ist.palcom.visualization
Class AbstractAccompliceService
java.lang.Object
ist.palcom.services.AbstractService
ist.palcom.visualization.AbstractAccompliceService
- All Implemented Interfaces:
- Service, IHgraphNode, MirrorInCallback, MirrorOutCallback
- Direct Known Subclasses:
- PalOverviewBrowserAccompliceService
public abstract class AbstractAccompliceService
- extends AbstractService
- implements MirrorInCallback, MirrorOutCallback
| 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 |
| Methods inherited from class ist.palcom.services.AbstractService |
addNodeChild, addServiceProxyListener, connectionClosed, connectionCreated, connectTo, disconnectFrom, getChildIterator, getConnections, getFuncFunc, getNodeName, getNodeParent, getPath, getRemoteServiceProxy, getSelector, getServiceInfo, getServiceInstanceID, getServiceProxy, getSiblingFunc, getValueFunc, hasChildNamed, isAncestorOf, remoteServiceProxyIterator, removeNodeChild, removeServiceProxyListener, sendToAll, setGroupID, setLocalSID, setName, setNodeName, setNodeParent, setServiceInstanceID, setServiceProxy, setStatus, setTopic, toXML, toXMLFull, toXMLFullRecursively, toXMLRecursively, updatePath |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MIRRORNODE_NAME
public static final java.lang.String MIRRORNODE_NAME
- See Also:
- Constant Field Values
accompliceInCommandName
protected java.lang.String accompliceInCommandName
accompliceOutCommandName
protected java.lang.String accompliceOutCommandName
mirrorNode
protected MirrorNode mirrorNode
typeManager
protected TypeManager typeManager
AbstractAccompliceService
public AbstractAccompliceService(java.lang.String name,
java.lang.String accompliceInCommandName,
java.lang.String accompliceOutCommandName,
DeviceContext context)
throws java.io.IOException
- Throws:
java.io.IOException
getServiceID
public ServiceID getServiceID()
- Specified by:
getServiceID in class AbstractService
- Returns:
- the ServiceID of the service.
setCheat
public void setCheat(DisplayService cheat)
cheat
public void cheat(java.lang.String sender,
java.lang.String recipient,
java.lang.String command,
java.lang.String path,
java.lang.String data)
getUID
protected java.lang.String getUID()
addToServiceProxy
public void addToServiceProxy(Command newCommand)
mirrorIn
public void mirrorIn(HgraphEvent event)
- Specified by:
mirrorIn in interface MirrorInCallback
mirrorOut
public void mirrorOut(Path path,
java.lang.String command,
Value value)
- Specified by:
mirrorOut in interface MirrorOutCallback
start
public void start()
throws java.io.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:
java.io.IOException
stop
public void stop()
- Overrides:
stop in class AbstractService