DOFConfig ClassOpenDOF Object Access Library
The Config class specifies the initial configuration to use when creating a DOF.
Inheritance Hierarchy

SystemObject
  org.opendof.core.oalDOFConfig

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

C#
[SerializableAttribute]
public sealed class Config : DOFImmutable

The DOFConfig type exposes the following members.

Methods

  NameDescription
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodgetConnectionLimit
Gets the maximum number of connections that DOFs created from this DOF.Config will support.
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodgetName
Gets the name that will be given to DOFs created from this DOF.Config.
Public methodgetProtocolFactory
Gets the protocol factory that DOFs created from this DOF.Config will use.
Public methodgetRank
Get the node rank that DOFs created from this DOF.Config will have.
Public methodgetSourceID
Gets the identifier that DOFs created from this DOF.Config will use for operations in the unsecured domain.
Public methodgetThreadPoolSize
Gets the maximum number of threads that DOFs created from this DOF.Config will have in their thread pool.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodisParameterValidation
Checks whether DOFs created from this DOF.Config will validate DOFValue objects to verify that the associated DOFType matches a required type.
Public methodisRouter
Discovers whether DOFs created from this DOF.Config will have routing set to true.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields

  NameDescription
Public fieldStatic memberDEFAULT_RANK
A mid-range value (128), so that the default desire to manage a secure multicast group is neither strong nor weak.
Public fieldStatic memberDEFAULT_THREADPOOL_SIZE
Zero, which means the default is to allow the underlying operating system to manage the thread pool.
Top
Remarks

The Config class specifies the initial configuration to use when creating a DOF. To instantiate this class, you use methods of Builder to set configuration parameters, and call Builder.build() when you have finished setting the desired parameters. You then pass the instantiated Config to DOF.DOF(Config) to instantiate a DOF.

The fields in this class represent default values for a DOF's configuration.

The methods of this class are getters for the parameters set using DOF.Config.Builder. Use these getters to get information about a DOF.Config that may or may not have been used to instantiate a DOF. To instead get current information about a DOF instance, use the methods of State .

See Also

Reference