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.String
CommandLineKey
static java.lang.String
DCPSConfigFileKey
static java.lang.String
DCPSTransportDebugLevelKey
-
Constructor Summary
Constructors Constructor Description OpenDDSArgsConfiguration()
Initialize a new instance ofOpenDDSConfiguration.OpenDDSArgsConfiguration
OpenDDSArgsConfiguration(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.String
getCommandLine()
java.lang.String[]
getConfiguration()
The configuration parameters to use written as key=valuejava.lang.String
getDCPSConfigFile()
The command line parameters of DCPSConfigFilejava.lang.Integer
getDCPSTransportDebugLevel()
The command line parameters of DCPSTransportDebugLevelvoid
setCommandLine(java.lang.String commandline)
The command line parameters to initialize OpenDDS (e.g.void
setDCPSConfigFile(java.lang.String value)
The command line parameters of DCPSConfigFilevoid
setDCPSTransportDebugLevel(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.IllegalArgumentException
Description copied from interface:IConfiguration
The configuration parameters to use written as key=value- Specified by:
getConfiguration
in interfaceIConfiguration
- Overrides:
getConfiguration
in classBaseConfiguration
- Returns:
- an array of
String
with key=value pairs - Throws:
java.lang.IllegalArgumentException
- if something was not right or compatible in the configuration properties
-
-