public class DeviceManagerManipulator extends SimpleManipulator
SimpleDataSource.NameEditorDataDataSource.WritablecvsRevUPDATE_DISPLAYED_VALUE, VALUE_INPUTcustomTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebaseautoSuspend, AUTOSUSPEND_DEFAULT, AUTOSUSPEND_NEVER, AUTOSUSPEND_NO_LISTENERS, AUTOSUSPEND_NO_LISTENERS_AND_NO_SOURCES, colorHi, colorHiHi, colorLo, colorLoLo, colorNormal, connectors, consoleLogger, currentColor, currentValue, debugLevel, DEFAULT_AUTOSUSPEND, dontConnect, gwtLog, hardSuspended, popupLogger, PRIMARYOUTPORTNAME, sendColors, stopped, suspended, timedPopupLogger, traceLogger, valueHi, valueHiHi, valueLo, valueLoLo| Constructor and Description |
|---|
DeviceManagerManipulator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.LinkedHashMap<java.lang.String,java.lang.String> |
availableServers()
The list of possible sub-servers of this device.
|
ValueObjectInterface |
clientRequest(java.lang.String target,
java.lang.String request,
int requestId,
ValueObjectInterface value)
Overridden to allow for a DeviceInterface.PREPARE_SERVER and DeviceInterface.RELEASE_SERVER.
|
SimpleDataSource |
createServer(java.lang.String className,
java.lang.String serverName)
Create the server.
|
void |
deleteDevice()
This method indicates that this device is being removed and all servers associated with it should
be cleaned up an removed.
|
void |
deleteServer(SimpleDataSource server)
Delete the provided server.
|
void |
destroy()
Destroy all the servers.
|
void |
earlyStart()
Start all the servers that are set to not fire late.
|
SimpleDataSource[] |
getEditableServers()
Returns all the servers that are in the "serverContainer".
|
SimpleDataSource[] |
getPersistentServers()
Return servers that should be edited in a tree.
|
DataSourceContainer |
getServerContainer() |
SimpleDataSource[] |
getServers()
Return the list of servers that need to be persisted.
|
SimpleDataSource[] |
getServersInternal()
Return a list of all servers.
|
SimpleDataSource[] |
getViewServers()
Return view-only servers.
|
void |
init()
Init all the servers.
|
SimpleDataSource |
preparingServer(SimpleDataSource server)
An opportunity for a subclass to configure a server that is being prepared.
|
void |
setContainer(DataSourceContainer container)
Moves the server container to the new container.
|
void |
setName(java.lang.String name)
The name of the device.
|
void |
setServers(SimpleDataSource[] servers)
Adds all the servers to the server container.
|
void |
start()
Start all the servers.
|
void |
stop()
Stop all the servers.
|
getDefaultQualityForLocationgetInPortNames, getStaticLocationFor, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, valueChanged, valueInputaddConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientResponse, determineSuspendedStatus, getClassLicenseManager, getContainer, getCustomTimer, getDataSource, getDataSources, getDisplayName, getExportCriteria, getExposeComponentConnections, getName, getOutPortNames, getPullFromServers, getPushData, getPushName, getPushToServers, getServerListData, getTimebase, getTrace, isActive, isScreenLocal, refreshCurrentValue, removeConnector, removeDataSource, removePropertyChangeListener, removeValueChangedListener, removeVetoableChangeListener, requestSyncWrite, setAutoSuspend, setClassLicenseManager, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, tick, VIBEventaddVIBEventListener, checkScript, executeInScriptInternal, executeScript, executeScriptInternal, executeScriptInternal, getAutoSuspend, getBooleanValue, getBoolValue, getColorHi, getColorHiHi, getColorLo, getColorLoLo, getColorNormal, getConnectors, getConsoleLogger, getCurrentColor, getDataSourceName, getDoubleValue, getFloatValue, getGWTLogger, getIncomingValueObject, getInScript, getIntValue, getLongValue, getParent, getPopupLogger, getScript, getScriptEngine, getSendColors, getSources, getStringValue, getSyncWriteTimeout, getTimedPopupLogger, getTraceLogger, getValueHi, getValueHiHi, getValueLo, getValueLoLo, getValueObject, isHardSuspended, isRunning, isSendOnlyChangedValuesDefault, isSuspended, logException, logGWT, logGWT, logMessage, logTrace, n2sortConnectors, performScriptSubstitutions, popupMessage, post, removeConnector, removeVIBEventListener, replaceConnectors, scriptExtensionSubstition, setColorHi, setColorHiHi, setColorLo, setColorLoLo, setColorNormal, setConsoleLogger, setGWTLogger, setHardSuspended, setInScript, setParent, setPopupLogger, setScript, setSendColors, setSendOnlyChangedValuesDefault, setSyncWriteTimeout, setTimedPopupLogger, setTraceLogger, setValueHi, setValueHiHi, setValueLo, setValueLoLo, updateColor, updateListeners, updateListeners, updateListeners, whoAmIpublic java.util.LinkedHashMap<java.lang.String,java.lang.String> availableServers()
public ValueObjectInterface clientRequest(java.lang.String target, java.lang.String request, int requestId, ValueObjectInterface value) throws VIBUpdateFailedException, BadParameterException
clientRequest in class SimpleDataSourcerequest - the request string which is interpreted by any serverrequestId - the id of the request that should be returned in any response.value - the value associated with this request. This may be null.BadParameterExceptionVIBUpdateFailedException - thrown if the server cannot fulfil the request.com.ergotech.vib.servers.SimpleDataSource#clientRequest(java.lang.String, int, com.ergotech.vib.valueobjects.ValueObjectInterface)public SimpleDataSource createServer(java.lang.String className, java.lang.String serverName) throws BadParameterException
BadParameterExceptionpublic void deleteDevice()
public void deleteServer(SimpleDataSource server)
public void destroy()
throws BadParameterException
destroy in class SimpleDataSourceBadParameterExceptioncom.ergotech.vib.utils.LifeCycle#destroy()public void earlyStart()
throws BadParameterException,
VIBUpdateFailedException
BadParameterExceptionVIBUpdateFailedExceptioncom.ergotech.vib.utils.LifeCycle#start()public SimpleDataSource[] getEditableServers()
public SimpleDataSource[] getPersistentServers()
public DataSourceContainer getServerContainer()
public SimpleDataSource[] getServers()
public SimpleDataSource[] getServersInternal()
public SimpleDataSource[] getViewServers()
public void init()
throws BadParameterException
init in class DataSourceBadParameterExceptioncom.ergotech.vib.utils.LifeCycle#init()public SimpleDataSource preparingServer(SimpleDataSource server)
public void setContainer(DataSourceContainer container)
throws BadParameterException
setContainer in class SimpleDataSourcecontainer - The container to set.BadParameterExceptioncom.ergotech.vib.servers.SimpleDataSource#setContainer(com.ergotech.vib.utils.DataSourceContainer)public void setName(java.lang.String name)
throws BadParameterException
setName in class SimpleDataSourceBadParameterException#getTagNamepublic void setServers(SimpleDataSource[] servers)
public void start()
throws BadParameterException,
VIBUpdateFailedException
start in class SimpleDataSourceBadParameterExceptionVIBUpdateFailedExceptioncom.ergotech.vib.utils.LifeCycle#start()public void stop()
throws BadParameterException
stop in class SimpleDataSourceBadParameterExceptioncom.ergotech.vib.utils.LifeCycle#stop()Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.