DOFConnectionConfigBuilderUnsecureMulticastsetUnicastAddress Method OpenDOF Object Access Library
Set the unicastAddress to be used by createPeerConnection(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, createPeerConnection(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 ucastAddress and mcastAddress parameters you will need to call createConnection. If that is not your use case, then just call createPeerConnection(DOF, DOFAddress, DOFAddress) .

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

C#
public DOFConnectionConfigBuilderUnsecureMulticast setUnicastAddress(
	DOFAddress ucastAddress
)

Parameters

ucastAddress
Type: org.opendof.core.oalDOFAddress
The unicastAddress.

Return Value

Type: DOFConnectionConfigBuilderUnsecureMulticast
The builder.
See Also

Reference