DOFConnectionConfigBuilderPointsetHubAddress Method OpenDOF Object Access Library
Set the hubAddress to be used by createConnection(DOF) . This is a convenience so that you don't have to keep the address around until createConnection is called. The default is null, so if this method is not called, createConnection(DOF) will throw IllegalArgumentException.

This method is only useful if you plan on calling createConnection much later and don't want to pass around the hubAddress parameter you will need to call createConnection. If that is not your use case, then just call createConnection(DOF, DOFAddress) .

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

C#
public DOFConnectionConfigBuilderPoint setHubAddress(
	DOFAddress hubAddress
)

Parameters

hubAddress
Type: org.opendof.core.oalDOFAddress
The hubAddress.

Return Value

Type: DOFConnectionConfigBuilderPoint
The builder.
See Also

Reference