public class IOTArraySplitter extends SimpleManipulator
Modifier and Type | Class and Description |
---|---|
static class |
IOTArraySplitter.SplitterDataSource
This data source allows for an initialization of the value object interface and so
provides the ability for a subclass (eg PopupInitializer) to implement different
behavior whent he value is first set vs.
|
SimpleDataSource.NameEditorData
DataSource.Writable
cvsRev
UPDATE_DISPLAYED_VALUE, VALUE_INPUT
customTimer, EXPORT_READ_ONLY, EXPORT_READ_WRITE, NO_EXPORT, requiresSyncWrite, sharedTimer, syncWriteTimeout, timebase
autoSuspend, 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 |
---|
IOTArraySplitter()
Create and initialize the manipulator.
|
Modifier and Type | Method and Description |
---|---|
void |
arrayInput(ValueChangedEvent e)
Publish a incoming value object.
|
void |
destroy()
Also destroy the output data source.
|
java.lang.String |
getElementNames()
Returns the element names as a CSV
|
int |
getStaticLocationFor(java.lang.String method)
Check for "ArrayInput" otherwise pass through to super.
|
void |
setElementNames(java.lang.String elementNamesCSV)
Sets the outputs from the CSV string.
|
void |
start()
Also start the output data source.
|
void |
stop()
Also stop the output data source.
|
void |
update(ValueObjectInterface value)
Update the outputs from the event.
|
void |
update(ValueObjectInterface value,
long timeMillis)
Update the outputs from the event.
|
void |
valueChanged(int loc,
ValueChangedEvent e)
This is the default valuechanged with a location used by the staticmethodevent
to find a specific entry value object.
|
void |
valueInput(ValueChangedEvent event)
Update the outputs from the event.
|
getDefaultQualityForLocation
getInPortNames, setBooleanValue, setBoolValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString
addConnector, addConnector, addDataSource, addPropertyChangeListener, addValueChangedListener, addVetoableChangeListener, authenticatedClientRequest, clientRequest, 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, setContainer, setCustomTimer, setDataSourceName, setExportCriteria, setExposeComponentConnections, setName, setPullFromServers, setPushData, setPushName, setPushToServers, setScreenLocal, setServerListData, setTimebase, setTrace, setValueObject, tick, VIBEvent
addVIBEventListener, 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, init, 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, whoAmI
public IOTArraySplitter()
public void arrayInput(ValueChangedEvent e) throws VIBUpdateFailedException
e
- the change eventVIBUpdateFailedException
- thrown if updating AWS or connected servers fails.public void destroy() throws BadParameterException
destroy
in class SimpleDataSource
BadParameterException
SimpleDataSource.destroy()
public java.lang.String getElementNames()
public int getStaticLocationFor(java.lang.String method) throws BadParameterException
getStaticLocationFor
in class Manipulator
BadParameterException
public void setElementNames(java.lang.String elementNamesCSV)
numberOfElements
- the number of elementspublic void start() throws BadParameterException, VIBUpdateFailedException
start
in class SimpleDataSource
BadParameterException
VIBUpdateFailedException
SimpleDataSource.start()
public void stop() throws BadParameterException
stop
in class SimpleDataSource
BadParameterException
SimpleDataSource.stop()
public void update(ValueObjectInterface value) throws VIBUpdateFailedException
value
- the ValueObjectInterface containing the ArrayValueObjectVIBUpdateFailedException
public void update(ValueObjectInterface value, long timeMillis) throws VIBUpdateFailedException
value
- the ValueObjectInterface containing the ArrayValueObjecttimeMillis
- the time of the event that will be used as the timestamp for all the values that are updated.VIBUpdateFailedException
public void valueChanged(int loc, ValueChangedEvent e) throws VIBUpdateFailedException, BadParameterException
valueChanged
in class Manipulator
VIBUpdateFailedException
BadParameterException
public void valueInput(ValueChangedEvent event) throws VIBUpdateFailedException
valueInput
in class Manipulator
event
- the ValueChangedEvent containing the ArrayValueObjectVIBUpdateFailedException
Copyright © 1999-2025 ErgoTech Systems, Inc. All Rights Reserved.