DOFsetConnectionLimit Method OpenDOF Object Access Library
Changes the maximum number of simultaneous connections the DOF supports.

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

C#
public void setConnectionLimit(
	int limit
)

Parameters

limit
Type: SystemInt32
The connection limit.
Remarks

Changes the maximum number of simultaneous connections the DOF supports. The value is originally set by using the default configuration or the Builder.setConnectionLimit(int) method. Use this method to change the original value.

Because this is a runtime change, the number of currently established connections may already exceed the value you set in this method. If this occurs, it will not cause the node to drop any existing connections; however, the node will be unable to initiate or accept any new connections until the total number of connections drops below the new maximum.

See the Builder method for more information.

See Also

Reference