public class VariableManagerImpl extends java.lang.Object implements VariableManager, ConfigurationFactory
FACTORY_ID| Constructor and Description |
|---|
VariableManagerImpl(java.util.concurrent.Executor executor,
|
| Modifier and Type | Method and Description |
|---|---|
void |
addVariableListener(java.lang.String type,
VariableListener listener) |
void |
delete(UserInformation userInformation,
java.lang.String configurationId)
receive configuration delete request
|
void |
dispose() |
protected java.lang.String[] |
makeArgs(java.lang.String[] toks,
int start) |
protected void |
parseType(java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Collection<org.eclipse.scada.da.server.common.memory.VariableManagerImpl.TypeEntry> result,
java.lang.String varName,
java.lang.String typeName,
java.lang.String[] args,
boolean attribute) |
void |
removeVariableListener(java.lang.String type,
VariableListener listener) |
void |
update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
receive configuration update
|
public VariableManagerImpl(java.util.concurrent.Executor executor,
itemPool)
public void dispose()
public void addVariableListener(java.lang.String type,
VariableListener listener)
addVariableListener in interface VariableManagerpublic void removeVariableListener(java.lang.String type,
VariableListener listener)
removeVariableListener in interface VariableManagerpublic void delete(UserInformation userInformation,
java.lang.String configurationId)
throws java.lang.Exception
ConfigurationFactorydelete in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changejava.lang.Exception - can be thrown if anything goes wrong changing the configurationpublic void update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> properties)
throws java.lang.Exception
ConfigurationFactoryupdate in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changeproperties - the new propertiesjava.lang.Exception - can be thrown if anything goes wrong changing the configurationprotected java.lang.String[] makeArgs(java.lang.String[] toks,
int start)
protected void parseType(java.util.Map<java.lang.String,java.lang.String> properties,
java.util.Collection<org.eclipse.scada.da.server.common.memory.VariableManagerImpl.TypeEntry> result,
java.lang.String varName,
java.lang.String typeName,
java.lang.String[] args,
boolean attribute)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0