Class OpenDDSConfiguration.OpenDDSArgsConfiguration
- java.lang.Object
-
- org.mases.datadistributionmanager.BaseConfiguration
-
- org.mases.datadistributionmanager.configuration.OpenDDSConfiguration.OpenDDSArgsConfiguration
-
- All Implemented Interfaces:
IConfiguration
- Enclosing class:
- OpenDDSConfiguration
public class OpenDDSConfiguration.OpenDDSArgsConfiguration extends BaseConfiguration
Class managing OpenDDSArgs
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCommandLineKeystatic java.lang.StringDCPSConfigFileKeystatic java.lang.StringDCPSTransportDebugLevelKey
-
Constructor Summary
Constructors Constructor Description OpenDDSArgsConfiguration()Initialize a new instance ofOpenDDSConfiguration.OpenDDSArgsConfigurationOpenDDSArgsConfiguration(java.lang.String dCPSConfigFile)Initialize a new instance ofOpenDDSConfiguration.OpenDDSArgsConfiguration
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCommandLine()java.lang.String[]getConfiguration()The configuration parameters to use written as key=valuejava.lang.StringgetDCPSConfigFile()The command line parameters of DCPSConfigFilejava.lang.IntegergetDCPSTransportDebugLevel()The command line parameters of DCPSTransportDebugLevelvoidsetCommandLine(java.lang.String commandline)The command line parameters to initialize OpenDDS (e.g.voidsetDCPSConfigFile(java.lang.String value)The command line parameters of DCPSConfigFilevoidsetDCPSTransportDebugLevel(java.lang.Integer value)The command line parameters of DCPSTransportDebugLevel
-
-
-
Field Detail
-
DCPSConfigFileKey
public static final java.lang.String DCPSConfigFileKey
- See Also:
- Constant Field Values
-
DCPSTransportDebugLevelKey
public static final java.lang.String DCPSTransportDebugLevelKey
- See Also:
- Constant Field Values
-
CommandLineKey
public static final java.lang.String CommandLineKey
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenDDSArgsConfiguration
public OpenDDSArgsConfiguration()
Initialize a new instance ofOpenDDSConfiguration.OpenDDSArgsConfiguration
-
OpenDDSArgsConfiguration
public OpenDDSArgsConfiguration(java.lang.String dCPSConfigFile)
Initialize a new instance ofOpenDDSConfiguration.OpenDDSArgsConfiguration- Parameters:
dCPSConfigFile- The command line parameters of DCPSConfigFile
-
-
Method Detail
-
getDCPSConfigFile
public java.lang.String getDCPSConfigFile()
The command line parameters of DCPSConfigFile- Returns:
- The command line parameters of DCPSConfigFile
-
setDCPSConfigFile
public void setDCPSConfigFile(java.lang.String value)
The command line parameters of DCPSConfigFile- Parameters:
value- The command line parameters of DCPSConfigFile
-
getDCPSTransportDebugLevel
public java.lang.Integer getDCPSTransportDebugLevel()
The command line parameters of DCPSTransportDebugLevel- Returns:
- The command line parameters of DCPSTransportDebugLevel
-
setDCPSTransportDebugLevel
public void setDCPSTransportDebugLevel(java.lang.Integer value)
The command line parameters of DCPSTransportDebugLevel- Parameters:
value- The command line parameters of DCPSTransportDebugLevel
-
getCommandLine
public java.lang.String getCommandLine()
- Returns:
- The command line parameters to initialize OpenDDS (e.g. -DCPSConfigFile dds_tcp_conf.ini -DCPSTransportDebugLevel 10)
-
setCommandLine
public void setCommandLine(java.lang.String commandline)
The command line parameters to initialize OpenDDS (e.g. -DCPSConfigFile dds_tcp_conf.ini -DCPSTransportDebugLevel 10)- Parameters:
commandline- The command line parameters to initialize OpenDDS (e.g. -DCPSConfigFile dds_tcp_conf.ini -DCPSTransportDebugLevel 10). Note: Set a value to null remove the property
-
getConfiguration
public java.lang.String[] getConfiguration() throws java.lang.IllegalArgumentExceptionDescription copied from interface:IConfigurationThe configuration parameters to use written as key=value- Specified by:
getConfigurationin interfaceIConfiguration- Overrides:
getConfigurationin classBaseConfiguration- Returns:
- an array of
Stringwith key=value pairs - Throws:
java.lang.IllegalArgumentException- if something was not right or compatible in the configuration properties
-
-