DOFConnectionConfigBuilderGroupcreateConnection Method (DOF, DOFAddress, DOFAddress)OpenDOF Object Access Library
This is a convenience method for creating the connection with the implied Config .

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

C#
public DOFConnection createConnection(
	DOF dof,
	DOFAddress ucastAddress,
	DOFAddress mcastAddress
)

Parameters

dof
Type: org.opendof.core.oalDOF
The DOF to use to create the connection.
ucastAddress
Type: org.opendof.core.oalDOFAddress
The address of the base unicast-DATAGRAM server. Usually, you will use this:
InetTransport.createAddress("0.0.0.0", 0)
mcastAddress
Type: org.opendof.core.oalDOFAddress
The address of the related multicast-DATAGRAM server. Usually, you will use this:
InetTransport.createAddress(InetTransport.DEFAULT_MULTICAST_ADDRESS_IPV4, InetTransport.DEFAULT_MULTICAST_PORT);

Return Value

Type: DOFConnection
A DOFConnection using the builder's parameters.
See Also

Reference