This is a convenience method for creating the connection with the implied
Config
.
The connection is related to relevant servers for the purpose of a peer-to-peer network.
This type of connection can source requests and receive requests.
The unicastAddress and multicastAddress must have been set explicitly with
setUnicastAddress(DOFAddress)
and
setMulticastAddress(DOFAddress)
.
This method signature is only useful if you plan on calling it much later than the constructor and don't want to pass around the ucastAddress and mcastAddress
parameters you will need to call
createPeerConnection(DOF, DOFAddress, DOFAddress)
. If that is not your use case, then just call
createPeerConnection(DOF, DOFAddress, DOFAddress) or the 2 setters.
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public DOFConnection createPeerConnection( DOF dof )
Parameters
- dof
- Type: org.opendof.core.oalDOF
The DOF to use to create the connection.
Return Value
Type: DOFConnectionA DOFConnection using the builder's parameters.
See Also
Reference
BuilderUnsecureMulticast.createServer(DOF)