Class OpenDDSConfiguration
- java.lang.Object
-
- org.mases.datadistributionmanager.BaseConfiguration
-
- org.mases.datadistributionmanager.GlobalConfiguration
-
- org.mases.datadistributionmanager.CommonConfiguration
-
- org.mases.datadistributionmanager.configuration.OpenDDSConfiguration
-
- All Implemented Interfaces:
IConfiguration
- Direct Known Subclasses:
OpenDDSChannelConfiguration
public class OpenDDSConfiguration extends CommonConfiguration
The configuration class for OpenDDS
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
OpenDDSConfiguration.DCPSInfoRepoConfiguration
Class managing DCPSInfoRepoclass
OpenDDSConfiguration.OpenDDSArgsConfiguration
Class managing OpenDDSArgs
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DCPSDebugLevelKey
static java.lang.String
DomainIdKey
-
Fields inherited from class org.mases.datadistributionmanager.CommonConfiguration
ChannelSeekTimeoutKey, CommitSyncKey, CommitTimeoutKey, ConsumerTimeoutKey, CreateChannelTimeoutKey, EventSyncKey, InitialOffsetKey, KeepAliveTimeoutKey, ProducerTimeoutKey, ReceiveTimeoutKey
-
Fields inherited from class org.mases.datadistributionmanager.GlobalConfiguration
GlobalLogLevelKey, MastershipLibraryKey, MaxMessageSizeKey, ProtocolKey, ProtocolLibraryKey, ServerLostTimeoutKey
-
-
Constructor Summary
Constructors Constructor Description OpenDDSConfiguration()
Initialize a new instance ofOpenDDSConfiguration
OpenDDSConfiguration(IConfiguration originalConf)
Duplicates a configuration
-
Method Summary
-
Methods inherited from class org.mases.datadistributionmanager.CommonConfiguration
getChannelSeekTimeout, getCommitSync, getCommitTimeout, getConsumerTimeout, getCreateChannelTimeout, getEventSync, getInitialOffset, getKeepAliveTimeout, getProducerTimeout, getReceiveTimeout, setChannelSeekTimeout, setCommitSync, setCommitTimeout, setConsumerTimeout, setCreateChannelTimeout, setEventSync, setInitialOffset, setKeepAliveTimeout, setProducerTimeout, setReceiveTimeout
-
Methods inherited from class org.mases.datadistributionmanager.GlobalConfiguration
getGlobalLogLevel, getMastershipLibrary, getMaxMessageSize, getProtocol, getProtocolLibrary, getServerLostTimeout, setGlobalLogLevel, setMastershipLibrary, setMaxMessageSize, setProtocol, setProtocolLibrary, setServerLostTimeout
-
-
-
-
Field Detail
-
DomainIdKey
public static final java.lang.String DomainIdKey
- See Also:
- Constant Field Values
-
DCPSDebugLevelKey
public static final java.lang.String DCPSDebugLevelKey
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OpenDDSConfiguration
public OpenDDSConfiguration()
Initialize a new instance ofOpenDDSConfiguration
-
OpenDDSConfiguration
public OpenDDSConfiguration(IConfiguration originalConf)
Duplicates a configuration- Parameters:
originalConf
-IConfiguration
to duplicate
-
-
Method Detail
-
getDomainId
public java.lang.Integer getDomainId()
The domain id parameter to initialize OpenDDS- Returns:
- The domain id parameter to initialize OpenDDS
-
setDomainId
public void setDomainId(java.lang.Integer value)
The domain id parameter to initialize OpenDDS- Parameters:
value
- The domain id parameter to initialize OpenDDS
-
getDCPSDebugLevel
public java.lang.Integer getDCPSDebugLevel()
Logging verbosity level.- Returns:
- Logging verbosity level.
-
setDCPSDebugLevel
public void setDCPSDebugLevel(java.lang.Integer value)
Logging verbosity level.- Parameters:
value
- Logging verbosity level.
-
getOpenDDSArgs
public OpenDDSConfiguration.OpenDDSArgsConfiguration getOpenDDSArgs()
The configuration ofOpenDDSConfiguration.OpenDDSArgsConfiguration
- Returns:
- The configuration of
OpenDDSConfiguration.OpenDDSArgsConfiguration
-
setOpenDDSArgs
public void setOpenDDSArgs(OpenDDSConfiguration.OpenDDSArgsConfiguration value)
The configuration ofOpenDDSConfiguration.OpenDDSArgsConfiguration
- Parameters:
value
- The configuration ofOpenDDSConfiguration.OpenDDSArgsConfiguration
-
getDCPSInfoRepo
public OpenDDSConfiguration.DCPSInfoRepoConfiguration getDCPSInfoRepo()
The configuration ofOpenDDSConfiguration.DCPSInfoRepoConfiguration
- Returns:
- The configuration of
OpenDDSConfiguration.DCPSInfoRepoConfiguration
-
setDCPSInfoRepo
public void setDCPSInfoRepo(OpenDDSConfiguration.DCPSInfoRepoConfiguration value)
The configuration ofOpenDDSConfiguration.DCPSInfoRepoConfiguration
- Parameters:
value
- The configuration ofOpenDDSConfiguration.DCPSInfoRepoConfiguration
-
getDomainParticipantQos
public DomainParticipantQosConfiguration getDomainParticipantQos()
The configuration ofDomainParticipantQosConfiguration
- Returns:
- The configuration of
DomainParticipantQosConfiguration
-
setDomainParticipantQos
public void setDomainParticipantQos(DomainParticipantQosConfiguration value)
The configuration ofDomainParticipantQosConfiguration
- Parameters:
value
- The configuration ofDomainParticipantQosConfiguration
-
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
-
-