Name

removeService

Synopsis

removeService uuid

Description

The removeService utility removes a specified service that has been registered using addService.

addService is used to register the UUID of instrument services for instruments with minimal ID-only PUCKs. When the instrument is plugged in, the SIAM node obtains the UUID. If the instrument has been registered using addService, the UUID may be used to find the appropriate instrument service content (e.g., JAR file).
The removeService utility un-registers the service/UUID.

Options

Option Description Values
uuid UUID (universally unique identifier) of the service to remove. e.g. 00000001-0002-0003-0004-000000000005

Example output:

removeService 00000001-0002-0003-0004-000000000005
Service with UUID '00000001-0002-0003-0004-000000000005' removed
		

Environment

The following environment variables must be set:

Variable Description Example
JAVA_HOME location of Java installation
/j9, /opt/java/jdk1.3.1, etc.
JAVA Path to JVM command For MMC
$JAVA_HOME/bin/j9

For Sun JVM (e.g. linux, win32, mac OS)
$JAVA_HOME/bin/java
SIAM_HOME top of the SIAM directory tree -
SIAM_CLASSPATH Path including all SIAM and supporting classes For MMC
$JAVA_HOME/lib/jclMax/classes.zip:$JAVA_HOME/lib/prsnlmot.jar:$JAVA_HOME/lib/RXTXcomm.jar:$SIAM_HOME/classes

For linux/win32
$SIAM_HOME/classes

See Also