DOFConnectionConfigBuilder Constructor (DOFConnectionConfig)OpenDOF Object Access Library
Construct a new builder based on another configuration.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public Builder(
	DOFConnectionConfig config
)

Parameters

config
Type: org.opendof.core.oalDOFConnectionConfig
The existing configuration. Must not be null.
Remarks

Construct a new builder based on another configuration. This allows a new configuration to be created based on another.

This constructor is useful when you have a config and you just need to change part of it, like this:

newConfig = new DOFConnection.Config.Builder(config)
.setConnectionType(DOFConnection.Type.STREAM)
.build();
Note that the name is not copied. Users must decide whether to set the name or not.
See Also

Reference