Package com.nt.udc.ei.node.soap
Class SoapXmlEIConfigData
java.lang.Object
com.nt.udc.ndk.gui.DCNodeConfigData
com.nt.udc.ei.node.soap.SoapXmlEIConfigData
- All Implemented Interfaces:
ConfigIfc
,Serializable
,Cloneable
Network Mediation
User: jwu
Date: Jan 20, 2005
Time: 4:42:43 PM
MetaSolv Software Inc.
- See Also:
-
Field Summary
Fields inherited from class com.nt.udc.ndk.gui.DCNodeConfigData
ASCODEBASE, BACKUP, BULKIO, configFiles, DATAFILESIZE, DEBUG, DEVICE_LIST_V1, dirtyFlag, EXPCHANOPERATOR, EXPCHANVALUE, EXPCHANVALUE2, FILELEVELTRANSACTION, INPUTMONTIME, INPUTMONTIMEUNIT, LOGFILESIZE, MONITORINPUT, NARBACKUP, NARBACKUPDAYS, nodeId, NUMCHANNELS, NUMEXPCHANVALUES, NUMEXPCHANVALUES2, PULLTIME, PUSHTIME, RECORDSTATS, ROUTING, ROUTINGATTRIBUTE, ruleName, rules, RULESFILE, secFileName, SECONDARYCFG, udcHome, useFile, varTable, VOIP_EI_SMDR
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor to be used by GUI to create a DCNodeConfigData with initial set of default valuesSoapXmlEIConfigData
(String inOSAHome, String inNodeId) Constructor to be used by NodeManager which is aware of the udcHome and nodeId -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getFtpConfigFilename
(String udcHome, String nodeId) Get ftp configuration file absolute pathbyte[]
Retrieves the soap-specific data in order to pass it to the Node Manager.Retrieves the path and name of the soap-specific configuration file.void
load()
Overridden to not only load the general configuration info but also the soap-specific parameters.void
save()
Write out the node configuration data to files.protected void
Not applicable.void
setSoapConfigData
(byte[] data) Stores the SOAP-specific parameters for use by the appropriate GUI panels.void
setSoapConfigFilename
(String path) Sets the path and name of the soap-specific config file.Methods inherited from class com.nt.udc.ndk.gui.DCNodeConfigData
addDeviceListPasswordToWallet, clone, defaultValue, deleteItem, equals, getBackupDir, getConfigDir, getConfigFile, getConfigFileNames, getDirty, getGenConfigFilePathName, getHomeDir, getItem, getNodeId, getPreferredRules, getPrefRulesFilePathName, getRuleClass, getRuleFilePathName, getRuleName, getRules, getSettingsKeys, getUseFile, load, readConfigFiles, readFile, setBaseDefaults, setConfigFile, setDirty, setHomeDir, setItem, setNodeId, setPreferredRules, setRuleClass, setRuleFileName, setRuleFilePathName, setRules, setRulesFromClass, setRulesFromClass, setRulesFromFile, setUseFile, toString, writeConfigFiles, writeDefaultFields, writeFile
-
Constructor Details
-
SoapXmlEIConfigData
public SoapXmlEIConfigData()Constructor to be used by GUI to create a DCNodeConfigData with initial set of default values -
SoapXmlEIConfigData
Constructor to be used by NodeManager which is aware of the udcHome and nodeId- Throws:
IOException
-
-
Method Details
-
getFtpConfigFilename
Get ftp configuration file absolute path- Parameters:
udcHome
- home directorynodeId
- id string- Returns:
- String representing ftp filename
-
setSoapConfigData
public void setSoapConfigData(byte[] data) Stores the SOAP-specific parameters for use by the appropriate GUI panels.- Parameters:
data
- Array of bytes representing the soap-specific data
-
getSoapConfigData
public byte[] getSoapConfigData()Retrieves the soap-specific data in order to pass it to the Node Manager.- Returns:
- Array of bytes representing the soap parameters
-
getSoapConfigFilename
Retrieves the path and name of the soap-specific configuration file.- Returns:
- String representing path and filename.
-
setSoapConfigFilename
Sets the path and name of the soap-specific config file.- Parameters:
path
- contains the path and filename
-
setDefaults
protected void setDefaults()Not applicable.- Overrides:
setDefaults
in classDCNodeConfigData
-
load
Overridden to not only load the general configuration info but also the soap-specific parameters.- Overrides:
load
in classDCNodeConfigData
- Throws:
IOException
- If either the general.cfg orruleName
file could not be read
-
save
Write out the node configuration data to files. Overridden to make sure we write the soap-specific parameters to a separate file.- Overrides:
save
in classDCNodeConfigData
- Throws:
IOException
- If the config directory does not exist, or either the general.cfg or rules.cfg file could not be written to
-